Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7 ... 14

Author Topic: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD  (Read 69618 times)

Distman

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #60 on: April 16, 2020, 10:51:06 am »

First off, I think you need to test this in Fortress Mode, however hard that may seem to be. Arena, in my experience, doesn't use interactions properly.

Second, just a question... Why do you want the dwarves to be afraid of something that they can't see?

How do you get interactions to work through walls? I'm trying to give goblins an interaction that lets them inflict a stress-inducing syndrome on exclusively dwarves, preferably as a hostile action, but it doesn't matter much since goblin visitors are quite rare and the syndrome should only be dangerous in large amounts.

Currently it is fully functional except for the fact that it does not function through walls, which is an obvious problem if I want it as an anti-seal-yourself-off-with-walls measure.

Spoiler: interaction changes (click to show/hide)


 I've tried giving goblins extravision (though I don't think that should change anything), and as an extra challenge I randomly threw nopain and trances in there. Neither file has any other changes than the ones in the spoiler text, not that it should make anything different.

If I can get it to work, I'll probably also give it to undead, but that should be trivial. In addition, I may add the IT_CANNOT_TARGET_IF_ALREADY_AFFECTED and perhaps ERRATIC_BEHAVIOR tokens. However, right now, I just want to know how to get the blasted thing to work through walls.

One more question, though: does the END time on my stress-inducing syndrome have any effect, since the giving of stress is a one-off thing? Can I use it as a timer for how often a dwarf can be targeted when used with IT_CANNOT_TARGET_IF_ALREADY_AFFECTED, so that an entire siege doesn't use their first demoralize on a singular dwarf?

EDIT: I was able to get it to work by giving the USAGE_HINT of GREETING, though I'm not sure why that works.
Logged

NordicNooob

  • Bay Watcher
  • *Not actually Nordic
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #61 on: April 16, 2020, 01:29:07 pm »

I'm using it as sort of a "well shucks, we're cut off from the world and there's a big army out there trying to murder us" thing rather than just objective terror, at least as a reasonable explanation for it. Sieges are reasonably a stressful event, even if you don't actually see any of it. Actually, though, I'm trying to make my game harder in general, and this prevents turtling sieges, or at least punishes me a bit for doing so.

As for working in arena but not fortress mode, that's what I'm about to do; I'm gonna run a fortress, play normally, and see if my stuff is balanced or if I need to nerf/buff some of my changes.
Logged

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #62 on: April 18, 2020, 07:07:47 am »

How make snail man breeding by interactions? I think, first interaction give to another snail man the syndrome "Impregnator". Impregnator can do interaction that make another snail man "Pregnant". And pregnant snail man will spawn new snail men after timer. Is this possible?
Logged

voliol

  • Bay Watcher
    • View Profile
    • Website
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #63 on: April 18, 2020, 07:31:04 am »

How make snail man breeding by interactions? I think, first interaction give to another snail man the syndrome "Impregnator". Impregnator can do interaction that make another snail man "Pregnant". And pregnant snail man will spawn new snail men after timer. Is this possible?

Theoretically, yes, now that there are summoning interactions. I foresee two problems, though, the second one possibly breaking it:

1. Balancing so you get the right amount of snail kids, neither flooding your fort nor being too unlikely.
2. There would be no notion of family ties/the snail kid being the child of the one who summoned it. They might also not end up as full citizens, but that’s just my guess.

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #64 on: April 18, 2020, 01:40:38 pm »

How make snail man breeding by interactions? I think, first interaction give to another snail man the syndrome "Impregnator". Impregnator can do interaction that make another snail man "Pregnant". And pregnant snail man will spawn new snail men after timer. Is this possible?

Theoretically, yes, now that there are summoning interactions. I foresee two problems, though, the second one possibly breaking it:

1. Balancing so you get the right amount of snail kids, neither flooding your fort nor being too unlikely.
2. There would be no notion of family ties/the snail kid being the child of the one who summoned it. They might also not end up as full citizens, but that’s just my guess.
1. How balanced breeding of vanilla creatures? We can just add the same timers, so they will breed not much faster than trolls.
2. This two problems may be temporary solved by making summoned child into pet of summoner. Or by DFhack.
Logged

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #65 on: April 18, 2020, 01:45:55 pm »

