Bay 12 Games Forum

Please login or register.

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

Author Topic: Customizable disease mod for contagious, non-communicable and epidemics. Reuse!  (Read 30773 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

Yeah, you can, with syndromeTrigger in r4

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

Quote
2. Make the interaction impart a syndrome that is the flu, all with a PROB of 100

How do I do this?

I'm looking at the syndromes in the interaction files, i'm not sure how I can get one syndrome to beget another.  That is the key to 60% of my questions.

Please understand, i'm a complete noob with syndromes (hence why I was asking for specific raw examples).  If I could see how a (complete) syndrome calls an empty (completed) syndrome, that would help a lot.


Update, I think I might have it
"[CDI:INTERACTION:INFLUENZA_PROB_INNER]"
called by [INTERACTION:INFLUENZA_PROBABILITY]
« Last Edit: November 27, 2013, 12:23:35 am by thistleknot »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

It's [CE_CAN_DO_INTERACTION:START:X:PROB:Y:END:Z]. PROB and END are optional. After that, it's identical to CAN_DO_INTERACTION:I, but you have to put in [CDI:INTERACTION:I] into the symptom.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

just to make this easy

say I have 2 diseases, influenza, as well as pneumonia (this is pulled from halfling's mod), and I want influenza to immediately beget pnuemonia after it :end's

how would I modify this set of raws to do that?

Code: [Select]
[INTERACTION:INFLUENZA_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INFLUENZA_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INFLUENZA_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:influenza check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:2:START:0:END:3000]
   
   [CDI:INTERACTION:INFLUENZA_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:INFLUENZA_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INFLUENZA_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INFLUENZA_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:influenza secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_INFLUENZA]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:PNEUMONITIS_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:PNEUMONITIS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:PNEUMONITIS_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_PNEUMONITIS]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]



Update: I think I get it.  I just need to have

   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:PNEUMONITIS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]

which calls the pneumonitis_prob_inner.

In the case of a fake disease placeholder that has no effect, I could add to pneumonitis_prob_inner

[IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_C]
  [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:IMMUNE_PNUEMONIA]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]

and define interaction:IMMUNE_PNUEMONIA as syn_class:pneumonitis_c?

btw, if wait_period is set to 300001 does that mean the dwarf can't get the disease again for that amount of time?  If so, I don't think an immunity of 400k (i.e. 1 year) is going to make that much of a difference...
« Last Edit: November 27, 2013, 09:20:42 pm by thistleknot »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

Okay, I think I got it.  Is this right?

Code: [Select]
   
[INTERACTION:PNEUMONITIS_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_A][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_C]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:PNEUMONITIS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:PNEUMONITIS_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:20:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_PNEUMONITIS]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:3000:END:406200]
   [CDI:INTERACTION:PNEUMONITIS_IMMUNE]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]


[INTERACTION:PNEUMONITIS_IMMUNE]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_C][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis clear for 1 year]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:3000:END:406200]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]

One thing I'm not sure of

   [CE_CAN_DO_INTERACTION:PROB:100:START:3000:END:406200]

I have two of them, I'm not sure if I need to remove one
« Last Edit: November 28, 2013, 11:14:26 am by thistleknot »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

