- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
DF2014 Talk:Creature token
+ | This talk page has been created by request by 178.167.254.128 (talk | contribs).
To remove this message, delete the |
APPLY_CREATURE_VARIATION versus APPLY_CURRENT_CREATURE_VARIATION
Based on testing, APPLY_CREATURE_VARIATION has instant effect (in reverse order, as noted elsewhere), whereas APPLY_CURRENT_CREATURE_VARIATION is used to manually apply any creature variation tags, such as CV_ADD_TAG or CV_REMOVE_TAG, that have been manually added to the creature definition instead of being defined in a creature variation. In other words, APPLY_CURRENT_CREATURE_VARIATION has no effect if you are simply using APPLY_CREATURE_VARIATION to load creature variations. Think of a creature variation defined in an OBJECT:CREATURE_VARIATION file as a "template", which is applied with APPLY_CREATURE_VARIATION. Think of a "current creature variation" as any manually-defined creature variations that have been added to the creature definition itself, which must be applied to the creature with APPLY_CURRENT_CREATURE_VARIATION after you have made all of the necessary modifications.
For example, the following is a use of APPLY_CREATURE_VARIATION, which takes instantaneous effect without any need for APPLY_CURRENT_CREATURE_VARIATION.:
[APPLY_CREATURE_VARIATION:REMOVE_STUB_ARMS]
This is an example of the use of APPLY_CURRENT_CREATURE_VARIATION: [COPY_TAGS_FROM:MY_CREATURE]
[CV_REMOVE_TAG:TISSUE_LAYER_UNDER] [TISSUE_LAYER_UNDER:BY_CATEGORY:BODY:GAS] [TISSUE_LAYER_UNDER:BY_CATEGORY:WING:GAS] [APPLY_CURRENT_CREATURE_VARIATION]