Why CDI of this secret not work? 
Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:TOP_SECRET_NECROMANCER]
[I_SOURCE:SECRET]'
[IS_NAME:the secrets of life and death]
[IS_SPHERE:DEATH
[IS_SPHERE:NIGHTMARES
[IS_SECRET_GOAL:IMMORTALITY]*
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]%
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]%
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]f
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]/
[CE_DISPLAY_TILE:TILE:165:5:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:wizard:wizardss:wnecromantic:START:0:ABRUPT]g
[CE_ADD_TAG:NOEXERT:NOFEAR:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NIGHT_CREATURE_EXPERIMENTER:START:0:ABRUPT]R
[CE_CHANGE_PERSONALITY:FACET:ANXIETY_PROPENSITY:50:FACET:TRUST:-50:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Animate corpse]#
[CDI:INTERACTION:TOP_SECRET_ANIMATE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT] 
[CDI:ADV_NAME:Raise undead lieutenant]&
[CDI:INTERACTION:TOP_SECRET_UNDEAD_RES]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon bogeymen]$
[CDI:INTERACTION:TOP_SECRET_SUMMON_B]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:100] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon nightmare]#
[CDI:INTERACTION:TOP_SECRET_SUMMON_N]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:12000] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Create ghoul] 
[CDI:INTERACTION:TOP_SECRET_GHOUL]   

[INTERACTION:TOP_SECRET_ANIMATE]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:FIT_FOR_ANIMATION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:ANIMATE]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0:ABRUPT]E
[CE_PHYS_ATT_CHANGE:STRENGTH:130:0:TOUGHNESS:300:1000:START:0:ABRUPT].
[CE_SPEED_CHANGE:SPEED_PERC:20:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:MISCHIEVOUS:START:0:ABRUPT]1   

[INTERACTION:TOP_SECRET_UNDEAD_RES]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]"
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:RAISED_UNDEAD]/
[CE_DISPLAY_TILE:TILE:165:3:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:undead lieutenant:undead lieutenants:undead lieutenant:START:0:ABRUPT]H
[CE_PHYS_ATT_CHANGE:STRENGTH:200:1000:TOUGHNESS:200:1000:START:0:ABRUPT]#
[CE_ADD_TAG:NO_AGING:NOT_LIVING:TRANCES:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:STERILE:MISCHIEVOUS:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Propel away]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_1]
[CDI:TARGET:B:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:B:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Vanish]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_2]
[CDI:TARGET:A:SELF_ONLY]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]
[CDI:VERB:vanish:vanishes:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Launch ice bolt]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_3]
[CDI:MATERIAL:WATER:SHARP_ROCK]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Raise fog]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_4]
[CDI:BP_REQUIRED:BY_TYPE:GRASP] 
[CDI:LOCATION_HINT:NO_THICK_FOG]
[CDI:LOCATION_HINT:OUTSIDE]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]2
[CDI:VERB:raise a heavy fog:raises a heavy fog:NA]
[CDI:WAIT_PERIOD:500]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Paralyze]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_5]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA]%
[CDI:TARGET_VERB:feel frozen:freezes]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Rot]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_6]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]
[CDI:TARGET_VERB:feel death come over you:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blind]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_7]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]-
[CDI:TARGET_VERB:your sight is fading:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Sicken]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_8]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]&
[CDI:TARGET_VERB:feel sick:looks sick]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause bleeding]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_9]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]+
[CDI:VERB:clench a fist:clenches a fist:NA]0
[CDI:TARGET_VERB:feel blood welling up:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Suffocate]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_10]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:gesture:gestures:NA]0
[CDI:TARGET_VERB:feel breath leaving you:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause pain]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_11]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA],
[CDI:TARGET_VERB:feel intense pain:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]    
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause dizziness]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_12]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:wave dismissively:waves dismissively:NA]
[CDI:TARGET_VERB:feel dizzy:looks dizzy]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blister]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_13]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:TARGET_VERB:feel blisters forming:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]

