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 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 | ||
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 274: | Line 275: | ||
| 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 289: | ||
|- | |- | ||
| LOCATION_HINT | | LOCATION_HINT | ||
− | | Location Hint (see | + | | Location Hint (see avove) |
| ? | | ? | ||
Line 294: | Line 295: | ||
| 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 321: | ||
| VERBAL | | VERBAL | ||
| | | | ||
− | | | + | | When the creature performs the interaction, they will speak a line of text to their target. |
|- | |- | ||
Line 349: | Line 350: | ||
|- | |- | ||
| 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 360: | ||
|- | |- | ||
| 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. | ||