I'm trying to create a new megabeast to act as a sort of "boss" encounter that will hopefully turn up in a new fort of mine. Part of that means making it have a few very dangerous interactions. I'm having a lot of trouble getting them to work properly though. First, to the meat of things.
Here's the relevant bits of my creature definition:
[CAN_DO_INTERACTION:NECROSIS_STRONG]
[CAN_DO_INTERACTION:PARALYZE_STRONG]
[CAN_DO_INTERACTION:UNCONSCIOUS_STRONG]
[CAN_DO_INTERACTION:DIZZY_STRONG]
And the relevant interactions:
[INTERACTION:NECROSIS_STRONG]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Necrotic]
[SYNDROME]
[SYN_NAME:necrosis]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:30]
[CE_PAIN:SEV:60:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:30]
[CE_OOZING:SEV:40:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:30]
[CE_NECROSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:30]
[CDI:WAIT_PERIOD:150]
[CDI:ADV_NAME:Necrotic]
[CDI:VERB:sneer:sneers:NA]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:USAGE_HINT:ATTACK]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:TARGET_VERB:beginning to feel ill:begins to feel ill]
All of the interactions look exactly the same, aside from the flavor text and the CE_X syndrome tags for the effects. The problem is that it appears that my creatures are hitting themselves with the interactions for some reason. I can spawn one, then an aardvark, and immediately the aardvark and the creature are suffering from anything from paralysis to dizziness, and soon suffocate. Have I screwed something up in the targeting that's causing that?
Also, for my paralysis attack, I've been trying to prevent complete cheap shots by suffocation and added a [CE_ADD_TAG:NO_BREATHE:START:0:END:30] tag to the syndrome. I'm not sure this is working though, since victims still suffocate. I think they may be suffering complete paralysis that outlasts the NO_BREATHE token however. Is that what's happening, or does this not work this way at all?
Thanks for any help. I'm still debugging these, so I'll have more soon I imagine.