[INTERACTION:TOP_SECRET_RES_POWER_1]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:target]
[I_EFFECT:PROPEL_UNIT]
[IE_PROPEL_FORCE:100000]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_2]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:HIDE]
[IE_TARGET:A]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_3]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:CONTEXT_MATERIAL]
[I_TARGET:B:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:C:LOCATION]*
[IT_LOCATION:CONTEXT_CREATURE_OR_LOCATION]
[IT_MANUAL_INPUT:target]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_TARGET:C]
[IE_IMMEDIATE]-

[INTERACTION:TOP_SECRET_RES_POWER_4]
[I_EFFECT:CHANGE_WEATHER]
[IE_ADD_WEATHER:FOG_THICK]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_5]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_PARALYSIS:SEV:500:PROB:100:START:0:PEAK:0:END:1:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_6]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_NECROSIS:SEV:500:PROB:100:START:0:PEAK:0:END:3:VASCULAR_ONLY:BP:BY_CATEGORY:ALL:NERVE:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_7]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]\
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:EYE:RESISTABLE]


[INTERACTION:TOP_SECRET_RES_POWER_8]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_VOMIT_BLOOD:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_9]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]c
[CE_BLEEDING:SEV:50:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]#

[INTERACTION:TOP_SECRET_RES_POWER_10]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:LUNG:RESISTABLE]3

[INTERACTION:TOP_SECRET_RES_POWER_11]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]:
[CE_PAIN:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_12]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_DIZZINESS:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_13]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_BLISTERS:SEV:500:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]

[INTERACTION:TOP_SECRET_SUMMON_N]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]1
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_NIGHTMARE]
[IE_TIME_RANGE:200:300]0   
   
[INTERACTION:TOP_SECRET_SUMMON_B]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]0
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_BOGEYMAN]
[IE_TIME_RANGE:200:300]- 

[INTERACTION:TOP_SECRET_GHOUL]
[EXPERIMENT_ONLY]
[I_SOURCE:EXPERIMENT]
[IS_HIST_STRING_1: infected ]8
[IS_HIST_STRING_2: with a contagious ghoulish condition]
[IS_TRIGGER_STRING_SECOND:have]
[IS_TRIGGER_STRING_THIRD:has]F
[IS_TRIGGER_STRING:been infected with a contagious ghoulish condition]
[I_SOURCE:ATTACK]
[IS_HIST_STRING_1: bit ]6
[IS_HIST_STRING_2:, passing on the ghoulish condition]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_FORBIDDEN:NOT_LIVING])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:GHOUL]A
[CE_FLASH_TILE:TILE:165:4:0:1:FREQUENCY:2000:1000:START:0:ABRUPT]V
[CE_DISPLAY_NAME:NAME:infected ghoul:infected ghouls:infected ghoul:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]2
[CE_REMOVE_TAG:TRANCES:MISCHIEVOUS:START:0:ABRUPT]t
[CE_SPECIAL_ATTACK_INTERACTION:INTERACTION:TOP_SECRET_GHOUL:BP:BY_CATEGORY:MOUTH:BP:BY_CATEGORY:TOOTH:START:0:ABRUPT]
Logged

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #66 on: April 26, 2020, 02:23:40 pm »

How make interaction of self-hiding for chameleons?
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #67 on: April 28, 2020, 03:01:26 am »

Why CDI of this secret not work? 
Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:TOP_SECRET_NECROMANCER]
[I_SOURCE:SECRET]'
[IS_NAME:the secrets of life and death]
[IS_SPHERE:DEATH
[IS_SPHERE:NIGHTMARES
[IS_SECRET_GOAL:IMMORTALITY]*
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]%
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]%
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]f
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]/
[CE_DISPLAY_TILE:TILE:165:5:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:wizard:wizardss:wnecromantic:START:0:ABRUPT]g
[CE_ADD_TAG:NOEXERT:NOFEAR:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NIGHT_CREATURE_EXPERIMENTER:START:0:ABRUPT]R
[CE_CHANGE_PERSONALITY:FACET:ANXIETY_PROPENSITY:50:FACET:TRUST:-50:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Animate corpse]#
[CDI:INTERACTION:TOP_SECRET_ANIMATE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT] 
[CDI:ADV_NAME:Raise undead lieutenant]&
[CDI:INTERACTION:TOP_SECRET_UNDEAD_RES]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon bogeymen]$
[CDI:INTERACTION:TOP_SECRET_SUMMON_B]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:100] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon nightmare]#
[CDI:INTERACTION:TOP_SECRET_SUMMON_N]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:12000] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Create ghoul] 
[CDI:INTERACTION:TOP_SECRET_GHOUL]   