why not exactly what I wanted (edit: as in it doesn't give dwarfs a one year immunity, but to be honest, it's not really needed with the nerfed #'s), but it seems to be working well.

I reduced the chance of the disease by 80% from where they were at before, and added resistable tags.  So far, 2 dwarfs got sick with the flu, but when they went to rest, far less people got sick around them (before it was 100% I believe of spreading, but now it's only 20%) and the endemic cleared itself up

Code: [Select]
interaction_disease_probabilities
[OBJECT:INTERACTION]

   
[INTERACTION:DEPRESSION_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:DEPRESSION_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:DEPRESSION_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:depression check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:2:START:0:END:3000]
   
   [CDI:INTERACTION:DEPRESSION_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:DEPRESSION_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:DEPRESSION_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:DEPRESSION_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:depression secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_DEPRESSION]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:BLACK_PLAGUE_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLACK_PLAGUE_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLACK_PLAGUE_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:black plague check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:BLACK_PLAGUE_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:BLACK_PLAGUE_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLACK_PLAGUE_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLACK_PLAGUE_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:black plague secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:3:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_BLACK_PLAGUE]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:BUBONIC_PLAGUE_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BUBONIC_PLAGUE_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BUBONIC_PLAGUE_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:bubonic plague check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:BUBONIC_PLAGUE_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:BUBONIC_PLAGUE_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BUBONIC_PLAGUE_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BUBONIC_PLAGUE_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:bubonic plague secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:3:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_BUBONIC_PLAGUE]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:SMALLPOX_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:SMALLPOX_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:SMALLPOX_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:smallpox check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:SMALLPOX_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:SMALLPOX_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:SMALLPOX_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:SMALLPOX_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:smallpox secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:3:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_SMALLPOX]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:INFLUENZA_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INFLUENZA_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INFLUENZA_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:influenza check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:2:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:INFLUENZA_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:INFLUENZA_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INFLUENZA_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INFLUENZA_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:influenza secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:20:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_INFLUENZA]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:MENINGITIS_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:MENINGITIS_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:MENINGITIS_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:meningitis check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:MENINGITIS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:MENINGITIS_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:MENINGITIS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:MENINGITIS_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:meningitis secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:15:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_MENINGITIS]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:PNEUMONITIS_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:PNEUMONITIS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:PNEUMONITIS_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PNEUMONITIS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PNEUMONITIS_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:pneumonitis secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:20:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_PNEUMONITIS]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:BLOOD_PRESSURE_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLOOD_PRESSURE_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLOOD_PRESSURE_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:blood pressure check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:15:START:0:END:3000]
   
   [CDI:INTERACTION:BLOOD_PRESSURE_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:BLOOD_PRESSURE_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLOOD_PRESSURE_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLOOD_PRESSURE_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:blood pressure secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:50:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_BLOOD_PRESSURE]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:SCHIZOPHRENIA_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:SCHIZOPHRENIA_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:SCHIZOPHRENIA_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:schizophrenia check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:SCHIZOPHRENIA_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:SCHIZOPHRENIA_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:SCHIZOPHRENIA_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:SCHIZOPHRENIA_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:schizophrenia secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_SCHIZOPHRENIA]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:LIVER_CANCER_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:LIVER_CANCER_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:LIVER_CANCER_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:liver cancer check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:LIVER_CANCER_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:LIVER_CANCER_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:LIVER_CANCER_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:LIVER_CANCER_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:liver cancer secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:10:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_LIVER_CANCER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:GIGANTISM_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:GIGANTISM_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:GIGANTISM_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:gigantism check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:GIGANTISM_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:GIGANTISM_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:GIGANTISM_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:GIGANTISM_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:gigantism secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:10:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_GIGANTISM]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:DWARFISM_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:DWARFISM_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:DWARFISM_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:dwarfism check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:DWARFISM_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:DWARFISM_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:DWARFISM_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:DWARFISM_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:dwarfism secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:10:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_DWARFISM]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:BLINDNESS_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLINDNESS_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLINDNESS_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:blindness check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:BLINDNESS_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:BLINDNESS_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:BLINDNESS_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:BLINDNESS_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:blindness secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:20:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_BLINDNESS]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:INSOMNIA_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INSOMNIA_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INSOMNIA_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:insomnia check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:INSOMNIA_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:INSOMNIA_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:INSOMNIA_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:INSOMNIA_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:insomnia secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:100:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_INSOMNIA]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:PSYCHOPATHY_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PSYCHOPATHY_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PSYCHOPATHY_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:psychopathy check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:START:0:END:3000]
   
   [CDI:INTERACTION:PSYCHOPATHY_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:PSYCHOPATHY_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:PSYCHOPATHY_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:PSYCHOPATHY_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:psychopathy secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:10:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_PSYCHOPATHY]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
   
[INTERACTION:RABIES_PROBABILITY]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:RABIES_A]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:RABIES_A][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:rabies check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:1:RESISTABLE:START:0:END:3000]
   
   [CDI:INTERACTION:RABIES_PROB_INNER]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]
   
[INTERACTION:RABIES_PROB_INNER]
   
   [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]
   [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:RABIES_B]
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [SYN_CLASS:RABIES_B][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:rabies secondary check made]
   
   [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]
   [CE_CAN_DO_INTERACTION:PROB:20:RESISTABLE:START:0:END:3000]
   [CDI:INTERACTION:SPREAD_RABIES]
   [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]

update:
apparently a reason my dwarfs were getting so sick quickly before was due to me having barrack style beds of 2x3's next to each other... that was just stupid of me.

update #2:
I think the #'s are really really nerfed.  I get a dwarf sick every now and then, but it NEVER cycles through the fort.  I think the #'s of the contagious diseases could be x .4 vs x .2 (that's the change I made, plus resistable).

I still hate the micromanaging of ensuring sick dwarves don't "stroke out".  There is no "easy" way of doing this.  Even with burrows, it's hard.  It would be better to have a building that is a pharmacy and the sick dwarf can get his "medicine".  Then maybe the player can turn on "medicine time" burrow, and the dwarf's that are workshopped to that pharmacy can get their med's...  That's the only way I can think of doing it.  The rest of the diseases kind of cure themselves (except meningitis I believe)

