71686
DF Modding / Re: [MODDING] 0.34. QUESTIONS THREAD
« on: July 21, 2012, 09:29:31 am »
I'm trying to get this vampire cure to work. It's supposed to be able to appear in Arena mode as a 'cured vampire' with all of the good things and none of the evil things. I can't get it to show. Help?
Code: [Select]
INTERACTION:VAMPIRE_CURSE_CURE]
[I_SOURCE:SECRET]
[IS_HIST_STRING_1: was cured of vampirism by ]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_FORBIDDEN:HAS_BLOOD]
[IT_REQUIRES:NOT_LIVING]
[IT_REQUIRES:SUPERNATURAL]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Cured Vampire]
[SYNDROME]
[SYN_CLASS:VAMPCURE]
[CE_DISPLAY_NAME:NAME:cured vampire:cured vampires:NA:START:0:END:10000]
[CE_REMOVE_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOBREATHE:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Cure Vampirism]
[CDI:INTERACTION:VAMPIRE_CURSE_CURE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]
[CDI:TARGET_VERB:shudder and become less pale :shudders and becomes less pale]
[CDI:WAIT_PERIOD:10]