[INTERACTION:TOP_SECRET_ANIMATE]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:FIT_FOR_ANIMATION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:ANIMATE]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0:ABRUPT]E
[CE_PHYS_ATT_CHANGE:STRENGTH:130:0:TOUGHNESS:300:1000:START:0:ABRUPT].
[CE_SPEED_CHANGE:SPEED_PERC:20:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:MISCHIEVOUS:START:0:ABRUPT]1   

[INTERACTION:TOP_SECRET_UNDEAD_RES]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]"
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:RAISED_UNDEAD]/
[CE_DISPLAY_TILE:TILE:165:3:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:undead lieutenant:undead lieutenants:undead lieutenant:START:0:ABRUPT]H
[CE_PHYS_ATT_CHANGE:STRENGTH:200:1000:TOUGHNESS:200:1000:START:0:ABRUPT]#
[CE_ADD_TAG:NO_AGING:NOT_LIVING:TRANCES:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:STERILE:MISCHIEVOUS:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Propel away]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_1]
[CDI:TARGET:B:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:B:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Vanish]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_2]
[CDI:TARGET:A:SELF_ONLY]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]
[CDI:VERB:vanish:vanishes:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Launch ice bolt]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_3]
[CDI:MATERIAL:WATER:SHARP_ROCK]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Raise fog]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_4]
[CDI:BP_REQUIRED:BY_TYPE:GRASP] 
[CDI:LOCATION_HINT:NO_THICK_FOG]
[CDI:LOCATION_HINT:OUTSIDE]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]2
[CDI:VERB:raise a heavy fog:raises a heavy fog:NA]
[CDI:WAIT_PERIOD:500]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Paralyze]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_5]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA]%
[CDI:TARGET_VERB:feel frozen:freezes]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Rot]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_6]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]
[CDI:TARGET_VERB:feel death come over you:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blind]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_7]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]-
[CDI:TARGET_VERB:your sight is fading:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Sicken]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_8]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]&
[CDI:TARGET_VERB:feel sick:looks sick]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause bleeding]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_9]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]+
[CDI:VERB:clench a fist:clenches a fist:NA]0
[CDI:TARGET_VERB:feel blood welling up:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Suffocate]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_10]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:gesture:gestures:NA]0
[CDI:TARGET_VERB:feel breath leaving you:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause pain]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_11]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA],
[CDI:TARGET_VERB:feel intense pain:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]    
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause dizziness]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_12]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:wave dismissively:waves dismissively:NA]
[CDI:TARGET_VERB:feel dizzy:looks dizzy]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blister]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_13]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:TARGET_VERB:feel blisters forming:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]

[INTERACTION:TOP_SECRET_RES_POWER_1]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:target]
[I_EFFECT:PROPEL_UNIT]
[IE_PROPEL_FORCE:100000]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_2]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:HIDE]
[IE_TARGET:A]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_3]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:CONTEXT_MATERIAL]
[I_TARGET:B:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:C:LOCATION]*
[IT_LOCATION:CONTEXT_CREATURE_OR_LOCATION]
[IT_MANUAL_INPUT:target]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_TARGET:C]
[IE_IMMEDIATE]-

[INTERACTION:TOP_SECRET_RES_POWER_4]
[I_EFFECT:CHANGE_WEATHER]
[IE_ADD_WEATHER:FOG_THICK]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_5]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_PARALYSIS:SEV:500:PROB:100:START:0:PEAK:0:END:1:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_6]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_NECROSIS:SEV:500:PROB:100:START:0:PEAK:0:END:3:VASCULAR_ONLY:BP:BY_CATEGORY:ALL:NERVE:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_7]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]\
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:EYE:RESISTABLE]


[INTERACTION:TOP_SECRET_RES_POWER_8]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_VOMIT_BLOOD:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_9]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]c
[CE_BLEEDING:SEV:50:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]#

