Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can't get interaction to work properly.  (Read 488 times)

Winner5740

  • Escaped Lunatic
    • View Profile
Can't get interaction to work properly.
« on: November 30, 2013, 09:38:23 pm »

As the title says, I can't get my interaction to work as it should. When I consume the Demon Drink, the syndrome activates, but the Summon Demon interaction doesn't take hold.

What is in the material's defination:
Code: [Select]
[SYNDROME]
[SYN_NAME:Primed for Summoning]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INGESTED]
[CE_CAN_DO_INTERACTION:START:0:END:500]
[CDI:ADV_NAME:Summon Demon]
[CDI:USAGE_HINT:ATTACKING]
[CDI:BP_REQUIRED:BY_CATEGORY:BRAIN]
[CDI:INTERACTION:SUMMON_DEMON]
[CDI:VERB:chant:chants:NA]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0:END:500]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Exhale fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:500]

The interaction's RAW
Code: [Select]
[INTERACTION:SUMMON_DEMON]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:the host]
[IT_REQUIRES:CAN_LEARN:CAN_SPEAK:MORTAL:HAS_BLOOD]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Summoned Demon]
[SYNDROME]
[CE_BODY_TRANSFORMATION:PROB:100:START:0]
[CE:CREATURE:BEAR_GRIZZLY:FEMALE]
[CE_ADD_TAG:CRAZED:NOPAIN:NOSTUN:NOFEAR:NOBREATHE:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_EAT:NO_DRINK:NO_SLEEP:EXTRAVISION:NO_AGING:LIKES_FIGHTING:NONAUSEA]
[CE_REMOVE_TAG:CAN_LEARN:CAN_SPEAK:MORTAL:HAS_BLOOD]


The firebreathing interaction is there for debugging purposes, so that I know that the syndrome is actually taking hold.

Any ideas?
Logged

Nahere

  • Bay Watcher
    • View Profile
Re: Can't get interaction to work properly.
« Reply #1 on: November 30, 2013, 10:29:57 pm »

USAGE_HINT should be ATTACK, not ATTACKING, nut other than that I can't see any problems.
Logged