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.
Editing v0.34:Interaction token
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 37: | Line 37: | ||
| Within I_SOURCE | | Within I_SOURCE | ||
| text | | text | ||
− | | Describes what the interaction did to a historical figure. Displayed after the name of the historical figure that was | + | | Describes what the interaction did to a historical figure. Displayed after the name of the historical figure that was targetted by the interaction. |
[IS_HIST_STRING_2: to assume the form of a lizard-like monster every full moon] | [IS_HIST_STRING_2: to assume the form of a lizard-like monster every full moon] | ||
Line 45: | Line 45: | ||
| Within I_SOURCE | | Within I_SOURCE | ||
| Number | | Number | ||
− | | | + | | ? |
|- | |- | ||
Line 73: | Line 73: | ||
| Within I_SOURCE:SECRET | | Within I_SOURCE:SECRET | ||
| [[Sphere]] | | [[Sphere]] | ||
− | | Indicates the sphere to which this secret pertains. | + | | Indicates the sphere to which this secret pertains. |
|- | |- | ||
Line 90: | Line 90: | ||
* MUNDANE_RESEARCH_POSSIBLE - the secret can be researched by mundane means | * MUNDANE_RESEARCH_POSSIBLE - the secret can be researched by mundane means | ||
* MUNDANE_TEACHING_POSSIBLE - the secret can be taught to apprentices | * MUNDANE_TEACHING_POSSIBLE - the secret can be taught to apprentices | ||
− | * MUNDANE_RECORDING_POSSIBLE:objects/text/(book_title).txt:objects/text/(book_topic).txt - the secret can be written in books with the specified title. | + | * MUNDANE_RECORDING_POSSIBLE:objects/text/(book_title).txt:objects/text/(book_topic).txt - the secret can be written in books with the specified title. |
+ | |||
|- | |- | ||
| IS_USAGE_HINT | | IS_USAGE_HINT | ||
| Within I_SOURCE:DEITY | | Within I_SOURCE:DEITY | ||
| Usage Hint token | | Usage Hint token | ||
− | | Indicates why a deity would choose to perform this interaction. See CDI:USAGE_HINT below for valid values - in this | + | | Indicates why a deity would choose to perform this interaction. See CDI:USAGE_HINT below for valid values - in this content, MAJOR_CURSE is the only value that makes sense. |
|- | |- | ||
Line 102: | Line 103: | ||
| id, type | | id, type | ||
| Specifies what things this interaction acts upon. Can be specified multiple times. Valid values: | | Specifies what things this interaction acts upon. Can be specified multiple times. Valid values: | ||
− | * CORPSE | + | * CORPSE |
* CREATURE | * CREATURE | ||
* MATERIAL | * MATERIAL | ||
Line 112: | Line 113: | ||
| Location | | Location | ||
| Narrows down exactly what the interaction targets. Valid values: | | Narrows down exactly what the interaction targets. Valid values: | ||
− | * CONTEXT_REGION | + | * CONTEXT_REGION |
* CONTEXT_CREATURE | * CONTEXT_CREATURE | ||
− | * CONTEXT_ITEM | + | * CONTEXT_ITEM |
* CONTEXT_BP - Use body part from CDI:BP_REQUIRED token (below). | * CONTEXT_BP - Use body part from CDI:BP_REQUIRED token (below). | ||
* CONTEXT_LOCATION | * CONTEXT_LOCATION | ||
Line 127: | Line 128: | ||
| IT_AFFECTED_CREATURE | | IT_AFFECTED_CREATURE | ||
| Within I_TARGET:CORPSE or I_TARGET:CREATURE | | Within I_TARGET:CORPSE or I_TARGET:CREATURE | ||
− | | | + | | ? |
| Specifies specific creatures the interaction can target. | | Specifies specific creatures the interaction can target. | ||
Line 139: | Line 140: | ||
| IT_IMMUNE_CREATURE | | IT_IMMUNE_CREATURE | ||
| Within I_TARGET:CORPSE or I_TARGET:CREATURE | | Within I_TARGET:CORPSE or I_TARGET:CREATURE | ||
− | | | + | | ? |
| Specifies specific creatures the interaction cannot target. | | Specifies specific creatures the interaction cannot target. | ||
Line 153: | Line 154: | ||
| Creature token or property | | Creature token or property | ||
| Indicates that the target must have the specified property. Valid values: | | Indicates that the target must have the specified property. Valid values: | ||
− | * FIT_FOR_ANIMATION | + | * FIT_FOR_ANIMATION |
− | * FIT_FOR_RESURRECTION | + | * FIT_FOR_RESURRECTION |
* HAS_BLOOD | * HAS_BLOOD | ||
* MORTAL | * MORTAL | ||
* NO_AGING | * NO_AGING | ||
* STERILE | * STERILE | ||
− | * Creature token: BLOODSUCKER, CAN_LEARN, CAN_SPEAK, CRAZED, EXTRAVISION, | + | * Creature token: BLOODSUCKER, CAN_LEARN, CAN_SPEAK, CRAZED, EXTRAVISION, LIKESFIGHTING, MISCHIEVIOUS / MISCHIEVOUS, NO_CONNECTIONS_FOR_MOVEMENT, NO_DIZZINESS, NO_DRINK, NO_EAT, NO_FEVERS, NO_PHYS_ATT_GAIN, NO_PHYS_ATT_RUST, NO_SLEEP, NO_THOUGHT_CENTER_FOR_MOVEMENT, NOBREATHE, NOEMOTION, NOEXERT, NOFEAR, NONAUSEA, NOPAIN, NOSTUN, NOT_LIVING, NOTHOUGHT, OPPOSED_TO_LIFE, PARALYZEIMMUNE, SUPERNATURAL, TRANCES, UTTERANCES |
|- | |- | ||
Line 171: | Line 172: | ||
| Within I_TARGET:CORPSE or I_TARGET:CREATURE | | Within I_TARGET:CORPSE or I_TARGET:CREATURE | ||
| | | | ||
− | | Prevents the interaction from | + | | Prevents the interaction from targetting a creature that's already under the effect of the same interaction. |
|- | |- | ||
Line 177: | Line 178: | ||
| Within I_TARGET:CORPSE or I_TARGET:CREATURE | | Within I_TARGET:CORPSE or I_TARGET:CREATURE | ||
| [[Syndrome]] class | | [[Syndrome]] class | ||
− | | Prevents the interaction from | + | | Prevents the interaction from targetting a creature under the effects of a syndrome having the specified SYN_CLASS value. |
|- | |- | ||
Line 193: | Line 194: | ||
| type | | type | ||
| Specifies what the interaction does to the targets. Can be specified multiple times. Valid values: | | Specifies what the interaction does to the targets. Can be specified multiple times. Valid values: | ||
− | * ANIMATE | + | * ANIMATE |
− | * RESURRECT | + | * RESURRECT |
− | * ADD_SYNDROME | + | * ADD_SYNDROME |
− | * CLEAN | + | * CLEAN |
− | * HIDE | + | * HIDE |
− | * CONTACT | + | * CONTACT |
− | * MATERIAL_EMISSION | + | * MATERIAL_EMISSION |
|- | |- | ||
Line 235: | Line 236: | ||
| text | | text | ||
| Allows the interaction to be applied to newly spawned creatures in Arena mode. | | Allows the interaction to be applied to newly spawned creatures in Arena mode. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 274: | Line 263: | ||
| TARGET | | TARGET | ||
| target ID, target types | | target ID, target types | ||
− | | Specifies how the creature chooses what to . Target ID refers to an I_TARGET defined in the interaction itself. Multiple target types can be specified. | + | | Specifies how the creature chooses what to . Target ID refers to an I_TARGET defined in the interaction itself. Multiple target types can be specified. Valid target types: |
* LINE_OF_SIGHT - the source needs to be able to see the target | * LINE_OF_SIGHT - the source needs to be able to see the target | ||
* TOUCHABLE - the source needs to be able to touch the target | * TOUCHABLE - the source needs to be able to touch the target | ||
Line 288: | Line 277: | ||
|- | |- | ||
| LOCATION_HINT | | LOCATION_HINT | ||
− | | Location Hint (see | + | | Location Hint (see avove) |
| ? | | ? | ||
Line 294: | Line 283: | ||
| USAGE_HINT | | USAGE_HINT | ||
| Usage hint token | | Usage hint token | ||
− | | Indicates | + | | Indicates how the interaction is to be used. Valid values: |
− | * MAJOR_CURSE | + | * MAJOR_CURSE |
− | * GREETING | + | * GREETING |
− | * CLEAN_SELF | + | * CLEAN_SELF |
− | * CLEAN_FRIEND | + | * CLEAN_FRIEND |
− | * ATTACK | + | * ATTACK |
− | * FLEEING | + | * FLEEING |
|- | |- | ||
Line 320: | Line 309: | ||
| VERBAL | | VERBAL | ||
| | | | ||
− | | | + | | When the creature performs the interaction, they will speak a line of text to their target. |
|- | |- | ||
Line 330: | Line 319: | ||
| CAN_BE_MUTUAL | | CAN_BE_MUTUAL | ||
| | | | ||
− | | | + | | ? |
|- | |- | ||
Line 339: | Line 328: | ||
|- | |- | ||
| VERB | | VERB | ||
− | | self:other: | + | | self:other:? |
| When a creature uses the interaction, a message will display, describing the source as doing this. | | When a creature uses the interaction, a message will display, describing the source as doing this. | ||
Line 349: | Line 338: | ||
|- | |- | ||
| TARGET_VERB | | TARGET_VERB | ||
− | | | + | | plural:singular |
| When a creature uses the interaction, a message will display, describing the target as doing this. | | When a creature uses the interaction, a message will display, describing the target as doing this. | ||
Line 359: | Line 348: | ||
|- | |- | ||
| FLOW | | FLOW | ||
− | + | | Breath attack token | |
| Causes the interaction to create an effect not made of any material. Only makes sense for FIREBALL, FIREJET, or DRAGONFIRE. | | Causes the interaction to create an effect not made of any material. Only makes sense for FIREBALL, FIREJET, or DRAGONFIRE. | ||