[INTERACTION:TOP_SECRET_RES_POWER_10]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:LUNG:RESISTABLE]3

[INTERACTION:TOP_SECRET_RES_POWER_11]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]:
[CE_PAIN:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_12]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_DIZZINESS:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_13]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_BLISTERS:SEV:500:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]

[INTERACTION:TOP_SECRET_SUMMON_N]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]1
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_NIGHTMARE]
[IE_TIME_RANGE:200:300]0   
   
[INTERACTION:TOP_SECRET_SUMMON_B]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]0
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_BOGEYMAN]
[IE_TIME_RANGE:200:300]- 

[INTERACTION:TOP_SECRET_GHOUL]
[EXPERIMENT_ONLY]
[I_SOURCE:EXPERIMENT]
[IS_HIST_STRING_1: infected ]8
[IS_HIST_STRING_2: with a contagious ghoulish condition]
[IS_TRIGGER_STRING_SECOND:have]
[IS_TRIGGER_STRING_THIRD:has]F
[IS_TRIGGER_STRING:been infected with a contagious ghoulish condition]
[I_SOURCE:ATTACK]
[IS_HIST_STRING_1: bit ]6
[IS_HIST_STRING_2:, passing on the ghoulish condition]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_FORBIDDEN:NOT_LIVING])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:GHOUL]A
[CE_FLASH_TILE:TILE:165:4:0:1:FREQUENCY:2000:1000:START:0:ABRUPT]V
[CE_DISPLAY_NAME:NAME:infected ghoul:infected ghouls:infected ghoul:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]2
[CE_REMOVE_TAG:TRANCES:MISCHIEVOUS:START:0:ABRUPT]t
[CE_SPECIAL_ATTACK_INTERACTION:INTERACTION:TOP_SECRET_GHOUL:BP:BY_CATEGORY:MOUTH:BP:BY_CATEGORY:TOOTH:START:0:ABRUPT]

which part isnt working? there's a lot of CDI in here. maybe you can narrow it down a bit?
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #68 on: April 28, 2020, 03:02:58 am »

How make interaction of self-hiding for chameleons?
take a look at the squid: https://dwarffortresswiki.org/index.php/DF2014:Squid
MATERIAL_EMISSION_WITH_HIDE_EFFECT
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #69 on: April 28, 2020, 04:02:03 am »

Can i set the range for MATERIAL_EMISSION? I dont mean TARGET_RANGE
I've a problem with my throw_a_rock emission. The rock flies way further as intended, harming innocent bystanders, making them part of the fight. Can I somehow make the rock fly not further as 2 tiles?
Logged

Loud Whispers

  • Bay Watcher
  • They said we have to aim higher, so we dug deeper.
    • View Profile
    • I APPLAUD YOU SIRRAH
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #70 on: April 28, 2020, 10:08:32 am »

I am currently attempting to craft a syndrome that will cause extensive pain, bleeding and add [NO_AGING]. I call it the preservative syndrome, because I am trying to use it in an existing 34.11 save after finding out secondary were-creatures (infected via bite) do in fact die of old age.

I have attempted to do so by hijacking pearls and earthenware:
Code: (inorganic_other) [Select]
[INORGANIC:CERAMIC_STONEWARE]
[MATERIAL_TEMPLATE:PEARL_TEMPLATE]
[STATE_NAME_ADJ:ALL:pearlware]
[DISPLAY_COLOR:7:0:0][TILE:'#']
[MATERIAL_VALUE:4]
[BLOCK_NAME:brick:bricks]
[NO_STONE_STOCKPILE]
 [MAT_FIXED_TEMP:9001]
 [BOILING_POINT:9000]

