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 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.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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 23: Line 23:
  
 
|-
 
|-
| {{text anchor|EXPERIMENT_ONLY}}
+
| {{text anchor|EXPERIMENT_ONLY}}{{version|0.47.01}}
 
| Global
 
| Global
 
|  
 
|  
Line 60: Line 60:
  
 
|-
 
|-
| {{text anchor|IS_TRIGGER_STRING}}
+
| {{text anchor|IS_TRIGGER_STRING}}{{version|0.47.01}}
 
| Within I_SOURCE
 
| Within I_SOURCE
 
| text
 
| text
Line 68: Line 68:
  
 
|-
 
|-
| {{text anchor|IS_TRIGGER_STRING_SECOND}}
+
| {{text anchor|IS_TRIGGER_STRING_SECOND}}{{version|0.47.01}}
 
| Within I_SOURCE
 
| Within I_SOURCE
 
| text
 
| text
Line 76: Line 76:
  
 
|-
 
|-
| {{text anchor|IS_TRIGGER_STRING_THIRD}}
+
| {{text anchor|IS_TRIGGER_STRING_THIRD}}{{version|0.47.01}}
 
| Within I_SOURCE
 
| Within I_SOURCE
 
| text
 
| text
Line 133: Line 133:
 
| 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 [[Interaction_token#USAGE_HINT|CDI:USAGE_HINT]] below for valid values - in this context, '''MINOR_BLESSING''', '''MEDIUM_BLESSING''', '''MINOR_CURSE''', '''MEDIUM_CURSE''', and '''MAJOR_CURSE''' are the only values that make sense.
+
| Indicates why a deity would choose to perform this interaction. See [[Interaction_token#USAGE_HINT|CDI:USAGE_HINT]] below for valid values - in this context, '''MINOR_BLESSING'''{{version|0.47.01}}, '''MEDIUM_BLESSING'''{{version|0.47.01}}, '''MINOR_CURSE'''{{version|0.47.01}}, '''MEDIUM_CURSE'''{{version|0.47.01}}, and '''MAJOR_CURSE''' are the only values that make sense.
  
 
|-
 
|-
Line 197: Line 197:
 
* '''CONTEXT_REGION''' - Can only be used by [[Interaction_token#I_SOURCE|[I_SOURCE:REGION]]] interactions.
 
* '''CONTEXT_REGION''' - Can only be used by [[Interaction_token#I_SOURCE|[I_SOURCE:REGION]]] interactions.
 
* '''CONTEXT_MATERIAL''' - Used with MATERIAL if you want an [[Interaction_token#I_EFFECT|[I_EFFECT:MATERIAL_EMISSION]]] to obtain the emission material/flow type from [[Interaction_token#MATERIAL|[CDI:MATERIAL]]] or [[Interaction_token#FLOW|[CDI:FLOW]]].
 
* '''CONTEXT_MATERIAL''' - Used with MATERIAL if you want an [[Interaction_token#I_EFFECT|[I_EFFECT:MATERIAL_EMISSION]]] to obtain the emission material/flow type from [[Interaction_token#MATERIAL|[CDI:MATERIAL]]] or [[Interaction_token#FLOW|[CDI:FLOW]]].
* '''RANDOM_NEARBY_LOCATION''' - Used with LOCATION. Targets a location from somewhere random within a number of squares from another LOCATION target specified by its target ID. For example, [I_TARGET:B:LOCATION] with [IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5] will randomly select a tile lying somewhere within a radius of 5 tiles from [I_TARGET:A:LOCATION]. A walkable path between the two locations must exist.
+
* '''RANDOM_NEARBY_LOCATION'''{{version|0.47.01}} - Used with LOCATION. Targets a location from somewhere random within a number of squares from another LOCATION target specified by its target ID. For example, [I_TARGET:B:LOCATION] with [IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5] will randomly select a tile lying somewhere within a radius of 5 tiles from [I_TARGET:A:LOCATION]. A walkable path between the two locations must exist.
  
 
|-
 
|-
Line 289: Line 289:
 
* '''HIDE''' - Allows the creature to [[Ambusher|hide]] even if another creature can see it.
 
* '''HIDE''' - Allows the creature to [[Ambusher|hide]] even if another creature can see it.
  
* '''CREATE_ITEM''' - Creates an item as described by {{token|IE_ITEM|in}} and {{token|IE_ITEM_QUALITY|in}}.
+
* '''CREATE_ITEM'''{{version|0.47.01}} - Creates an item as described by {{token|IE_ITEM|in}} and {{token|IE_ITEM_QUALITY|in}}.
  
* '''CHANGE_ITEM_QUALITY''' - Alters an item's quality level as indicated by either {{token|IE_CHANGE_QUALITY|in}} or {{token|IE_SET_QUALITY|in}}. When targeting a unit, all items equipped by that unit will be affected.
+
* '''CHANGE_ITEM_QUALITY'''{{version|0.47.01}} - Alters an item's quality level as indicated by either {{token|IE_CHANGE_QUALITY|in}} or {{token|IE_SET_QUALITY|in}}. When targeting a unit, all items equipped by that unit will be affected.
  
* '''SUMMON_UNIT''' - Creates a new unit at the target. The type of unit can either be specified using the {{token|CREATURE|in}} token, or made to be randomly selected as indicated by a variety of flag-based tokens: {{token|IE_CREATURE_FLAG|in}}, {{token|IE_FORBIDDEN_CREATURE_FLAG|in}}, {{token|IE_CREATURE_CASTE_FLAG|in}}, {{token|IE_FORBIDDEN_CREATURE_CASTE_FLAG|in}}, {{token|IE_HAVE_FAST_EFFORTLESS_GAIT_SPEED|in}} and/or {{token|IE_ALL_SLOW_EFFORTLESS_GAIT_SPEED|in}}. See also {{token|IE_TIME_RANGE|in}} and {{token|IE_MAKE_PET_IF_POSSIBLE|in}}.
+
* '''SUMMON_UNIT'''{{version|0.47.01}} - Creates a new unit at the target. The type of unit can either be specified using the {{token|CREATURE|in}} token, or made to be randomly selected as indicated by a variety of flag-based tokens: {{token|IE_CREATURE_FLAG|in}}, {{token|IE_FORBIDDEN_CREATURE_FLAG|in}}, {{token|IE_CREATURE_CASTE_FLAG|in}}, {{token|IE_FORBIDDEN_CREATURE_CASTE_FLAG|in}}, {{token|IE_HAVE_FAST_EFFORTLESS_GAIT_SPEED|in}} and/or {{token|IE_ALL_SLOW_EFFORTLESS_GAIT_SPEED|in}}. See also {{token|IE_TIME_RANGE|in}} and {{token|IE_MAKE_PET_IF_POSSIBLE|in}}.
  
* '''PROPEL_UNIT''' - Applies a force specified using {{token|IE_PROPEL_FORCE|in}} to a unit to knock it back.
+
* '''PROPEL_UNIT'''{{version|0.47.01}} - Applies a force specified using {{token|IE_PROPEL_FORCE|in}} to a unit to knock it back.
  
* '''CHANGE_WEATHER''' - Changes the weather as specified by {{token|IE_ADD_WEATHER|in}} and/or {{token|IE_REMOVE_WEATHER|in}}.
+
* '''CHANGE_WEATHER'''{{version|0.47.01}} - Changes the weather as specified by {{token|IE_ADD_WEATHER|in}} and/or {{token|IE_REMOVE_WEATHER|in}}.
  
* '''RAISE_GHOST''' - Present in version 0.47.01 and accepted as a valid I_EFFECT token, but does not have an effect currently.
+
* '''RAISE_GHOST'''{{version|0.47.01}} - Present in version 0.47.01 and accepted as a valid I_EFFECT token, but does not have an effect currently.
  
 
|-
 
|-
Line 345: Line 345:
  
 
|-
 
|-
| {{text anchor|IE_ADD_WEATHER}}
+
| {{text anchor|IE_ADD_WEATHER}}{{version|0.47.01}}
 
| Within I_EFFECT:CHANGE_WEATHER
 
| Within I_EFFECT:CHANGE_WEATHER
 
| type
 
| type
Line 364: Line 364:
  
 
|-
 
|-
| {{text anchor|IE_REMOVE_WEATHER}}
+
| {{text anchor|IE_REMOVE_WEATHER}}{{version|0.47.01}}
 
| Within I_EFFECT:CHANGE_WEATHER
 
| Within I_EFFECT:CHANGE_WEATHER
 
| type
 
| type
Line 382: Line 382:
  
 
|-
 
|-
| {{text anchor|IE_PROPEL_FORCE}}
+
| {{text anchor|IE_PROPEL_FORCE}}{{version|0.47.01}}
 
| Within I_EFFECT:PROPEL_UNIT
 
| Within I_EFFECT:PROPEL_UNIT
 
| amount
 
| amount
Line 388: Line 388:
  
 
|-
 
|-
| {{text anchor|IE_ITEM}}
+
| {{text anchor|IE_ITEM}}{{version|0.47.01}}
 
| Within I_EFFECT:CREATE_ITEM
 
| Within I_EFFECT:CREATE_ITEM
 
| <probability>:<quantity>:[[item token]]:[[material token]]
 
| <probability>:<quantity>:[[item token]]:[[material token]]
Line 394: Line 394:
  
 
|-
 
|-
| {{text anchor|IE_ITEM_QUALITY}}
+
| {{text anchor|IE_ITEM_QUALITY}}{{version|0.47.01}}
 
| Within I_EFFECT:CREATE_ITEM
 
| Within I_EFFECT:CREATE_ITEM
 
| <[[Item_quality|quality]]> OR <minimum [[Item_quality|quality]]>:<maximum [[Item_quality|quality]]>
 
| <[[Item_quality|quality]]> OR <minimum [[Item_quality|quality]]>:<maximum [[Item_quality|quality]]>
Line 407: Line 407:
  
 
|-
 
|-
| {{text anchor|IE_SET_QUALITY}}
+
| {{text anchor|IE_SET_QUALITY}}{{version|0.47.01}}
 
| Within I_EFFECT:CHANGE_ITEM_QUALITY
 
| Within I_EFFECT:CHANGE_ITEM_QUALITY
 
| [[Interaction_token#IE_ITEM_QUALITY|quality level]]
 
| [[Interaction_token#IE_ITEM_QUALITY|quality level]]
Line 413: Line 413:
  
 
|-
 
|-
| {{text anchor|IE_CHANGE_QUALITY}}
+
| {{text anchor|IE_CHANGE_QUALITY}}{{version|0.47.01}}
 
| Within I_EFFECT:CHANGE_ITEM_QUALITY
 
| Within I_EFFECT:CHANGE_ITEM_QUALITY
 
| amount
 
| amount
Line 419: Line 419:
  
 
|-
 
|-
| {{text anchor|CREATURE}}
+
| {{text anchor|CREATURE}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <creature token>:<caste token>
 
| <creature token>:<caste token>
Line 425: Line 425:
  
 
|-
 
|-
| {{text anchor|IE_CREATURE_FLAG}}
+
| {{text anchor|IE_CREATURE_FLAG}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <[[Interaction_token#Creature_and_Caste_Flags|creature flag]]>
 
| <[[Interaction_token#Creature_and_Caste_Flags|creature flag]]>
Line 431: Line 431:
  
 
|-
 
|-
| {{text anchor|IE_FORBIDDEN_CREATURE_FLAG}}
+
| {{text anchor|IE_FORBIDDEN_CREATURE_FLAG}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <[[Interaction_token#Creature_and_Caste_Flags|creature flag]]>
 
| <[[Interaction_token#Creature_and_Caste_Flags|creature flag]]>
Line 437: Line 437:
  
 
|-
 
|-
| {{text anchor|IE_CREATURE_CASTE_FLAG}}
+
| {{text anchor|IE_CREATURE_CASTE_FLAG}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <[[Interaction_token#Creature_and_Caste_Flags|caste flag]]>
 
| <[[Interaction_token#Creature_and_Caste_Flags|caste flag]]>
Line 443: Line 443:
  
 
|-
 
|-
| {{text anchor|IE_FORBIDDEN_CREATURE_CASTE_FLAG}}
+
| {{text anchor|IE_FORBIDDEN_CREATURE_CASTE_FLAG}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <[[Interaction_token#Creature_and_Caste_Flags|caste flag]]>
 
| <[[Interaction_token#Creature_and_Caste_Flags|caste flag]]>
Line 449: Line 449:
  
 
|-
 
|-
| {{text anchor|IE_HAVE_FAST_EFFORTLESS_GAIT_SPEED}}
+
| {{text anchor|IE_HAVE_FAST_EFFORTLESS_GAIT_SPEED}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <minimum [[Gait#Speed|gait speed]]>
 
| <minimum [[Gait#Speed|gait speed]]>
Line 455: Line 455:
  
 
|-
 
|-
| {{text anchor|IE_ALL_SLOW_EFFORTLESS_GAIT_SPEED}}
+
| {{text anchor|IE_ALL_SLOW_EFFORTLESS_GAIT_SPEED}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <maximum [[Gait#Speed|gait speed]]>
 
| <maximum [[Gait#Speed|gait speed]]>
Line 461: Line 461:
  
 
|-
 
|-
| {{text anchor|IE_TIME_RANGE}}
+
| {{text anchor|IE_TIME_RANGE}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
| <minimum [[Time|ticks]]>:<maximum [[Time|ticks]]>
 
| <minimum [[Time|ticks]]>:<maximum [[Time|ticks]]>
Line 467: Line 467:
  
 
|-
 
|-
| {{text anchor|IE_MAKE_PET_IF_POSSIBLE}}
+
| {{text anchor|IE_MAKE_PET_IF_POSSIBLE}}{{version|0.47.01}}
 
| Within I_EFFECT:SUMMON_UNIT
 
| Within I_EFFECT:SUMMON_UNIT
 
|
 
|
Line 534: Line 534:
 
* '''GREETING''' - Creatures will target 'friendly' creatures, usually at random.
 
* '''GREETING''' - Creatures will target 'friendly' creatures, usually at random.
 
* '''ATTACK''' - Targets enemy creatures in combat.  If the interaction specifies SELF_ONLY, CPU-controlled creatures will never use it.
 
* '''ATTACK''' - Targets enemy creatures in combat.  If the interaction specifies SELF_ONLY, CPU-controlled creatures will never use it.
* '''DEFEND''' - Used in combat. Creature will target itself.
+
* '''DEFEND'''{{version|0.47.01}} - Used in combat. Creature will target itself.
 
* '''FLEEING''' - Used when fleeing an enemy.  Creature will target itself.
 
* '''FLEEING''' - Used when fleeing an enemy.  Creature will target itself.
 
* '''CLEAN_SELF''' - Creature targets itself when its body is covered with [[contaminant]]s.
 
* '''CLEAN_SELF''' - Creature targets itself when its body is covered with [[contaminant]]s.
Line 540: Line 540:
 
* '''NEGATIVE_SOCIAL_RESPONSE''' - Used when a creature is expressing contempt (for example, to a murderer). This is used in the default spitting interaction, for example.
 
* '''NEGATIVE_SOCIAL_RESPONSE''' - Used when a creature is expressing contempt (for example, to a murderer). This is used in the default spitting interaction, for example.
 
* '''TORMENT''' - This is also used in the default spitting interaction, and is presumably used in a similar context.
 
* '''TORMENT''' - This is also used in the default spitting interaction, and is presumably used in a similar context.
* '''MINOR_BLESSING''' - Used in divination dice blessings. Targets the roller.
+
* '''MINOR_BLESSING'''{{version|0.47.01}} - Used in divination dice blessings. Targets the roller.
* '''MEDIUM_BLESSING''' - Used in divination dice blessings. Targets the roller.
+
* '''MEDIUM_BLESSING'''{{version|0.47.01}} - Used in divination dice blessings. Targets the roller.
* '''MINOR_CURSE''' - Used in divination dice curses. Targets the roller.
+
* '''MINOR_CURSE'''{{version|0.47.01}} - Used in divination dice curses. Targets the roller.
* '''MEDIUM_CURSE''' - Used in divination dice curses. Targets the roller.
+
* '''MEDIUM_CURSE'''{{version|0.47.01}} - Used in divination dice curses. Targets the roller.
 
* '''MAJOR_CURSE''' - Used in disturbance and deity curses.  Targets the tomb disturber/temple defiler.
 
* '''MAJOR_CURSE''' - Used in disturbance and deity curses.  Targets the tomb disturber/temple defiler.
  
Line 722: Line 722:
 
| Shoots a [[Item_token#GLOB|solid glob]] of spinning substance at the target, leaving a symbol similar to broken arrows, if it misses. Essentially a projectile weapon. If the [[Interaction_token#WAIT_PERIOD|cooldown rate]] is short enough, some creatures with this breath attack will not move, preferring instead to hold position and shoot globs at their enemies, even when they are right next to them.
 
| Shoots a [[Item_token#GLOB|solid glob]] of spinning substance at the target, leaving a symbol similar to broken arrows, if it misses. Essentially a projectile weapon. If the [[Interaction_token#WAIT_PERIOD|cooldown rate]] is short enough, some creatures with this breath attack will not move, preferring instead to hold position and shoot globs at their enemies, even when they are right next to them.
 
|-
 
|-
| {{text anchor|SHARP_ROCK}}
+
| {{text anchor|SHARP_ROCK}}{{version|0.47.01}}
 
| MATERIAL
 
| MATERIAL
 
| Just like [[Interaction_token#SOLID_GLOB|SOLID_GLOB]], but more harmful, as it shoots a sharpened [[Item_token#ROCK|solid chunk]] of material instead.
 
| Just like [[Interaction_token#SOLID_GLOB|SOLID_GLOB]], but more harmful, as it shoots a sharpened [[Item_token#ROCK|solid chunk]] of material instead.

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: