Line 11: |
Line 11: |
| <ul> | | <ul> |
| <li>Various method signatures have changed, notably <samp>Item.canStackWith</samp>. In most cases just recompiling will fix those. (Don't forget to update the <samp>manifest.json</samp> version!)</li> | | <li>Various method signatures have changed, notably <samp>Item.canStackWith</samp>. In most cases just recompiling will fix those. (Don't forget to update the <samp>manifest.json</samp> version!)</li> |
− | <li>Location lookups (e.g. using <samp>Game1.getLocationFromName</samp>) are now cached to improve performance. When removing or replacing a location, make sure to remove it from the cache too using <samp>Game1.removeLocationFromLocationLookup</samp>.</li> | + | <li>Location lookups (''e.g.,'' using <samp>Game1.getLocationFromName</samp>) are now cached to improve performance. When removing or replacing a location, make sure to remove it from the cache too using <samp>Game1.removeLocationFromLocationLookup</samp>.</li> |
| <li>Some notable field/method changes: | | <li>Some notable field/method changes: |
| | | |
Line 50: |
Line 50: |
| | <samp>Item</samp> | | | <samp>Item</samp> |
| | <samp>addToStack</samp> | | | <samp>addToStack</samp> |
− | | Now takes an <samp>Item</samp> reference instead of stack count, but otherwise equivalent (i.e. it returns the remaining stack count but doesn't change the item passed in). | + | | Now takes an <samp>Item</samp> reference instead of stack count, but otherwise equivalent (''i.e.,'' it returns the remaining stack count but doesn't change the item passed in). |
| |- | | |- |
| | <samp>Pet</samp> | | | <samp>Pet</samp> |
Line 117: |
Line 117: |
| * Added macro support. Create a text file in the game folder like <samp>do_thing.txt</samp> with one chat debug command per line (like <samp>/seenmail ccMovieTheater</samp> or <samp>/warp Town 95 55</samp>), then enter <samp>debug rm do_thing</samp> to execute the commands. | | * Added macro support. Create a text file in the game folder like <samp>do_thing.txt</samp> with one chat debug command per line (like <samp>/seenmail ccMovieTheater</samp> or <samp>/warp Town 95 55</samp>), then enter <samp>debug rm do_thing</samp> to execute the commands. |
| * All debug command names are now case-insensitive. | | * All debug command names are now case-insensitive. |
− | * Many commands now allow partial matches (e.g. "Abig" will match "Abigail"). | + | * Many commands now allow partial matches (''e.g.,'' "Abig" will match "Abigail"). |
| * Added commands: | | * Added commands: |
| ** <samp>addHour</samp> | | ** <samp>addHour</samp> |
Line 200: |
Line 200: |
| * The display name field is now used in English for the <samp>Data/BigCraftablesInformation</samp> and <samp>Data/ObjectInformation</samp> assets. | | * The display name field is now used in English for the <samp>Data/BigCraftablesInformation</samp> and <samp>Data/ObjectInformation</samp> assets. |
| * Added various tilesheets for new content. | | * Added various tilesheets for new content. |
− | * Added cat/dog breeds. The <samp>Animals/cat</samp> and <samp>Animals/dog</samp> assets are for the base breeds, with two more assets each (e.g. <samp>Animals/cat1</samp>) for the other breeds. | + | * Added cat/dog breeds. The <samp>Animals/cat</samp> and <samp>Animals/dog</samp> assets are for the base breeds, with two more assets each (''e.g.,'' <samp>Animals/cat1</samp>) for the other breeds. |
| * Added an animation preview tool. This lets you preview player animations for your current character, optionally changing the hair/shirt/pants/gender. You can access it by entering <samp>debug animationPreviewTool</samp> or <samp>debug apt</samp> in the SMAPI console. | | * Added an animation preview tool. This lets you preview player animations for your current character, optionally changing the hair/shirt/pants/gender. You can access it by entering <samp>debug animationPreviewTool</samp> or <samp>debug apt</samp> in the SMAPI console. |
| * Added special after-wedding dialogue in <samp>Strings/StringsFromCSFiles</samp>, in the form <samp>{spouseName}_AfterWedding</samp>. | | * Added special after-wedding dialogue in <samp>Strings/StringsFromCSFiles</samp>, in the form <samp>{spouseName}_AfterWedding</samp>. |