I think it would be better if a dwarf could somehow get his med's every so often when it's needed.  Like another syndrome that injects medicine if it's currently available (would require scripting magic to check stockpile quantities, of course... the stockpile would have to be reduced)
« Last Edit: November 28, 2013, 05:05:18 pm by thistleknot »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist

I can compare the versions once I'm back in Germany. (something I say way, way too often... I'm in Bucharest atm, in a student house, so not the best place to work in peace.)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

while the nerfed version is working okay, i'd like to build on the comprehensive version

I think I need to beget my immune inside disease_influenza (for influenza vs pneumonia) because it's called by spread, which is called by inner.  I'm glad I haven't bothered implementing it yet.  Because I would have done so at the wrong point in the chain

Code: [Select]
[INTERACTION:DISEASE_INFLUENZA]
  [I_TARGET:A:CREATURE]
  [IT_LOCATION:CONTEXT_CREATURE]
  [IT_REQUIRES:CAN_LEARN]
  [IT_CANNOT_HAVE_SYNDROME_CLASS:MEDICINE_EPIDEMIC]
  [I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [IE_IMMEDIATE]

  [SYNDROME]
[SYN_CLASS:INFLUENZA]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_NAUSEA:SEV:50:PROB:33:START:1200:PEAK:16800:END:33600]
[CE_PAIN:SEV:100:PROB:20:LOCALIZED:VASCULAR_ONLY:START:1200:PEAK:16800:END:33600]
[CE_FEVER:SEV:100:PROB:20:START:1200:PEAK:16800:END:33600]
    [CE_CAN_DO_INTERACTION:START:0:END:100][CDI:INTERACTION:ANNOUNCE_SYMPTOMS][CDI:VERB:nt:is sick with influenza] ##no actual cough for now, unfortunately

VotanPhasors

  • Escaped Lunatic
    • View Profile

Help, I want to make a zombie transformation plague that has a chance to be cured by using a specific item, (maybe traded for, found or crafted), how would this look like?

im not afraid of having to learn DFhack I just really want one.

Please.

thank you. It can be gotten from drinking like stagnant water or something, or bit by undead creatures.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

Stagnant water no, undead creatures yes, cured not really.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

here's my 3rd try.

I did some other things to nerf diseases in other ways (not shown here), such as making medicine needed only 3 times per year vs 5.2 times per year, I also extended the length a dwarf is immune to the flu, pneumonia, and meningitis from taking medicine by up to a year, only the non contagious diseases are needed 3 times a year (IMO, this type of medicine should be separate, i.e. vaccine vs prescription for treating an ailment).

Now with a dwarf being immune to catching the flu for up to one year, I don't think I need to reduce the chances of a dwarf from starting with it.  As a wave of flu, pneumonia, meningitis will sweep through a fortress, but will die out once everyone gets it until the following year.

Code: [Select]
[INTERACTION:SPREAD_INFLUENZA]

  [I_TARGET:A:CREATURE]
  [IT_LOCATION:CONTEXT_CREATURE]
  [IT_REQUIRES:CAN_LEARN]
  [IT_CANNOT_HAVE_SYNDROME_CLASS:INFLUENZA] ## prevents a creature from getting this multiple times - this MUST NOT be added to DISEASE_INFLUENZA or a creature will not fall sick at all
  [IT_CANNOT_HAVE_SYNDROME_CLASS:MEDICINE_EPIDEMIC]

  [I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Epidemic 1]
[SYNDROME]
[SYN_NAME:bears influenza]
[SYN_CLASS:INFLUENZA]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_CAN_DO_INTERACTION:START:1200:END:33600] ## note!! the END: in both these tags makes it a possibly recurring epidemic
  [CDI:INTERACTION:SPREAD_INFLUENZA]
  [CDI:TARGET:A:TOUCHABLE]
  [CDI:FREE_ACTION]
  [CDI:MAX_TARGET_NUMBER:A:1]
  [CDI:WAIT_PERIOD:1200]
  [CDI:ADV_NAME:Spread influenza]
  [CDI:TARGET_VERB:feel sick to your stomach:looks pale and sickly]
[CE_CAN_DO_INTERACTION:START:0:END:33600] ## note! the END: here makes the symptoms end
  [CDI:INTERACTION:DISEASE_INFLUENZA]
  [CDI:TARGET:A:SELF_ONLY]
  [CDI:FREE_ACTION]
  [CDI:MAX_TARGET_NUMBER:A:1]
  [CDI:WAIT_PERIOD:33600]
  [CDI:ADV_NAME:Suffer from influenza]
  [CDI:TARGET_VERB:feel sick to your stomach:looks pale and sickly]

