Well, actually it was giving every dwarf every disease. Found & fixed this critical issue. I assume that's what was causing the adventure mode problems too since I didn't find them myself. Thanks for reporting it. I wonder what those 17 other downloaders did
It was as follows:
A disease's first probability check gives the following:
1. You may not use this interaction if you have the syndrome already
2. Syndrome: Permanently set body broadness to 99%, and with e.g. 2% probability, be able to do interaction to make secondary disease check for 3000 phases
this works fine, except upon saving and reloading DF apparently interprets this as "Permanently set: body broadness is 99%, able to make secondary disease check, with 100% probability" for some reason that I really can't be bothered to figure out as it's not my day job.
To fix this, I changed it to:
1. You may not use this interaction if you have syndrome 1 already
2. Syndrome 1: permanently set body broadness to 99%
3. Syndrome 2: With e.g. 2% probability, be able to do interaction to make secondary disease check for 3000 phases
This does not cause the same issue with saving and reloading. My theory is it is interpreted as "Body broadness is permanently 99%, other syndrome has expired"
Furthermore for some obscure reason I had made this change for myself but uploaded a version without it, possibly assuming it was superfluous or just making an honest mistake.
Uploaded the fixed version... This time I downloaded, unpacked it myself into a fresh dwarf install and tried. Did not see extra diseases on save/reload (2 forts, 3 tries).
I'm also going to post the fixed disease probability raw for reference.
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: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: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: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: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: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: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: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: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: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:75: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: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]
[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: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: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: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:100: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: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:100: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]
And the script to make it:
#!/bin/bash
file="interaction_disease_probabilities.txt"
echo "interaction_disease_probabilities" > $file
echo "[OBJECT:INTERACTION]" >> $file
echo "" >> $file
while true
do
echo "Disease name? l lists, q quits"
read NAME
if [ "$NAME" = "l" ]
then
while read line
do
listing=`grep PROBABILITY $line`
echo $listing
done < $file
elif [ "$NAME" = "q" ]
then
exit 0
else
NAME=`echo $NAME | tr '[:lower:]' '[:upper:]'`
namelowercase=`echo "$NAME"|sed 's/_/ /g'|tr '[:upper:]' '[:lower:]'`
echo $namelowercase
echo " " >> $file
echo "[INTERACTION:"$NAME"_PROBABILITY]" >> $file
echo " " >> $file
echo " [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]" >> $file
echo " [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:"$NAME"_FIRST_CHECK_MADE]" >> $file
echo " [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]" >> $file
echo -n " [SYN_CLASS:"$NAME"_FIRST_CHECK_MADE][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0]" >> $file
echo "[SYN_NAME:"$namelowercase" check made]" >> $file
echo " " >> $file
echo "Outer probability?"
read prob
echo " [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]" >> $file
echo " [CE_CAN_DO_INTERACTION:PROB:$prob:START:0:END:3000]" >> $file
echo " " >> $file
echo " [CDI:INTERACTION:"$NAME"_PROB_INNER]" >> $file
echo " [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]" >> $file
echo " " >> $file
echo "[INTERACTION:"$NAME"_PROB_INNER]" >> $file
echo " " >> $file
echo " [I_TARGET:A:CREATURE][IT_LOCATION:CONTEXT_CREATURE]" >> $file
echo " [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED][IT_CANNOT_HAVE_SYNDROME_CLASS:"$NAME"_SECOND_CHECK_MADE]" >> $file
echo " [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]" >> $file
echo " [SYN_CLASS:"$NAME"_SECOND_CHECK_MADE][CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:99:START:0][SYN_NAME:"$namelowercase" secondary check made]" >> $file
echo " " >> $file
echo "Inner probability?"
read prob
echo " [I_EFFECT:ADD_SYNDROME][IE_TARGET:A][IE_IMMEDIATE][SYNDROME][SYN_AFFECTED_CLASS:GENERAL_POISON]" >> $file
echo " [CE_CAN_DO_INTERACTION:PROB:$prob:START:0:END:3000]" >> $file
echo " [CDI:INTERACTION:SPREAD_"$NAME"]" >> $file
echo " [CDI:TARGET:A:SELF_ONLY][CDI:FREE_ACTION][CDI:MAX_TARGET_NUMBER:A:1][CDI:WAIT_PERIOD:300001]" >> $file
echo " " >> $file
fi
done