Changes

Jump to navigation Jump to search
→‎Greenhouse building: + how to migrate a custom farm map
Line 269: Line 269:     
===Greenhouse building===
 
===Greenhouse building===
Stardew Valley 1.5 changes the greenhouse into its own building that can be moved. The greenhouse sprites were moved out of <tt>Buildings/House</tt> into a new <tt>Buildings/Greenhouse</tt> asset.
+
Stardew Valley 1.5 changes the greenhouse into its own building that can be moved, and moves the greenhouse texture out of <tt>Buildings/House</tt> into a new <tt>Buildings/Greenhouse</tt> asset.
   −
Mods editing the farm map may also want to look at <tt>Maps/Farm_Greenhouse_Dirt</tt> and <tt>Maps/Farm_Greenhouse_Dirt_FourCorners</tt>. They patch the area where the greenhouse was originally when the save was created (even if using the new property to set greenhouse location, in this case the patch will patch the related area). This affects all vanilla farm map type except Beach map.
+
To update an older custom farm map:
 +
<ol>
 +
<li>Make sure all [[Modding:Maps#Custom tilesheet|custom tilesheet IDs have a <code>z_</code> prefix]].</li>
 +
<li>Make sure your farm has these tilesheets before any custom tilesheets, with the exact same IDs and order:
 +
{| class="wikitable"
 +
|-
 +
! farm type you replace
 +
! tilesheet ID
 +
! file in <tt>Contents/Maps</tt>
 +
|-
 +
| rowspan="2"| <code>Farm</code> (standard)<br /><code>Farm_Combat</code> (wilderness)<br /><code>Farm_Fishing</code> (riverlands)<br /><code>Farm_Foraging</code> (forest)<br /><code>Farm_FourCorners</code> (four corners)<br /><code>Farm_Mining</code> (hilltop)
 +
| <code>Paths</code>
 +
| <code>paths</code>
 +
|-
 +
| <code>untitled tile sheet</code>
 +
| <code>spring_outdoorsTileSheet</code>
 +
|-
 +
| rowspan="3"| <code>Farm_Island</code> (beach)
 +
| <code>p</code>
 +
| <code>paths</code>
 +
|-
 +
| <code>untitled tile sheet</code>
 +
| <code>spring_island_tilesheet_1</code>
 +
|-
 +
| <code>untitled tile sheet2</code>
 +
| <code>spring_outdoorsTileSheet</code>
 +
|}
 +
</li>
 +
<li>Remove all tiles on the building layer where the greenhouse was.</li>
 +
<li>Remove the <code>Action: WarpGreenhouse</code> tile property from the building layer where the greenhouse door was.</li>
 +
<li>Add a <code>GreenhouseLocation</code> [[Modding:Maps#Map properties|map property]], with the value set to the top-left tile of your greenhouse position (like <code>24 9</code>).</li>
 +
<li>In rare cases, you may want to edit <tt>Maps/Farm_Greenhouse_Dirt</tt> or <tt>Maps/Farm_Greenhouse_Dirt_FourCorners</tt>. They patch the area where the greenhouse was originally when the save was created (even if using the new property to set greenhouse location, in this case the patch will patch the related area). This affects all vanilla farm map type except Beach map.</li>
 +
</ol>
    
===Bed changes===
 
===Bed changes===
translators
8,445

edits

Navigation menu