[CE_CAN_DO_INTERACTION:START:33600:END:403200] ## note! the END: here makes the symptoms end ## immune to the sickness for 1 year.
  [CDI:INTERACTION:IMMUNE_INFLUENZA]
  [CDI:TARGET:A:SELF_ONLY]
  [CDI:FREE_ACTION]
  [CDI:MAX_TARGET_NUMBER:A:1]
  [CDI:WAIT_PERIOD:403200]
  [CDI:ADV_NAME:Recovered from influenza]
  [CDI:TARGET_VERB:recovered from the flue:lost some weight from the flu]


[INTERACTION:DISEASE_INFLUENZA]
  [I_TARGET:A:CREATURE]
  [IT_LOCATION:CONTEXT_CREATURE]
  [IT_REQUIRES:CAN_LEARN]
  [IT_CANNOT_HAVE_SYNDROME_CLASS:MEDICINE_EPIDEMIC]
  [I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [IE_IMMEDIATE]

  [SYNDROME]
[SYN_CLASS:INFLUENZA]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_NAUSEA:SEV:50:PROB:33:START:1200:PEAK:16800:END:33600]
[CE_PAIN:SEV:100:PROB:20:LOCALIZED:VASCULAR_ONLY:START:1200:PEAK:16800:END:33600]
[CE_FEVER:SEV:100:PROB:20:START:1200:PEAK:16800:END:33600]
    [CE_CAN_DO_INTERACTION:START:0:END:100][CDI:INTERACTION:ANNOUNCE_SYMPTOMS][CDI:VERB:nt:is sick with influenza] ##no actual cough for now, unfortunately

[INTERACTION:IMMUNE_INFLUENZA]
  [I_TARGET:A:CREATURE]
  [IT_LOCATION:CONTEXT_CREATURE]
  [IT_REQUIRES:CAN_LEARN]
  [I_EFFECT:ADD_SYNDROME]
  [IE_TARGET:A]
  [IE_IMMEDIATE]

  [SYNDROME]
[SYN_CLASS:INFLUENZA]
[SYN_AFFECTED_CLASS:GENERAL_POISON]

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

If... (I'm really asking for mwmod's, but I figured I'd ask here since it's only just been implemented)

  • I wanted to reduce the % chance of certain diseases considerably... how would I do so?

  • Is there a way to ensure a dwarf who has been cured already of a disease, doesn't get it again (i.e. via modding?).  I know I can remove the end token from the syndrome of an item such as medicine.  But... to my understanding, some diseases have a natural run length.  It would make more sense game wise if a dwarf who is already sick couldn't catch the same sickness (although, I don't think that's really an issue), but it would be better if a dwarf who was sick with pneumonia, can't get it again.

  • Although, I am ALL FOR MUTATIONS of diseases... but the chance of mutation should be like 2%... So... there's only a small chance that a dwarf who has had pneumonia once, could get it again, but it would have been from a mutated variety...

  • Also, is there any way disease resistance can be taken into account for chance of sickness?

  • What about length of sickness based on recuperation?

I've hit on all these points but the last one, as that one needs an r4 plugin, also the resistance was only useable for specific applications of diseases (such as ce_necrosis), but I applied them.

Here are the changes to mwmod 4d
https://www.mediafire.com/?w5rlab90iwv14b5

VotanPhasors

  • Escaped Lunatic
    • View Profile

Stagnant water no, undead creatures yes, cured not really.

ok so I want the undead creatures bite and scratch to carry it, not any other kind of attack, how do I do that??

also:

I want to spawn my zombies at the start of the map but in all biomes ALONG  with other creatures, and to have a high chance of being in all biomes??
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

Stagnant water no, undead creatures yes, cured not really.

ok so I want the undead creatures bite and scratch to carry it, not any other kind of attack, how do I do that??

[SPECIALATTACK_INTERACTION:X]

I think that's what it is, could be something else.

I want to spawn my zombies at the start of the map but in all biomes ALONG  with other creatures, and to have a high chance of being in all biomes??

[UBIQUITOUS]

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile

using showunitsyndromes.rb

I see a mekton of syndromes, some repeated checks being made... apparently this version of my mod is just applied wrong.  I don't know how, but I think there getting the syndromes multiple times

example: smallpox came up more than 10 times...

but maybe it's the character's entire history?  I don't know, it was pages of stuff.


nevermind, apparently it dumps all my dwarf's :)
« Last Edit: November 29, 2013, 09:55:44 pm by thistleknot »
Logged
Pages: 1 ... 5 6 [7] 8