Code: (material_template_default) [Select]
[MATERIAL_TEMPLATE:PEARL_TEMPLATE]
[STATE_COLOR:ALL_SOLID:WHITE]
[STATE_NAME:ALL_SOLID:pearl]
[STATE_ADJ:ALL_SOLID:pearl]
[STATE_COLOR:LIQUID:WHITE]
[STATE_NAME:LIQUID:n/a]
[STATE_ADJ:LIQUID:n/a]
[STATE_COLOR:GAS:WHITE]
[STATE_NAME:GAS:n/a]
[STATE_ADJ:GAS:n/a]
[DISPLAY_COLOR:7:0:1]
[MATERIAL_VALUE:1]
[SPEC_HEAT:1000]
[IGNITE_POINT:NONE]
[MELTING_POINT:9000]
[BOILING_POINT:9001]
[HEATDAM_POINT:NONE]
[COLDDAM_POINT:NONE]
[MAT_FIXED_TEMP:10001]
[SYNDROME]
[STATE_NAME:ALL:preservatives]
[SYN_NAME:preservative]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_CONTACT]
[CE_PAIN:SEV:1000:START:0:END:1000]
[CE_COUGH_BLOOD:SEV:100:START:0:END:1000
[CE_ADD_TAG:NO_AGING:START:0]
[SOLID_DENSITY:500]
[LIQUID_DENSITY:NONE]
[MOLAR_MASS:NONE]
[IMPACT_YIELD:120000] used stone, no data
[IMPACT_FRACTURE:120000]
[IMPACT_STRAIN_AT_YIELD:100]
[COMPRESSIVE_YIELD:120000]
[COMPRESSIVE_FRACTURE:120000]
[COMPRESSIVE_STRAIN_AT_YIELD:100]
[TENSILE_YIELD:15000]
[TENSILE_FRACTURE:15000]
[TENSILE_STRAIN_AT_YIELD:100]
[TORSION_YIELD:15000]
[TORSION_FRACTURE:15000]
[TORSION_STRAIN_AT_YIELD:100]
[SHEAR_YIELD:15000]
[SHEAR_FRACTURE:15000]
[SHEAR_STRAIN_AT_YIELD:100]
[BENDING_YIELD:15000]
[BENDING_FRACTURE:15000]
[BENDING_STRAIN_AT_YIELD:100]
[MAX_EDGE:1000]
[ABSORPTION:100]
[PEARL]
[ITEMS_HARD]

I have got so far as to create clouds of preservative gas, but it is utterly harmless, transmitting no syndrome. Any idea how I may fix this? I'm sure I'm doing something dreadfully wrong, but I am at a loss where to begin

joostheger

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #71 on: April 28, 2020, 01:58:35 pm »

you can try to change [SYN_CONTACT] to [SYN_INHALED]
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #72 on: April 28, 2020, 01:59:59 pm »

oh better: I spotted a typo
[CE_COUGH_BLOOD:SEV:100:START:0:END:1000
is missing the last ']'
It may cause the whole syndrome to not-work
Logged

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #73 on: April 28, 2020, 04:52:41 pm »

Why CDI of this secret not work? 
Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:TOP_SECRET_NECROMANCER]
[I_SOURCE:SECRET]'
[IS_NAME:the secrets of life and death]
[IS_SPHERE:DEATH
[IS_SPHERE:NIGHTMARES
[IS_SECRET_GOAL:IMMORTALITY]*
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]%
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]%
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]f
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]/
[CE_DISPLAY_TILE:TILE:165:5:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:wizard:wizardss:wnecromantic:START:0:ABRUPT]g
[CE_ADD_TAG:NOEXERT:NOFEAR:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NIGHT_CREATURE_EXPERIMENTER:START:0:ABRUPT]R
[CE_CHANGE_PERSONALITY:FACET:ANXIETY_PROPENSITY:50:FACET:TRUST:-50:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Animate corpse]#
[CDI:INTERACTION:TOP_SECRET_ANIMATE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT] 
[CDI:ADV_NAME:Raise undead lieutenant]&
[CDI:INTERACTION:TOP_SECRET_UNDEAD_RES]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]G
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon bogeymen]$
[CDI:INTERACTION:TOP_SECRET_SUMMON_B]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:100] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Summon nightmare]#
[CDI:INTERACTION:TOP_SECRET_SUMMON_N]6
[CDI:VERB:call upon the night:calls upon the night:NA]
[CDI:WAIT_PERIOD:12000] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Create ghoul] 
[CDI:INTERACTION:TOP_SECRET_GHOUL]   

[INTERACTION:TOP_SECRET_ANIMATE]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:FIT_FOR_ANIMATION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:ANIMATE]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0:ABRUPT]E
[CE_PHYS_ATT_CHANGE:STRENGTH:130:0:TOUGHNESS:300:1000:START:0:ABRUPT].
[CE_SPEED_CHANGE:SPEED_PERC:20:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:MISCHIEVOUS:START:0:ABRUPT]1   

