I wanted to add a "Regenerate" interaction so that my adventurer could heal that irritating nerve damage, but when I try to use it it's listed as "Unknown reaction" and doesn't do anything.
Text added to creature_standard.txt (under the MALE cast for humans):
[CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Regenerate]
[CDI:INTERACTION:REGENERATE_HUMAN_MALE]
[CDI:TARGET:A:SELF_ONLY]
[CDI:VERB:yell 'I Will Survive':yells 'I Will Survive':NA]
[CDI:TARGET_VERB:regenerate:regenerates]
[CDI:WAIT_PERIOD:300]
Text added to new text file in the Objects folder, interaction_X:
interaction_X
[OBJECT:INTERACTION]
[INTERACTION:REGENERATE_HUMAN_MALE]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[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]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0:END:1]
[CE:CREATURE:HUMAN:FEMALE]
Ideally this would polymorph me for a very short period of time, triggering the healing of all injuries on transformation, but it's not working. Does adding new interactions require generating a new world, or am I doing something wrong?
EDIT: Tested in Arena Mode, it works. Does that mean it requires generating a new world, then?
It also dumps all your equipment on the ground. Helpful.