Changes

Jump to navigation Jump to search
→‎Changes for all mods: + trigger action changes
Line 204: Line 204:  
===[[Modding:Items#Tools|Tool data]] changes===
 
===[[Modding:Items#Tools|Tool data]] changes===
 
In <samp>Data/Tools</samp>, the <samp>ApplyUpgradeLevelToDisplayName</samp> field no longer exists. Every tool now has its own name instead (see ''[[#Translation changes|translation changes]]'').
 
In <samp>Data/Tools</samp>, the <samp>ApplyUpgradeLevelToDisplayName</samp> field no longer exists. Every tool now has its own name instead (see ''[[#Translation changes|translation changes]]'').
 +
 +
===[[Modding:Trigger actions|Trigger action]] changes===
 +
1.6.9 adds a new field in <samp>Data/TriggerActions</samp>:
 +
{| class="wikitable"
 +
|-
 +
! field
 +
! effect
 +
|-
 +
| <samp>SkipPermanentlyCondition</samp>
 +
| ''(Optional)'' If set, a [[Modding:Game state queries|game state query]] which indicates that the action should be marked applied when this condition matches. This happens before <samp>Condition</samp>, <samp>Action</samp>, and <samp>Actions</samp> are applied.
 +
 +
This mainly allows optimizing cases where the action will never be applied, to avoid parsing the <samp>Condition</samp> each time.
 +
|}
    
==Changes for C# mods==
 
==Changes for C# mods==
manager
8,549

edits

Navigation menu