[INTERACTION:TOP_SECRET_UNDEAD_RES]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]"
[IT_AFFECTED_CLASS:GENERAL_POISON]"
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:RAISED_UNDEAD]/
[CE_DISPLAY_TILE:TILE:165:3:0:1:START:0:ABRUPT]J
[CE_DISPLAY_NAME:NAME:undead lieutenant:undead lieutenants:undead lieutenant:START:0:ABRUPT]H
[CE_PHYS_ATT_CHANGE:STRENGTH:200:1000:TOUGHNESS:200:1000:START:0:ABRUPT]#
[CE_ADD_TAG:NO_AGING:NOT_LIVING:TRANCES:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]<
[CE_REMOVE_TAG:HAS_BLOOD:STERILE:MISCHIEVOUS:START:0:ABRUPT]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Propel away]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_1]
[CDI:TARGET:B:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:B:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Vanish]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_2]
[CDI:TARGET:A:SELF_ONLY]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]
[CDI:VERB:vanish:vanishes:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Launch ice bolt]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_3]
[CDI:MATERIAL:WATER:SHARP_ROCK]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50] 
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Raise fog]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_4]
[CDI:BP_REQUIRED:BY_TYPE:GRASP] 
[CDI:LOCATION_HINT:NO_THICK_FOG]
[CDI:LOCATION_HINT:OUTSIDE]
[CDI:USAGE_HINT:DEFEND]
[CDI:USAGE_HINT:FLEEING]2
[CDI:VERB:raise a heavy fog:raises a heavy fog:NA]
[CDI:WAIT_PERIOD:500]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Paralyze]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_5]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA]%
[CDI:TARGET_VERB:feel frozen:freezes]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Rot]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_6]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]
[CDI:TARGET_VERB:feel death come over you:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blind]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_7]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]-
[CDI:TARGET_VERB:your sight is fading:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Sicken]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_8]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]<
[CDI:VERB:make a flicking motion:makes a flicking motion:NA]&
[CDI:TARGET_VERB:feel sick:looks sick]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]&
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause bleeding]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_9]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]+
[CDI:VERB:clench a fist:clenches a fist:NA]0
[CDI:TARGET_VERB:feel blood welling up:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Suffocate]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_10]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:gesture:gestures:NA]0
[CDI:TARGET_VERB:feel breath leaving you:pauses]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause pain]'
[CDI:INTERACTION:TOP_SECRET_RES_POWER_11]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK](
[CDI:VERB:raise a hand:raises a hand:NA],
[CDI:TARGET_VERB:feel intense pain:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]    
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Cause dizziness]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_12]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:wave dismissively:waves dismissively:NA]
[CDI:TARGET_VERB:feel dizzy:looks dizzy]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]
[CE_CAN_DO_INTERACTION:START:0:ABRUPT]
[CDI:ADV_NAME:Blister]
[CDI:INTERACTION:TOP_SECRET_RES_POWER_13]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:25]
[CDI:BP_REQUIRED:BY_TYPE:GRASP]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:point:points:NA]
[CDI:TARGET_VERB:feel blisters forming:grimaces]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:50]

[INTERACTION:TOP_SECRET_RES_POWER_1]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:target]
[I_EFFECT:PROPEL_UNIT]
[IE_PROPEL_FORCE:100000]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_2]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:HIDE]
[IE_TARGET:A]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_3]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:CONTEXT_MATERIAL]
[I_TARGET:B:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:C:LOCATION]*
[IT_LOCATION:CONTEXT_CREATURE_OR_LOCATION]
[IT_MANUAL_INPUT:target]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_TARGET:C]
[IE_IMMEDIATE]-

[INTERACTION:TOP_SECRET_RES_POWER_4]
[I_EFFECT:CHANGE_WEATHER]
[IE_ADD_WEATHER:FOG_THICK]
[IE_IMMEDIATE]

