Line 2,627: |
Line 2,627: |
| <li>Dropped support for non-string map & tile properties. Properties set to <samp>bool</samp>, <samp>int</samp>, or <samp>float</samp> will be converted to <samp>string</samp> when the game loads them.</li> | | <li>Dropped support for non-string map & tile properties. Properties set to <samp>bool</samp>, <samp>int</samp>, or <samp>float</samp> will be converted to <samp>string</samp> when the game loads them.</li> |
| </ul> | | </ul> |
| + | |
| + | ===New context tags=== |
| + | 1.6 adds several new [[Modding:Items|item context tags]]: |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | ! context tag |
| + | ! effect |
| + | |- |
| + | | <samp>fish_legendary</samp> |
| + | | Marks the fish as a [[Fish#Legendary Fish|legendary fish]]. For example: it can't be caught again, shows an alternate sprite in the fishing minigame and a 'caught legendary fish' message after catching it, can't be added to a [[Fish Pond|fish pond]], etc. |
| + | |- |
| + | | <samp>fish_legendary_family</samp> |
| + | | Marks the fish as part of the [[Quests#Extended Family|legendary fish family]] for the fishing minigame. For example: requires [[Magic Bait|magic bait]], can't catch two at once, smaller bobber bar, 5× XP gain, etc. |
| + | |- |
| + | | <samp>not_placeable</samp><br /><samp>placeable</samp> |
| + | | Sets whether the item can be placed on the ground. |
| + | |- |
| + | | <samp>not_plantable_context_{{t|context ID}}</samp><br /><samp>not_plantable_location_{{t|location name}}</samp><br /><samp>plantable_context_{{t|context ID}}</samp><br /><samp>plantable_greenhouse</samp><br /><samp>plantable_location_{{t|location name}}</samp> |
| + | | See [[#Custom planting restrictions|''custom planting restrictions'']]. |
| + | |} |
| | | |
| ===Other changes=== | | ===Other changes=== |
Line 2,644: |
Line 2,665: |
| | Print the held item's display name and [[#Custom items|qualified item ID]]. | | | Print the held item's display name and [[#Custom items|qualified item ID]]. |
| |}</li> | | |}</li> |
− | <li>Added new [[Modding:Items|context tags]]:
| |
− | * <samp>placeable</samp> and <samp>not_placeable</samp>: sets whether the item can be placed on the ground.
| |
− | * <samp>fish_legendary</samp>: sets whether a fish is considered a [[Fish#Legendary Fish|legendary fish]]. For example: it can't be caught again, shows an alternate sprite in the fishing minigame and a 'caught legendary fish' message after catching it, can't be added to a [[Fish Pond|fish pond]], etc.
| |
− | * <samp>fish_legendary_family</samp>: sets whether a fish is part of the [[Quests#Extended Family|legendary fish family]] for the fishing minigame. For example: requires [[Magic Bait|magic bait]], can't catch two at once, smaller bobber bar, 5× XP gain, etc.
| |
− | * See [[#Custom planting restrictions|''custom planting restrictions'']].
| |
− | </li>
| |
| <li>The <samp>Object.performObjectDropInAction</samp> method now applies the <samp>probe</samp> argument much more consistently. This only affects method calls with <samp>probe: true</samp>.</li> | | <li>The <samp>Object.performObjectDropInAction</samp> method now applies the <samp>probe</samp> argument much more consistently. This only affects method calls with <samp>probe: true</samp>.</li> |
| <li>Added <samp>silence</samp> [[Modding:Audio|audio cue]]. This is different from <samp>none</samp> in that it suppresses both town music and ambient sounds.</li> | | <li>Added <samp>silence</samp> [[Modding:Audio|audio cue]]. This is different from <samp>none</samp> in that it suppresses both town music and ambient sounds.</li> |