- 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.
Interaction examples
v51.08 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
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
Following are several examples of material emission interactions.
Multiple Projectile Emission
[show][Select all] Example [MATERIAL_EMISSION] interaction raws that fire three projectiles of the same material |
---|
By adding additional [I_EFFECT:MATERIAL_EMISSION] tags with their associated targets, you may stack additional projectiles.
Predefined Material Emissions
[show][Select all] Example [MATERIAL_EMISSION] interaction raws that use a predefined material |
---|
If a material is listed in this format, the creature will not need a [CDI:MATERIAL] tag in their creature raws in order to use it. This allows projectile attacks to be gained through substance ingestion, other interactions, etc.
Material Emissions With Immunity
[show][Select all] Example [MATERIAL_EMISSION] interaction raws that may only target creatures |
---|
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
[show][Select all] Example [ADD_SYNDROME] interaction raws with an "immunity" syndrome tag |
---|
This interaction would prohibit a creature from being targeted by the emission reaction listed above.