[INTERACTION:TOP_SECRET_RES_POWER_5]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_PARALYSIS:SEV:500:PROB:100:START:0:PEAK:0:END:1:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_6]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_NECROSIS:SEV:500:PROB:100:START:0:PEAK:0:END:3:VASCULAR_ONLY:BP:BY_CATEGORY:ALL:NERVE:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_7]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]\
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:EYE:RESISTABLE]


[INTERACTION:TOP_SECRET_RES_POWER_8]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]A
[CE_VOMIT_BLOOD:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_9]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]c
[CE_BLEEDING:SEV:50:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]#

[INTERACTION:TOP_SECRET_RES_POWER_10]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_IMPAIR_FUNCTION:SEV:500:PROB:100:START:0:PEAK:0:END:1:BP:BY_CATEGORY:ALL:LUNG:RESISTABLE]3

[INTERACTION:TOP_SECRET_RES_POWER_11]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]:
[CE_PAIN:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_12]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]?
[CE_DIZZINESS:SEV:500:PROB:100:START:0:PEAK:0:END:3:RESISTABLE]

[INTERACTION:TOP_SECRET_RES_POWER_13]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CONCENTRATION_ADDED:1000:0]
[CE_BLISTERS:SEV:500:PROB:100:START:0:PEAK:0:END:3:BP:BY_CATEGORY:ALL:SKIN:VASCULAR_ONLY:RESISTABLE]

[INTERACTION:TOP_SECRET_SUMMON_N]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]1
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_NIGHTMARE]
[IE_TIME_RANGE:200:300]0   
   
[INTERACTION:TOP_SECRET_SUMMON_B]
[I_TARGET:A:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:B:LOCATION](
[IT_LOCATION:RANDOM_NEARBY_LOCATION:A:5]
[I_EFFECT:SUMMON_UNIT]
[IE_TARGET:B]
[IE_IMMEDIATE]0
[IE_CREATURE_CASTE_FLAG:NIGHT_CREATURE_BOGEYMAN]
[IE_TIME_RANGE:200:300]- 

[INTERACTION:TOP_SECRET_GHOUL]
[EXPERIMENT_ONLY]
[I_SOURCE:EXPERIMENT]
[IS_HIST_STRING_1: infected ]8
[IS_HIST_STRING_2: with a contagious ghoulish condition]
[IS_TRIGGER_STRING_SECOND:have]
[IS_TRIGGER_STRING_THIRD:has]F
[IS_TRIGGER_STRING:been infected with a contagious ghoulish condition]
[I_SOURCE:ATTACK]
[IS_HIST_STRING_1: bit ]6
[IS_HIST_STRING_2:, passing on the ghoulish condition]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]"
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_FORBIDDEN:NOT_LIVING])
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE])
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]1
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]-
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_UNDEAD],
[IT_CANNOT_HAVE_SYNDROME_CLASS:RAISED_GHOST]%
[IT_CANNOT_HAVE_SYNDROME_CLASS:GHOUL]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [SYNDROME] 
[SYN_CONCENTRATION_ADDED:1000:0]
[SYN_CLASS:GHOUL]A
[CE_FLASH_TILE:TILE:165:4:0:1:FREQUENCY:2000:1000:START:0:ABRUPT]V
[CE_DISPLAY_NAME:NAME:infected ghoul:infected ghouls:infected ghoul:START:0:ABRUPT]+
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0:ABRUPT]2
[CE_REMOVE_TAG:TRANCES:MISCHIEVOUS:START:0:ABRUPT]t
[CE_SPECIAL_ATTACK_INTERACTION:INTERACTION:TOP_SECRET_GHOUL:BP:BY_CATEGORY:MOUTH:BP:BY_CATEGORY:TOOTH:START:0:ABRUPT]

which part isnt working? there's a lot of CDI in here. maybe you can narrow it down a bit?
Now it work, when I remove not needed symbols.
Logged

Iä! RIAKTOR!

  • Bay Watcher
    • View Profile
Re: [MODDING] INTERACTION & SYNDROME QUESTIONS THREAD
« Reply #74 on: April 28, 2020, 04:55:29 pm »

How make interaction of self-hiding for chameleons?
take a look at the squid: https://dwarffortresswiki.org/index.php/DF2014:Squid
MATERIAL_EMISSION_WITH_HIDE_EFFECT
Thanks!
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 14