Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Interaction problem!  (Read 389 times)

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Interaction problem!
« on: July 30, 2017, 02:28:52 am »

Got an interaction that's not working. I've fiddled with it a bit and successfully made it vanish from the interaction menu, where it was there and just not doing anything before.

interaction file side

Code: [Select]
[INTERACTION:LIGHTNING_PALM]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:Select a creature.]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[SYNDROME]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_NAME:shock]
[CE_PARALYSIS:SEV:500:PROB:100:SIZE_DILUTES:START:1:PEAK:1:END:25]
[CE_NUMBNESS:SEV:500:PROB:100:SIZE_DILUTES:START:1:PEAK:1:END:100]

creature file side
Code: [Select]

[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Lightning palm]
[CDI:INTERACTION:LIGHTNING_PALM]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:1]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:VERB:shock with its hand:shocks with its hands:NA]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:TARGET_VERB:is incapacitated:is incapacitated]
[CDI:WAIT_PERIOD:100]

Thanks in advance!