v50 Steam/Premium information for editors
- 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.
This notice may be cached—the current version can be found here.
Difference between revisions of "v0.34:Creature variation token"
Jump to navigation
Jump to search
m ({{text anchor}}) |
|||
Line 10: | Line 10: | ||
|- | |- | ||
− | | CV_NEW_TAG | + | | {{text anchor|CV_NEW_TAG}} |
| | | | ||
*token (plus any additional parameters) | *token (plus any additional parameters) | ||
Line 16: | Line 16: | ||
|- | |- | ||
− | | CV_ADD_TAG | + | | {{text anchor|CV_ADD_TAG}} |
| | | | ||
*token | *token | ||
Line 22: | Line 22: | ||
|- | |- | ||
− | | CV_REMOVE_TAG | + | | {{text anchor|CV_REMOVE_TAG}} |
| | | | ||
*token | *token | ||
Line 28: | Line 28: | ||
|- | |- | ||
− | | CV_CONVERT_TAG | + | | {{text anchor|CV_CONVERT_TAG}} |
| | | | ||
| Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. If a variation template contains multiple CV_CONVERT_TAG blocks for the same CVCT_MASTER, the replacements will be applied [http://bay12games.com/dwarves/mantisbt/view.php?id=6393#c24231 in reverse order]. | | Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. If a variation template contains multiple CV_CONVERT_TAG blocks for the same CVCT_MASTER, the replacements will be applied [http://bay12games.com/dwarves/mantisbt/view.php?id=6393#c24231 in reverse order]. | ||
|- | |- | ||
− | | CVCT_MASTER | + | | {{text anchor|CVCT_MASTER}} |
| | | | ||
*token | *token | ||
Line 39: | Line 39: | ||
|- | |- | ||
− | | CVCT_TARGET | + | | {{text anchor|CVCT_TARGET}} |
| | | | ||
*value | *value | ||
Line 45: | Line 45: | ||
|- | |- | ||
− | | CVCT_REPLACEMENT | + | | {{text anchor|CVCT_REPLACEMENT}} |
| | | | ||
*value | *value |
Revision as of 21:22, 7 December 2013
This article is about an older version of DF. |
Creature variations are used to create creatures which are derived from another already-existing creature without having to duplicate every single token. They are defined as CREATURE_VARIATION objects, and the default variations are defined in c_variation_default.txt
Token | Arguments | Description |
---|---|---|
CV_NEW_TAG |
|
Adds a new token to the creature's variant. |
CV_ADD_TAG |
|
Alias for CV_NEW_TAG |
CV_REMOVE_TAG |
|
Removes a token from the creature's variant. |
CV_CONVERT_TAG | Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. If a variation template contains multiple CV_CONVERT_TAG blocks for the same CVCT_MASTER, the replacements will be applied in reverse order. | |
CVCT_MASTER |
|
Specifies the token that will be modified. |
CVCT_TARGET |
|
Locates the specified parameter within the token specified by CVCT_MASTER. |
CVCT_REPLACEMENT |
|
Replaces the parameter specified by CVCT_TARGET within the token specified by CVCT_MASTER. If no replacement is specified, the target will simply be removed. |