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 examples
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 1: | Line 1: | ||
− | |||
{{av}} | {{av}} | ||
− | This page was created to aid those curious about the | + | This page was created to aid those curious about the interaction process by providing example interactions for them to use or study. Those familiar with interaction raws should feel free to add helpful/obscure information to the lists below to help members of the community less experienced with interactions. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Material Emission Interactions== | ==Material Emission Interactions== | ||
Line 107: | Line 86: | ||
}} | }} | ||
− | This interaction | + | This interaction fire both a solid glob of basalt and a liquid glob of granite magma. |
===Material Emissions With Immunity=== | ===Material Emissions With Immunity=== | ||
− | {{gamedata|title=Example interaction raws that may only target | + | {{gamedata|title=Example [MATERIAL_EMISSION] interaction raws that may only target creatures| |
− | <nowiki>[INTERACTION:CTARGET_BASALT_EMISSION] | + | <nowiki>[INTERACTION:CTARGET_BASALT_EMISSION] |
[I_SOURCE:CREATURE_ACTION] | [I_SOURCE:CREATURE_ACTION] | ||
[I_TARGET:A:MATERIAL] | [I_TARGET:A:MATERIAL] | ||
Line 126: | Line 105: | ||
[IE_TARGET:B] | [IE_TARGET:B] | ||
[IE_TARGET:C] | [IE_TARGET:C] | ||
− | [IE_IMMEDIATE] | + | [IE_IMMEDIATE]</nowiki> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </nowiki> | ||
}} | }} | ||
Material emissions used in this format are affected by [IT_CANNOT_HAVE_SYNDROME_CLASS:X] tags (given above as the custom tag NO_EMISSION). This allows a modder to create immunity syndromes, disallowing a creature using the emission interaction from targeting the creature with immunity. | Material emissions used in this format are affected by [IT_CANNOT_HAVE_SYNDROME_CLASS:X] tags (given above as the custom tag NO_EMISSION). This allows a modder to create immunity syndromes, disallowing a creature using the emission interaction from targeting the creature with immunity. | ||
− | == | + | ==Syndrome Interactions== |
− | |||
− | + | Following are examples of interactions that apply syndromes. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | ===Emission Immunity=== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{gamedata|title=Example [ADD_SYNDROME] interaction raws with an "immunity" syndrome tag| | |
− | + | <nowiki>[INTERACTION:EMISSION_PROTECTION] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{gamedata|title=Example | ||
− | <nowiki> | ||
− | [INTERACTION: | ||
− | |||
[I_TARGET:A:CREATURE] | [I_TARGET:A:CREATURE] | ||
[IT_LOCATION:CONTEXT_CREATURE] | [IT_LOCATION:CONTEXT_CREATURE] | ||
− | [ | + | [IT_MANUAL_INPUT:target] |
[I_EFFECT:ADD_SYNDROME] | [I_EFFECT:ADD_SYNDROME] | ||
[IE_TARGET:A] | [IE_TARGET:A] | ||
[IE_IMMEDIATE] | [IE_IMMEDIATE] | ||
[SYNDROME] | [SYNDROME] | ||
− | + | [SYN_CLASS:NO_EMISSION] | |
− | [SYN_CLASS: | + | [SYN_NAME:protection from projectiles] |
− | + | [CE_FLASH_TILE:TILE:'O':7:0:1:FREQUENCY:2000:1000:START:0:END:2:ABRUPT:DWF_STRETCH:144]</nowiki> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [SYN_NAME: | ||
− | |||
− | [CE_FLASH_TILE:TILE: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </nowiki> | ||
}} | }} | ||
− | + | This interaction would prohibit a creature from being targeted by the emission reaction listed above. | |
− | |||
− | |||
− | |||
− | |||
− | This | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Category|Modding}} | {{Category|Modding}} | ||
− |