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 Syndrome 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:
{{Quality|Superior}}
+
{{Quality|Fine|21:33, 10 March 2020 (UTC)}}
 
{{av}}
 
{{av}}
{{Mod}}
+
 
[[File:syndrome_icon.png|100px|right]]
+
This page was created to aid those looking to create new syndromes. Those familiar with syndrome design (and [[DF2014:Syndrome#The_anatomy_of_a_syndrome|certain complexities in particular]]) should feel free to add helpful/obscure information to the lists below to help less-experienced members of the community with their syndromes.
This page was created to aid those looking to create new [[syndrome]]s. Those familiar with syndrome design (and [[Syndrome#The_anatomy_of_a_syndrome|certain complexities in particular]]) should feel free to add helpful/obscure information to the lists below to help less-experienced members of the community with their syndromes.
 
  
 
The syndromes on this page can be applied through [[Interaction examples|interactions]], as creature actions, curses, blessings, or secrets, or through substances, including injected venoms, contact effects, or ingested foods.  Examples on this page should operate the same regardless of application method.
 
The syndromes on this page can be applied through [[Interaction examples|interactions]], as creature actions, curses, blessings, or secrets, or through substances, including injected venoms, contact effects, or ingested foods.  Examples on this page should operate the same regardless of application method.
Line 10: Line 9:
  
 
===Synchronizing Adventure and Fort Mode syndrome timers===
 
===Synchronizing Adventure and Fort Mode syndrome timers===
Fort mode runs 144 times faster than adventure mode - which means that a syndrome that lasts a single tick in Fort Mode will last 144 ticks in Adventure Mode.  For short-term syndromes, this will cause very different behaviors between the two modes.  In order to ensure that a syndrome operates the same way regardless of mode, add <code>DWF_STRETCH:144</code> to the end of the CE effect tag.
+
Fort mode runs 144 times faster than adventure mode - which means that a syndrome that lasts a single tick in Fort Mode will last 144 ticks in Adventure Mode.  For short-term syndromes, this will cause very different behaviors between the two modes.  In order to ensure that a syndrome operates the same way regardless of mode, add DWF_STRETCH:144 to the end of the CE effect tag.
  
 
It is not possible to make a syndrome that lasts shorter than 144 ticks in Adventure Mode.
 
It is not possible to make a syndrome that lasts shorter than 144 ticks in Adventure Mode.
  
 
===Making a creature with a syndrome always applied===
 
===Making a creature with a syndrome always applied===
Some syndromes have effects that you can't add to a creature's basic RAW.  To fix this, you can make a material that applies the syndrome to the creature's [[Syndrome#SYN_AFFECTED_CREATURE|own species]] [[Syndrome#SYN_CONTACT|on contact]], and make it continuously [[Creature token#SECRETION|secreted]] by one of the creature's internal organs. See [[Syndrome_examples#Creatures_that_behave_differently_underground|below]] for an example of this concept in action.
+
Some syndromes have effects that you can't add to a creature's basic RAW.  To fix this, you can make a material that applies the syndrome to the creature's [[Syndrome#SYN_AFFECTED_CREATURE|own species]] [[Syndrome#SYN_CONTACT|on contact]], and make it constantly [[Creature token#SECRETION|secreted]] by one of the creature's internal organs.
 
 
Note that syndromes applied in this manner will only be added to creatures when they are loaded in fortress or adventure mode, as secretions aren't currently simulated in world generation or the like.
 
 
 
Of course, you can also add a <code>[[Syndrome#Creature effect tokens|PROB]]</code> value to the syndrome's various effects to determine how likely they are to actually manifest, which could be useful if you want a particular type of creature to only occasionally appear with a special ability/curse/disease/immunity/etc (as an alternative to messing around with extra [[Creature_token#CASTE|castes]]). Make sure to add at least one guaranteed permanent syndrome effect - such as one of the dummy examples shown [[Interaction_examples#Syndromes with no effect|here]], but with no <code>END</code> specified - to prevent the syndrome from being reapplied undesirably (which can occur when the secreted coating is removed and replaced by a new secretion), as this would give creatures who initially failed the <code>PROB</code> check another chance to pass it. Having a permanent effect in place prevents this from happening as reinfection cannot occur before a syndrome has ended fully.
 
 
 
Expanding on the above, this one-off opportunity to develop a certain syndrome effect can be turned into a recurring event by adding an <code>END</code> duration of your choice to the guaranteed dummy effect (henceforth referred to as the 'inhibitor'). For example, you might want to give a particular creature species the opportunity to evolve into another creature once every [[time|month]], with a 1/100 chance of the [[Syndrome#CE_BODY_TRANSFORMATION|transformation]] manifesting: this could be implemented as a secretion-applied syndrome with a <code>PROB:1</code> transformation effect and an <code>END:33600</code> inhibitor.
 
 
 
This can also be used to impose delays between the active phase of particular syndrome effects. For example, say you want to give your creature an intermittently activating regenerative ability: you could give it a secretion-derived syndrome providing the requisite [[Syndrome#Healing_Effects|healing effects]] with their <code>END</code> set to X, alongside an 'inhibitor' effect with an <code>END</code> set to X+Y, where Y is the duration of the delay.
 
  
 
==Stat-modifying syndromes==
 
==Stat-modifying syndromes==
Line 29: Line 20:
  
 
===Size Modification===
 
===Size Modification===
<code>[[Syndrome#CE_BODY_APPEARANCE_MODIFIER|CE_BODY_APPEARANCE_MODIFIER]]</code> not only changes the way a creature is described on the unit viewing screen - it also changes the combat effectiveness of the creature.  The square-cube law is respected, meaning that doubling a creature's length, height, and broadness will make them 8 times as massive - an extreme boost in combat effectiveness. This does not affect the clothing they can wear.
+
BODY_APPEARANCE_MODIFIER not only changes the way a creature is described on the unit viewing screen - it also changes the combat effectiveness of the creature.  The square-cube law is respected, meaning that doubling a creature's length, height, and broadness will make them 8 times as massive - an extreme boost in combat effectiveness. This does not affect the clothing they can wear.
  
 
{{gamedata|title=Giant Growth|
 
{{gamedata|title=Giant Growth|
Line 37: Line 28:
 
}}
 
}}
  
Also, you can change the size [[Syndrome#CE_BP_APPEARANCE_MODIFIER|of particular body parts]], with appropriate effects.  The following syndrome, for example, will make the creature's punches more powerful (but it will not make their scratches any stronger, because their fingers are still the same size).
+
Also, you can change the size of particular body parts, with appropriate effects.  The following syndrome, for example, will make the creature's punches more powerful (but it will not make their.scratches any stronger, because their fingers are still the same size).
  
 
{{gamedata|title=Hulk Hands|
 
{{gamedata|title=Hulk Hands|
Line 46: Line 37:
  
 
==Counter Trigger examples==
 
==Counter Trigger examples==
<code>[[Syndrome#Counter_Triggers|CE_COUNTER_TRIGGER]]</code> is a fun token that lets you make syndromes with effects that activate under certain circumstances.  You can use these to undo a different syndrome effect, in order to make a syndrome operate differently in different circumstances.
+
CE_COUNTER_TRIGGER is a fun token that lets you make syndromes with effects that activate under certain circumstances.  You can use these to undo a different syndrome effect, in order to make a syndrome operate differently in different circumstances.
 
Each counter trigger only affects the tag directly above it.
 
Each counter trigger only affects the tag directly above it.
  
 
===More curse-like vampires===
 
===More curse-like vampires===
There's no real reason ''not'' to become a vampire in vanilla DF, you don't even really need to drink blood to survive.  Let's change that by making a syndrome that weakens you if you don't drink blood, but makes you even stronger than vanilla vampires if you do.
+
There's no real reason ''not'' to become a vampire in vanilla DF, you don't even really need to drink blood.  Let's change that by making a syndrome that weakens you if you don't drink blood, but makes you even stronger than vanilla vampires if you do.
  
 
{{gamedata|title=Double-edged vampire curse|
 
{{gamedata|title=Double-edged vampire curse|
Line 56: Line 47:
 
[SYN_NAME:vampire curse]
 
[SYN_NAME:vampire curse]
 
[CE_PHYS_ATT_CHANGE:STRENGTH:50:0:TOUGHNESS:50:0:AGILITY:50:0:ENDURANCE:50:0:DISEASE_RESISTANCE:50:0:START:0] <-- Weakens the target always
 
[CE_PHYS_ATT_CHANGE:STRENGTH:50:0:TOUGHNESS:50:0:AGILITY:50:0:ENDURANCE:50:0:DISEASE_RESISTANCE:50:0:START:0] <-- Weakens the target always
[CE_PHYS_ATT_CHANGE:STRENGTH:800:0:TOUGHNESS:800:0:AGILITY:800:0:ENDURANCE:800:0:DISEASE_RESISTANCE:800:0:START:0] <-- Strengthens the target
+
[CE_PHYS_ATT_CHANGE:STRENGTH:800:0:TOUGHNESS:800:0:AGILITY:800:0:ENDURANCE:800:0:DISEASE_RESISTANCE:800:0:START:0] <-- Strengthens the target after drinking blood
[CE:COUNTER_TRIGGER:TIME_SINCE_SUCKED_BOOD:NONE:172799:REQUIRED] <-- Prevents the above strengthening effect from working unless the target has recently sucked blood (vampires become Thirsty at 172800)
+
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:50:NONE:REQUIRED]
 
}}
 
}}
  
 
===Creatures that behave differently underground===
 
===Creatures that behave differently underground===
 
This is nice if you want to make an above-ground fort mode race, but don't want to actually restrict them to the surface - instead, you can give them a mood penalty for staying underground for too long.
 
This is nice if you want to make an above-ground fort mode race, but don't want to actually restrict them to the surface - instead, you can give them a mood penalty for staying underground for too long.
Note that the creature must have the {{token|CAVE_ADAPT|c}} tag in order for the CAVE_ADAPT counter-trigger to work, and you will also need a constant secretion in order to ensure the syndrome is applied (see [[Syndrome_examples#Making_a_creature_with_a_syndrome_always_applied|above]]).
+
Note that the creature must have the CAVE_ADAPT tag in order for the CAVE_ADAPT counter-trigger to work, and you will also need a constant secretion in order to ensure the syndrome is applied.
  
 
{{gamedata|title=Bad thoughts from spending more than a month underground example (Place this in creature raw)|
 
{{gamedata|title=Bad thoughts from spending more than a month underground example (Place this in creature raw)|
Line 72: Line 63:
 
[SYN_AFFECTED_CREATURE:MY_CREATURE:ALL]
 
[SYN_AFFECTED_CREATURE:MY_CREATURE:ALL]
 
[CE_FEEL_EMOTION:EMOTION:GLUMNESS:SEV:50:START:0]
 
[CE_FEEL_EMOTION:EMOTION:GLUMNESS:SEV:50:START:0]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NONE:REQUIRED]
+
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NO_END:REQUIRED]
[SECRETION:LOCAL_CREATURE_MAT:THOUGHTS:LIQUID:BY_CATEGORY:BRAIN:ALL:CONTINUOUS]
+
[SECRETION:LOCAL_CREATURE_MAT:THOUGHTS:LIQUID:BY_CATEGORY:BRAIN:ALL]
 
}}
 
}}
 
You can do other things with this, like make a creature that gets extra abilities underground, or is stronger aboveground (by making the syndrome increase their strength normally, but reduce it using the counter-trigger, similar to the vampire example).
 
You can do other things with this, like make a creature that gets extra abilities underground, or is stronger aboveground (by making the syndrome increase their strength normally, but reduce it using the counter-trigger, similar to the vampire example).

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: