Changes

Jump to navigation Jump to search
170 bytes added ,  02:44, 16 June 2021
→‎Map-specific requirements: rename to 'map-specific issues', + farmhouse Day/NightTiles issue
Line 1,011: Line 1,011:  
* Rename the tilesheet file to start with a dot (like <tt>.spring_town.png</tt>) and reference that. When SMAPI loads the map in-game, it'll automatically ignore the dot and look for <tt>spring_town.png</tt> in the local files or <tt>Content/Maps</tt> folder.
 
* Rename the tilesheet file to start with a dot (like <tt>.spring_town.png</tt>) and reference that. When SMAPI loads the map in-game, it'll automatically ignore the dot and look for <tt>spring_town.png</tt> in the local files or <tt>Content/Maps</tt> folder.
   −
===Map-specific requirements===
+
===Map-specific issues===
 
The game makes some assumptions about maps which may break for modded maps. These are the known issues:
 
The game makes some assumptions about maps which may break for modded maps. These are the known issues:
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,022: Line 1,022:  
* The farm's <tt>Paths</tt> layer must have at least one tile with index 22 (grass spawn). This is used to initialise the grass code when the save is loaded, even if no grass is spawned.<ref>The grass sound is set in <tt>Grass::loadSprite</tt>, which is called from <tt>GameLocation::loadObjects</tt> if the <tt>Paths</tt> layer has tile index 22. (The game spawns a grass for each such tile, and later removes them.)</ref>
 
* The farm's <tt>Paths</tt> layer must have at least one tile with index 22 (grass spawn). This is used to initialise the grass code when the save is loaded, even if no grass is spawned.<ref>The grass sound is set in <tt>Grass::loadSprite</tt>, which is called from <tt>GameLocation::loadObjects</tt> if the <tt>Paths</tt> layer has tile index 22. (The game spawns a grass for each such tile, and later removes them.)</ref>
 
|-
 
|-
| <tt>Maps/FarmHouse</tt>
+
| <tt>Maps/FarmHouse*</tt>
 
| &#32;
 
| &#32;
 
* The two bed tiles where the player can walk must have two properties: <tt>Bed T</tt> (used to decide if the player is in bed) and <tt>TouchAction Sleep</tt>.
 
* The two bed tiles where the player can walk must have two properties: <tt>Bed T</tt> (used to decide if the player is in bed) and <tt>TouchAction Sleep</tt>.
 
* Deleting or changing the wallpapers and floors will cause a game crash.
 
* Deleting or changing the wallpapers and floors will cause a game crash.
 +
* The <tt>DayTiles</tt> and <tt>NightTiles</tt> map properties are cleared when loading the spouse room, so custom values for those properties won't work for married players.
 
|-
 
|-
 
| <tt>Maps/SpouseRooms</tt>
 
| <tt>Maps/SpouseRooms</tt>
translators
8,445

edits

Navigation menu