Line 17: |
Line 17: |
| <ul> | | <ul> |
| <li>Various method signatures have changed, notably <tt>Item.canStackWith</tt>. In most cases just recompiling with fix those. (Don't forget to update the <tt>manifest.json</tt> version!)</li> | | <li>Various method signatures have changed, notably <tt>Item.canStackWith</tt>. In most cases just recompiling with fix those. (Don't forget to update the <tt>manifest.json</tt> version!)</li> |
− | <li>Field/method changes: | + | <li>Some notable field/method changes: |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
Line 44: |
Line 44: |
| | <tt>getCharacterFromName(string name, bool mustBeVillager)</tt> | | | <tt>getCharacterFromName(string name, bool mustBeVillager)</tt> |
| | The default for <tt>mustBeVillager</tt> changed from false to true, and added an overload to get a specific NPC type like <tt>Game1.getCharacterFromName<Pet>("petName", mustBeVillager: false)</tt>. | | | The default for <tt>mustBeVillager</tt> changed from false to true, and added an overload to get a specific NPC type like <tt>Game1.getCharacterFromName<Pet>("petName", mustBeVillager: false)</tt>. |
| + | |- |
| + | | <tt>Item</tt> |
| + | | <tt>getStack</tt> |
| + | | No longer exists; use <tt>Item.Stack</tt> instead. |
| + | |- |
| + | | <tt>Item</tt> |
| + | | <tt>addToStack</tt> |
| + | | Now takes an <tt>Item</tt> reference instead of stack count, but otherwise equivalent (i.e. it returns the remaining stack count but doesn't change the item passed in). |
| |- | | |- |
| | <tt>Pet</tt> | | | <tt>Pet</tt> |
Line 56: |
Line 64: |
| * Added ██████████. | | * Added ██████████. |
| * Added a <tt>GameLocation</tt> method to patch the location's map from another map file, and a method to force reload the map. | | * Added a <tt>GameLocation</tt> method to patch the location's map from another map file, and a method to force reload the map. |
− | * Added debug commands: <tt>addQuartz</tt>, <tt>addhour</tt>, <tt>addminute</tt>, <tt>allMailRead</tt>, <tt>animationPreviewTool</tt>/<tt>apt</tt>, <tt>changeWallet</tt> + <tt>mergeWallets</tt> + <tt>separateWallets</tt>, <tt>clear</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt> / <tt>██████████</tt>, <tt>██████████</tt> / <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>junimogoodbye</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>runmacro</tt>, <tt>██████████</tt>, <tt>██████████</tt> / <tt>trlt</tt>, <tt>trashCan</tt>. Removed <tt>emote</tt> and <tt>fillWithPlacedObject</tt>. | + | * Added debug commands: <tt>addQuartz</tt>, <tt>addhour</tt>, <tt>addminute</tt>, <tt>allMailRead</tt>, <tt>animationPreviewTool</tt>/<tt>apt</tt>, <tt>buff</tt> + <tt>clearBuffs</tt>, <tt>changeWallet</tt> + <tt>mergeWallets</tt> + <tt>separateWallets</tt>, <tt>clear</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt> / <tt>██████████</tt>, <tt>festival</tt>, <tt>██████████</tt> / <tt>██████████</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>junimogoodbye</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <t>pauseTime</tt>, <tt>runmacro</tt>, <tt>██████████</tt>, <tt>██████████</tt> / <tt>trlt</tt>, <tt>trashCan</tt>. Removed <tt>emote</tt> and <tt>fillWithPlacedObject</tt>. |
| * Added option for invisible NPCs gone from the game temporarily (<tt>NPC.IsInvisible</tt> and <tt>NPC.daysUntilNotInvisible</tt>). | | * Added option for invisible NPCs gone from the game temporarily (<tt>NPC.IsInvisible</tt> and <tt>NPC.daysUntilNotInvisible</tt>). |
| * Added option for temporarily invisible/passable placed items (<tt>Object.isTemporarilyInvisible</tt>). | | * Added option for temporarily invisible/passable placed items (<tt>Object.isTemporarilyInvisible</tt>). |
Line 79: |
Line 87: |
| * Event command changes: | | * Event command changes: |
| ** Added commands: <tt>bgColor</tt>, <tt>██████████</tt>, <tt>makeInvisible</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>money</tt>, <tt>██████████</tt> <tt>██████████</tt>, <tt>██████████</tt>. Added new event reward <tt>██████████</tt>. | | ** Added commands: <tt>bgColor</tt>, <tt>██████████</tt>, <tt>makeInvisible</tt>, <tt>██████████</tt>, <tt>██████████</tt>, <tt>money</tt>, <tt>██████████</tt> <tt>██████████</tt>, <tt>██████████</tt>. Added new event reward <tt>██████████</tt>. |
− | ** <tt>itemAboveHead</tt> now also accepts <tt>jukebox</tt> and <tt>samBoombox</tt> arguments argument. | + | ** <tt>itemAboveHead</tt> now also accepts <tt>██████████</tt> and <tt>██████████</tt> arguments argument. |
| ** ██████████. | | ** ██████████. |
| | | |
Line 367: |
Line 375: |
| | '''✘ broken''' | | | '''✘ broken''' |
| | | | | |
| + | |- |
| + | | <tt>Data/Locations</tt> |
| + | | ██████████ |
| + | | ✘ will remove changes |
| + | | ✓ mostly unaffected |
| |- | | |- |
| | <tt>Data/mail</tt> | | | <tt>Data/mail</tt> |
Line 406: |
Line 419: |
| | ██████████ | | | ██████████ |
| | '''✘ broken''' | | | '''✘ broken''' |
− | | | + | | ✓ mostly unaffected |
| |- | | |- |
| | <tt>Data/Events/Forest</tt> | | | <tt>Data/Events/Forest</tt> |
Line 497: |
Line 510: |
| | '''✘ broken''' | | | '''✘ broken''' |
| | ✘ may remove cosmetic changes | | | ✘ may remove cosmetic changes |
| + | |- |
| + | | <tt>Maps/Farm</tt> |
| + | | ██████████ |
| + | | ? |
| + | | ? |
| |- | | |- |
| | <tt>Maps/FarmHouse</tt><br /><tt>Maps/FarmHouse1_marriage</tt><br /><tt>Maps/FarmHouse2_marriage</tt> | | | <tt>Maps/FarmHouse</tt><br /><tt>Maps/FarmHouse1_marriage</tt><br /><tt>Maps/FarmHouse2_marriage</tt> |
Line 573: |
Line 591: |
| | ✓ mostly unaffected | | | ✓ mostly unaffected |
| |- | | |- |
− | | <tt>Maps/spring_outdoorsTileSheet</tt><br /><tt>spring_outdoorsTileSheet</tt> | + | | <tt>Maps/spring_outdoorsTileSheet</tt><br /><tt>spring_outdoorsTileSheet</tt><br /><tt>fall_outdoorsTileSheet</tt> |
| | ██████████ | | | ██████████ |
| | ✘ will remove changes | | | ✘ will remove changes |