Changes

Jump to navigation Jump to search
→‎Wishlist: move one to bug fixes
Line 5: Line 5:  
* ☐ <tt>Object.getOne</tt> doesn't copy the <tt>owner</tt> field, so it's not set correctly for most placed items.
 
* ☐ <tt>Object.getOne</tt> doesn't copy the <tt>owner</tt> field, so it's not set correctly for most placed items.
 
* ☐ <tt>TrashBear.updateItemWanted</tt> is hardcoded to assume <tt>Data\CookingRecipes</tt> field 2 is an item ID, but it can actually be an item ID and count like <tt>272 5</tt> (e.g. see <tt>CraftingRecipe</tt> constructor). That means it crashes if it randomly chooses a recipe with multiple outputs.
 
* ☐ <tt>TrashBear.updateItemWanted</tt> is hardcoded to assume <tt>Data\CookingRecipes</tt> field 2 is an item ID, but it can actually be an item ID and count like <tt>272 5</tt> (e.g. see <tt>CraftingRecipe</tt> constructor). That means it crashes if it randomly chooses a recipe with multiple outputs.
 +
* ☐ In <tt>HoeDirt.seasonUpdate</tt>, change <code>!this.isGreenhouseDirt.Value && base.currentLocation is not IslandLocation</code> to <code>!base.currentLocation.SeedsIgnoreSeasonsHere()</code> so fertilizer doesn't disappear in other locations that ignore seasons.
    
===Small changes===
 
===Small changes===
* ☐ In <tt>HoeDirt.seasonUpdate</tt>, change <code>!this.isGreenhouseDirt.Value && base.currentLocation is not IslandLocation</code> to <code>!base.currentLocation.SeedsIgnoreSeasonsHere()</code> so fertilizer doesn't disappear in other locations that ignore seasons.
   
* ☐ Add a <tt>Data/LocationNames</tt> asset or <tt>Data/Festivals/*</tt> field instead of hardcoding specific festival location names in <tt>performTenMinuteClockUpdate</tt> (search for <tt>Game1.cs.2634</tt>).
 
* ☐ Add a <tt>Data/LocationNames</tt> asset or <tt>Data/Festivals/*</tt> field instead of hardcoding specific festival location names in <tt>performTenMinuteClockUpdate</tt> (search for <tt>Game1.cs.2634</tt>).
 
* ☐ Change all remaining <code>internal class</code> and <code>private class</code> to <code>public class</code> to simplify mod access.
 
* ☐ Change all remaining <code>internal class</code> and <code>private class</code> to <code>public class</code> to simplify mod access.
translators
8,445

edits

Navigation menu