Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Fear the Night (DF Masterwork)- How to add Vampire Infection?  (Read 1742 times)

Rencini

  • Bay Watcher
    • View Profile
Fear the Night (DF Masterwork)- How to add Vampire Infection?
« on: October 03, 2014, 11:17:42 am »

So I once again downloaded Dwarf Fortress, the third time I have downloaded Masterwork (forgetting that I don't need the vanilla DF), and the first time I actually get to read and modify another mod while using another person's code. So without further ado, I will explain my situation...

I remember not being able to be infected by the 'extra' add-on vampires from Fear the Night, so drinking their blood was the equivalent to drinking water (as far as the game was concerned).

I want to be able to change that, but the multiple codes from vampires already look like if they could reproduce, so what am I missing? I put an example from "Lesser Vampire Curse 3" to show you below, see how it says "Ingestion"? More accurately, does this mean I can get infected once again by non-vanilla vampires?

Code: [Select]
[INTERACTION:LESSER_VAMPIRE_CURSE_2]

[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]
[IS_HIST_STRING_1: cursed ]
[IS_HIST_STRING_2: to stalk the shadows in search of blood]

[I_SOURCE:ATTACK]
[IS_HIST_STRING_1: bit ]
[IS_HIST_STRING_2:, passing on its curse]

[I_SOURCE:CREATURE_ACTION]
[IS_HIST_STRING_1: turned]
[IS_HIST_STRING_2: by a master vampire]

I_SOURCE:SECRET
IS_NAME:vampirism
IS_SPHERE:DEATH
IS_SECRET_GOAL:IMMORTALITY
IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE
IS_SECRET:MUNDANE_RESEARCH_POSSIBLE
IS_SECRET:MUNDANE_TEACHING_POSSIBLE

[I_SOURCE:INGESTION]
[IS_HIST_STRING_1: consumed the tainted blood of ]
[IS_HIST_STRING_2: and was cursed]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:Select target]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]

[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Feline Lesser Vampire]
[SYNDROME]
[SYN_CLASS:VAMPCURSE]
[CE_SPEED_CHANGE:SPEED_PERC:150:START:0]
[CE_ADD_TAG:BLOODSUCKER:NO_AGING:STERILE:NOEXERT:NOT_LIVING:NOBREATHE:NO_DIZZINESS:NO_FEVERS:NO_EAT:NO_DRINK:NO_PHYS_ATT_GAIN:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:1750:0:AGILITY:1750:0:TOUGHNESS:1800:0:RECUPERATION:1300:0:START:0]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:LESSER_VAMPIRE_CURSE_2]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE_DISPLAY_TILE:TILE:165:4:0:0:START:0:CAN_BE_HIDDEN]
[CE_DISPLAY_NAME:NAME:lesser vampire:lesser vampires:vampiric:START:0:CAN_BE_HIDDEN]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:TOOTH:APPEARANCE_MODIFIER:LENGTH:50]
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:1:NONE:REQUIRED]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Transform into cougar/regenerate]
[CDI:INTERACTION:L_VAMP_COUGAR]
[CDI:TARGET:A:SELF_ONLY]
[CDI:TARGET_RANGE:A:1]
    [CDI:USAGE_HINT:FLEEING]
[CDI:VERB:begin to transform:begins to transform:NA]
[CDI:TARGET_VERB:transform into a cougar:transforms into a cougar]
[CDI:WAIT_PERIOD:30000]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Disorienting Scream]
[CDI:INTERACTION:L_VAMP_SCREAM]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:8]
    [CDI:USAGE_HINT:ATTACK]
    [CDI:MAX_TARGET_NUMBER:A:20]
[CDI:VERB:scream:screams:NA]
[CDI:TARGET_VERB:begin to feel dizzy:begins to feel dizzy]
[CDI:WAIT_PERIOD:400]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Vanish]
[CDI:INTERACTION:VAMP_STEALTH_2]
[CDI:TARGET:A:SELF_ONLY]
[CDI:TARGET_RANGE:A:1]
    [CDI:USAGE_HINT:FLEEING]
[CDI:VERB:begin to vanish:begins to vanish:NA]
[CDI:TARGET_VERB:vanish completely:vanishes completely]
[CDI:WAIT_PERIOD:5000][b][/b]
Logged