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.

Difference between revisions of "Syndrome examples"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 22: Line 22:
  
 
===Size Modification===
 
===Size Modification===
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.
+
<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.
  
 
{{gamedata|title=Giant Growth|
 
{{gamedata|title=Giant Growth|
Line 30: Line 30:
 
}}
 
}}
  
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).
+
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).
  
 
{{gamedata|title=Hulk Hands|
 
{{gamedata|title=Hulk Hands|

Revision as of 17:24, 9 October 2020

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 looking to create new syndromes. Those familiar with syndrome design (and 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 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.

General Tips

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

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 own species on contact, and make it continuously secreted by one of the creature's internal organs. See below for an example of this concept in action.

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 PROB 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 castes). Make sure to add at least one guaranteed permanent syndrome effect - such as one of the dummy examples shown here, but with no END 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 PROB 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.

Stat-modifying syndromes

Syndromes that affect the creature's stats, particularly in combat.

Size Modification

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

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

Counter Trigger examples

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.

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

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. 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 (see above).

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