Sweet. I love making things for community forts.
Here's a bit more refined implementation of that. Just giving dwarves [BLOODSUCKER] didn't seem to result in ANY fatalities (admittedly I didn't have much patience when testing, only running it for somewhat over 1 year and a couple of forts. So I started wondering if bloodsuckers have some kind of buddy system where they don't drain each other. To fix that, I made this slightly convoluted system:
in plant_standard, after every [USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE] token, add [SYNDROME]
[SYN_NAME:showing signs of bloodlust][SYN_AFFECTED_CLASS:GENERAL_POISON][SYN_INGESTED][CE_CAN_DO_INTERACTION:PROB:25:START:0:END:1000]
[CDI:FREE_ACTION]
[CDI:INTERACTION:BECOME_BLOODTHIRSTY_1]
[CDI:TARGET:A:SELF_ONLY]
[CDI:ADV_NAME:Give in to bloodlust]
[CDI:VERB:is unusually nervous and twitchy::]
[CDI:WAIT_PERIOD:100]
[CE_CAN_DO_INTERACTION:PROB:50:START:1000:END:2000]
[CDI:FREE_ACTION]
[CDI:INTERACTION:BECOME_BLOODTHIRSTY_2]
[CDI:TARGET:A:SELF_ONLY]
[CDI:ADV_NAME:Give in to bloodlust]
[CDI:VERB:stares into the distance with sunken eyes::]
[CDI:WAIT_PERIOD:100]
[CE_CAN_DO_INTERACTION:PROB:75:START:2000:END:3000]
[CDI:FREE_ACTION]
[CDI:INTERACTION:BECOME_BLOODTHIRSTY_3]
[CDI:TARGET:A:SELF_ONLY]
[CDI:ADV_NAME:Give in to bloodlust]
[CDI:VERB:has buried their head in their hands and is crying::]
[CDI:WAIT_PERIOD:100]
[CE_CAN_DO_INTERACTION:PROB:100:START:3000:END:4000]
[CDI:FREE_ACTION]
[CDI:INTERACTION:BECOME_BLOODTHIRSTY_4]
[CDI:TARGET:A:SELF_ONLY]
[CDI:ADV_NAME:Give in to bloodlust]
[CDI:VERB:mutters and broods darkly...::]
[CDI:WAIT_PERIOD:100]
[SYNDROME]
[SYN_NAME:showing symptoms of hollowing][SYN_AFFECTED_CLASS:GENERAL_POISON][SYN_INGESTED][CE_CAN_DO_INTERACTION:PROB:1:START:3600:END:4800]
[CDI:FREE_ACTION]
[CDI:INTERACTION:BECOME_HOLLOW]
[CDI:TARGET:A:SELF_ONLY]
[CDI:ADV_NAME:Give in to darkness]
[CDI:VERB:twists and screeches with insanity!:screams "Help me!":]
[CDI:WAIT_PERIOD:900000000001]
create new file:interaction_soul.txt
copy and paste the following content:
interaction_soul
[OBJECT:INTERACTION]
[INTERACTION:BECOME_BLOODTHIRSTY_1]
[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: was tainted by darkness and thirsted for blood with the waxing crescent moon ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:BLOODTHIRST]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BLOODTHIRST]
[SYN_NAME:paranoid bloodlust]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_BODY_APPEARANCE_MODIFIER:LOWER_BODY:BROADNESS:95:START:0]
[CE_ADD_TAG:BLOODSUCKER:NO_SLEEP:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:0]
[CE_FLASH_TILE:TILE:165:6:0:1:FREQUENCY:2000:1000:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:0]
[INTERACTION:BECOME_BLOODTHIRSTY_2]
[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: was tainted by darkness and thirsted for blood with the waxing gibbous moon ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:BLOODTHIRST]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BLOODTHIRST]
[SYN_NAME:lunatic bloodlust]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_BODY_APPEARANCE_MODIFIER:LOWER_BODY:BROADNESS:95:START:0]
[CE_ADD_TAG:BLOODSUCKER:NO_SLEEP:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:6]
[CE_FLASH_TILE:TILE:165:7:0:1:FREQUENCY:2000:1000:START:0]
[CE:PERIODIC:MOON_PHASE:6]
[INTERACTION:BECOME_BLOODTHIRSTY_3]
[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: was tainted by darkness and thirsted for blood with the waning gibbous moon ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:BLOODTHIRST]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BLOODTHIRST]
[SYN_NAME:melancholic bloodlust]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_BODY_APPEARANCE_MODIFIER:LOWER_BODY:BROADNESS:95:START:0]
[CE_ADD_TAG:BLOODSUCKER:NO_SLEEP:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:13]
[CE_FLASH_TILE:TILE:165:1:0:1:FREQUENCY:2000:1000:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:13]
[INTERACTION:BECOME_BLOODTHIRSTY_4]
[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: was tainted by darkness and thirsted for blood with the waning crescent moon ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:BLOODTHIRST]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BLOODTHIRST]
[SYN_NAME:dark bloodlust]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_ADD_TAG:BLOODSUCKER:START:0:END:16800]
[CE_BODY_APPEARANCE_MODIFIER:LOWER_BODY:BROADNESS:95:START:0]
[CE_ADD_TAG:BLOODSUCKER:NO_SLEEP:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:20]
[CE_FLASH_TILE:TILE:165:0:0:1:FREQUENCY:2000:1000:START:0:END:16800]
[CE:PERIODIC:MOON_PHASE:20]
[INTERACTION:BECOME_HOLLOW]
[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: was overcome by darkness and became hollow ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:HOLLOWING]
[SYN_NAME:permanent hollowing]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_ADD_TAG:CRAZED:NO_AGING:STERILE:NOT_LIVING:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_CONNECTIONS_FOR_MOVEMENT:EXTRAVISION:NO_EAT:NO_DRINK:NO_SLEEP:START:0]
[CE_FLASH_TILE:TILE:165:4:0:0:FREQUENCY:2000:1000:START:0]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:BODY_UPPER:APPEARANCE_MODIFIER:BROADNESS:70]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:BODY_LOWER:APPEARANCE_MODIFIER:BROADNESS:70]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:HEAD:APPEARANCE_MODIFIER:BROADNESS:95]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:LIP:APPEARANCE_MODIFIER:BROADNESS:30]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:EYE:APPEARANCE_MODIFIER:DEEP_SET:9001]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:THROAT:APPEARANCE_MODIFIER:RASPY_VOICE:9001]
[INTERACTION:CURSE_DARK_SOUL]
[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]
[IS_HIST_STRING_1: cursed ]
[IS_HIST_STRING_2: and cast them into darkness, turning their soul black as cinder ]
[I_SOURCE:SECRET]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_HIST_STRING_2: learned the secrets of the gods and was cursed, becoming a dark soul ]
[IS_SPHERE:FIRE]
[IS_SPHERE:TRUTH]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:DARK_SOUL]
[SYN_NAME:dark soul]
[CE_REMOVE_TAG:CRAZED:OPPOSED_TO_LIFE:START:0]
[CE:PERIODIC:MOON_PHASE:1:0]
If you're too lazy to read all that, I also uploaded ready-made raws at
http://dffd.wimbli.com/file.php?id=7726 .
Summary - this does what the simpler mod would have, but rotates which of your dwarves are bloodsuckers just in case. 50% of your fort are sleepless bloodsuckers at any given time. Currently bloodsuckers flash when active, this should be disabled later.
1. Every dwarf who drinks alcohol gets one random type of 4 varieties of bloodlust. This causes them to become BLOODSUCKERs and also gives them NO_SLEEP for a period of two weeks every month, the period being different depending on which variant they got. What this means is roughly 50% of your fort is sleepless pseudo-vampires at any given time, but it's always different dwarves. To observe this process they now flash different colors depending on variant of bloodlust when it's their active time; this should be removed when not testing. There's also a lot of different flavor text for every variety, which unfortunately does not currently work in fortress mode. Moon phase timing seems to either not work or work rather strangely in fortress mode, or I can't use it properly, but the end result is the same, it's just a little less predictable who is a bloodsucker at any given time.
2. Every time a dwarf drinks alcohol there's a 1% chance in 3 days he'll turn hollow. This makes him like a thrall except not OPPOSED_TO_LIFE but rather CRAZED (he's noted as berserk by DF) and does not grant attribute boosts at this time. It's fun enough when it's your champion. For flavor there's also flavor text and it also affects the dwarf's appearance (he becomes thin and narrow and will have sunken eyes and a grating, raspy voice). I was briefly considering adding a body part called "soul" and making this rot it, but maybe not.
3. There's also a major deity curse called "dark soul", which makes the dwarf not lose his mind under any circumstances (for a long time, anyway). It's more rare than vampirism. Remove last interaction if seems lame, it doesn't affect anything else.
What it needs now is testing before you start a community fort. The syndrome mechanics I've checked and they work as it says on the tin, but I'm not exactly sure how [BLOODSUCKER] works and there doesn't seem to be any info available. It obviously doesn't just make your dwarves blindly kill each other, at least not when there aren't that many of them.
So playtesting is what should be done now. Anyone who feels like it, please give it a go.
edit: hollow syndrome was missing a syn_ingested tag though, whoops.