CSMA Affliction Generator

Using the Classification System for Magical Afflictions

This generator is specific to the Ideation universe.
Further info at https://www.edeia-ideation.com/lore-guide/setting/csma

The basic format is:
[Pathogen Characteristics: H[types].P[#].I[#].S[type][#].D[type][#].T[#].V[type][#]] • [Host Effects: M[#].C[type][#].L[type][#].A[type][#].W[#]]

This chart uses input variables
  • use_html
  • show_guide
  • result_format
  • generate_extras
Result

{%if use_html == "true"%}

{%end%} {% show_shorthand = if_true condition:{result_format == "shorthand" or result_format == "both"} else:"false" then:"true" %} {% show_fulltext = if_true condition:{result_format == "full text" or result_format == "both"} else:"false" then:"true" %} {% show_basic_guide = if_true condition:{show_guide == "basic" or show_guide == "detailed"} else:"false" then:"true" %} {% show_detailed_guide = if_true condition:{show_guide == "detailed"} else:"false" then:"true" %} {% guide_background_color = "#4D5656" %} {% guide_text_color = "#D6DFDC" %} {% oddity_background_color = "#7F6D87" %} {% oddity_text_color = "#DFDDD6" %} {% scalerand = range from:0 to:10 %} {% scalerand_pos = range from:1 to:10 %} {#
#### Hazard Types (H) ####
#}
{% Htypes_ = unq count:{80%?1|18%?2|2%?3} source:[b, c, m, r, x] %} {% Htypes = join sep:"" source:Htypes_ %} {% HInfo = "The method of transmission." %} {%if use_html == "true"%} {% HInfo_extra = "Subtypes:

  • Biohazard ('b'); a mundane infection or similar.

  • Cognitive ('c'); a cognitohazard, specifically related to perception.

  • Memetic ('m'); a cognitohazard, specifically related to knowledge or understanding.

  • Ritual ('r'); can affect the dead.

  • Curse ('x'); may appear similar to biohazard, but with a magical basis.

" %}
{%else%} {% HInfo_extra = "Subtypes:
- Biohazard ('b'); a mundane infection or similar.
- Cognitive ('c'); a cognitohazard, specifically related to perception.
- Memetic ('m'); a cognitohazard, specifically related to knowledge or understanding.
- Ritual ('r'); can affect the dead.
- Curse ('x'); may appear similar to biohazard, but with a magical basis." %}
{%end%} {%if show_detailed_guide == "true"%} {% HInfo = join sep:" " source:[{$HInfo}, {$HInfo_extra}] %} {%end%} {#
#### Potency (P) ####
#}
{% Potency = {{scalerand}} %} {% PInfo = "The strength of the pathogen when compared to other afflictions." %} {% PInfo_extra = "If multiple pathogens are present, then those with a lower potency will have milder effects, or (if the difference in levels is 3 or greater) they may even be overpowered completely." %} {%if show_detailed_guide == "true"%} {% PInfo = join sep:" " source:[{$PInfo}, {$PInfo_extra}] %} {%end%} {#
#### Infectivity (I) ####
#}
{% percencheck = {d100} %} {% Infectypes_rand = ["i", "s", "e", "c"] %} {%if percencheck >= 98%} {% trio_nums = unq count:3 source:scalerand %} {% trio_types = unq count:2 source:Infectypes_rand %} {% Infect_ = [{$trio_nums.1}, [{$trio_types.1}, {$trio_nums.2}], [{$trio_types.2}, {$trio_nums.3}]] %} {% Infect = {{join source:[{$Infect_.1}, {{ join source:Infect_.2 sep:"" }}, {{ join source:Infect_.3 sep:"" }}] sep: ""}} %} {%elif percencheck >= 82%} {% duo_nums = unq count:2 source:scalerand %} {% Infect_ = [{$duo_nums.1}, [{{Infectypes_rand}}, {$duo_nums.2}]] %} {% Infect = {{join source:[{$Infect_.1}, {{ join source:Infect_.2 sep:"" }}] sep:""}} %} {%else%} {% Infect_ = [[{{scalerand}}]] %} {% Infect = Infect_.1 %} {%end%} {% IInfo = "How easily the pathogen spreads and how persistent it is after doing so." %} {%if use_html == "true"%} {% IInfo_extra = "Categories:

  • ease of infection ('i'); likelihood that exposure will result in infection.

  • intention requirement ('s'); higher values mean it spreads even if the infected individual tries to prevent it.

  • environmental persistence ('e'); e10 pathogens never fade.

  • contagiousness ('c'); likelihood of spreading between individuals.

" %}
{%else%} {% IInfo_extra = "Categories:
- ease of infection ('i'); likelihood that exposure will result in infection.
- intention requirement ('s'); higher values mean it spreads even if the infected individual tries to prevent it.
- environmental persistence ('e'); e10 pathogens never fade.
- contagiousness ('c'); likelihood of spreading between individuals." %}
{%end%} {%if show_detailed_guide == "true"%} {% IInfo = join sep:" " source:[{$IInfo}, {$IInfo_extra}] %} {%end%} {#
#### Stability (S) ####
#}
{% percencheck = {d200} %} {%if percencheck > 199%} {#
Odd case; the pathogen goes through alternating phases of stability and instability.
#}
{% Stability_ = ["u", {{scalerand_pos}}, "s", {{scalerand_pos}}] %} {%else%} {% Stability_ = [{s|u}, {{scalerand}}] %} {%end%} {% Stability = join sep:"" source:Stability_ %} {% SInfo = "The stability of the pathogen's traits and systems, both in individuals and as a whole." %} {%if use_html == "true"%} {% SInfo_extra = "Subtypes:

  • unstable ('u'); higher values mean decreased stability.

  • stable ('s'); higher values are more resistant to change or attempts at tampering.

    • " %} {%else%} {% SInfo_extra = "Subtypes:
      - unstable ('u'); higher values mean decreased stability.
      - stable ('s'); higher values are more resistant to change or attempts at tampering." %}
      {%end%} {%if show_detailed_guide == "true"%} {% SInfo = join sep:" " source:[{$SInfo}, {$SInfo_extra}] %} {%end%} {#
      #### Dormancy (D) ####
      #}
      {% percencheck = {d100} %} {%if percencheck >= 82%} {% duo_nums = unq count:2 source:scalerand %} {% Dormancy_ = [["p", {$duo_nums.1}], ["t", {$duo_nums.2}]] %} {% Dormancy = {{join source:[{{ join source:Dormancy_.1 sep:"" }}, {{ join source:Dormancy_.2 sep:"" }} ] sep:""}} %} {%else%} {% Dormancy_ = [[{p|t}, {{scalerand}}]] %} {% Dormancy = join sep:"" source:Dormancy_.1 %} {%end%} {% DInfo = "The strength or duration of the pathogen's dormancy period." %} {%if use_html == "true"%} {% DInfo_extra = "Subtypes:


      • period ('p'); duration of dormancy, with the following thresholds:

        • 0: instant.

        • 1: within 1 day.

        • 2: within 1 week.

        • 5: within 1 year.

        • 8: decades.

        • 9: centuries.

        • 10: indefinite.



      • trigger ('t'); difficulty of activation (t0 requires no specific trigger).

      " %}
      {%else%} {% DInfo_extra = "Subtypes:
      - period ('p'); duration of dormancy, with the following thresholds: (0: instant, 1: within 1 day, 2: within 1 week, 5: within 1 year, 8: decades, 9: centuries, 10: indefinite).
      - trigger ('t'); difficulty of activation (t0 requires no specific trigger)." %}
      {%end%} {%if show_detailed_guide == "true"%} {% DInfo = join sep:" " source:[{$DInfo}, {$DInfo_extra}] %} {%end%} {#
      #### Transmission Complexity (T) ####
      #}
      {% Transcomplex = drop_highest items:[{{scalerand}}, {{scalerand}}] %} {% TInfo = "The degree of complexity in transmission between individuals." %} {% TInfo_extra = "Higher scores may indicate that more steps are involved, that there is a high percentage of asymptomatic carriers, or that more specific conditions are required for transmission. (T0 has no requirements, while T10 pathogens could require a dozen steps or more.) The sequence is typically considered complete when the infected individual becomes infectious themself." %} {%if show_detailed_guide == "true"%} {% TInfo = join sep:" " source:[{$TInfo}, {$TInfo_extra}] %} {%end%} {#
      #### Severity (V) ####
      #}
      {% percentypes = {d100} %} {%if percentypes >= 82%} {% Severity_ = [[{p|r}, {{scalerand}}]] %} {% Severity = Severity_.1 %} {%else%} {% duo_nums = unq count:2 source:scalerand %} {% Severity_ = [["p", {$duo_nums.1}], ["r", {$duo_nums.2}]] %} {% Severity = {{join source:[{{ join source:Severity_.1 sep:"" }}, {{ join source:Severity_.2 sep:"" }}] sep:""}} %} {%end%} {% VInfo = "The ease of treatment and/or chances of spontaneous recovery." %} {%if use_html == "true"%} {% VInfo_extra = "Subtypes:

      • permanence ('p'); chances of recovering without treatment (p0 is guaranteed, while p10 is impossible).

      • resistance ('r'); chances of recovering in response to treatment (r10 is untreatable).

      " %}
      {%else%} {% VInfo_extra = "Subtypes:
      - permanence ('p'); chances of recovering without treatment (p0 is guaranteed, while p10 is impossible).
      - resistance ('r'); chances of recovering in response to treatment (r10 is untreatable)." %}
      {%end%} {%if show_detailed_guide == "true"%} {% VInfo = join sep:" " source:[{$VInfo}, {$VInfo_extra}] %} {%end%} {#
      #### Mutation ####
      #}
      {% Mutation = {{scalerand}} %} {% MInfo = "Degree of mutation the pathogen causes." %} {% MInfo_extra = "This may involve physical form, internal physiology, or both." %} {%if show_detailed_guide == "true"%} {% MInfo = join sep:" " source:[{$MInfo}, {$MInfo_extra}] %} {%end%} {#
      #### Cognitive Impact ####
      #}
      {% percencheck = {d200} %} {%if percencheck >= 199%} {#
      Include a very small chance to generate both cognitive enhancement and cognitive degradation
      #}
      {% duo_nums = unq count:2 source:scalerand_pos %} {% duo_types = unq count:2 source:[i, d, c] %} {% Cognitive_ = [[{$duo_types.1}, {$duo_nums.1}], [{$duo_types.2}, {$duo_nums.2}]] %} {% Cognitive = join sep:"" source:[{{ join sep:"" source:Cognitive_.1 }}, {{ join sep:"" source:Cognitive_.2 }}] %} {%elif percencheck >= 82%} {% duo_nums = unq count:2 source:scalerand %} {% Cognitive_ = [[{i|d}, {$duo_nums.1}], ["c", {$duo_nums.2}]] %} {% Cognitive = join sep:"" source:[{{ join sep:"" source:Cognitive_.1 }}, {{ join sep:"" source:Cognitive_.2 }}] %} {%else%} {% Cognitive_ = [[{i|d|c}, {{scalerand}}]] %} {% Cognitive = join sep:"" source:Cognitive_.1 %} {%end%} {% CInfo = "The type and degree of influence the pathogen has over the infected individual's thoughts and mind." %} {%if use_html == "true"%} {% CInfo_extra = "Subtypes:

      • intelligence enhancement ('i'); exactly what it says on the tin.

      • cognitive degradation ('d'); d10 is mindless (Cc is not relevant in this case, since it's all instincts).
      • compulsive behaviors ('c'); may include a desire to infect others.

      " %}
      {%else%} {% CInfo_extra = "Subtypes:
      - intelligence enhancement ('i'); exactly what it says on the tin.
      - cognitive degradation ('d'); d10 is mindless (Cc is not relevant in this case, since it's all instincts).
      - compulsive behaviors ('c'); may include a desire to infect others." %}
      {%end%} {%if show_detailed_guide == "true"%} {% CInfo = join sep:" " source:[{$CInfo}, {$CInfo_extra}] %} {%end%} {#
      #### Lifespan Modification ####
      #}
      {% percencheck = {d200} %} {%if percencheck >= 199%} {#
      Odd case; this contradictory result suggests death and then undeath afterwards
      #}
      {% Lifespan_ = ["d", {{scalerand}}, "i", {{scalerand}}] %} {%else%} {% Lifespan_ = [{i|d}, {{scalerand}}] %} {%end%} {% Lifespan = join sep:"" source:Lifespan_ %} {% LInfo = "Extent of lifespan difference among those infected." %} {%if use_html == "true"%} {% LInfo_extra = "Subtypes:

      • life extension ('i'); becomes ageless immortality at i10.

      • life reduction('d'); becomes instant death at d10.

      " %}
      {%else%} {% LInfo_extra = "Subtypes:
      - life extension ('i'); becomes ageless immortality at i10.
      - life reduction('d'); becomes instant death at d10." %}
      {%end%} {%if show_detailed_guide == "true"%} {% LInfo = join sep:" " source:[{$LInfo}, {$LInfo_extra}] %} {%end%} {#
      #### Augmentation ####
      #}
      {% percencheck = {d100} %} {% Augmentypes = ["m", "p", "t", "r"] %} {%if percencheck >= 98%} {% trio_nums = unq count:3 source:scalerand %} {% trio_types = unq count:2 source:Augmentypes %} {% Augment_ = [{$trio_nums.1}, [{$trio_types.1}, {$trio_nums.2}], [{$trio_types.2}, {$trio_nums.3}]] %} {% Augment = {{join source:[{$Augment_.1}, {{ join source:Augment_.2 sep: "" }}, {{ join source:Augment_.3 sep:"" }}] sep:""}} %} {%elif percencheck >= 82%} {% duo_nums = unq count:2 source:scalerand %} {% Augment_ = [{$duo_nums.1}, [{m|p|t|r}, {$duo_nums.2}]] %} {% Augment = {{join source:[{$Augment_.1}, {{ join source:Augment_.2 sep:"" }}] sep:""}} %} {%else%} {% Augment_ = [{{scalerand}}] %} {% Augment = Augment_.1 %} {%end%} {% AInfo = "Abilities and powers granted by the affliction." %} {%if use_html == "true"%} {% AInfo_extra = "Subtypes:

      • magical capabilities ('m')

      • physical enhancements ('p')

      • transformation abilities ('t')

      • regenerative powers ('r')

      " %}
      {%else%} {% AInfo_extra = "Subtypes:
      - magical capabilities ('m')
      - physical enhancements ('p')
      - transformation abilities ('t')
      - regenerative powers ('r')" %}
      {%end%} {%if show_detailed_guide == "true"%} {% AInfo = join sep:" " source:[{$AInfo}, {$AInfo_extra}] %} {%end%} {#
      #### Weakness ####
      #}
      {% Weakness = {{scalerand}} %} {% WInfo = "Weaknesses inflicted by the pathogen." %} {% WInfo_extra = "This may include sensitivities, toxicity, etc." %} {%if show_detailed_guide == "true"%} {% WInfo = join sep:" " source:[{$WInfo}, {$WInfo_extra}] %} {%end%} {%if show_shorthand == "true"%} ### CSMA Notation H{$Htypes}.P{$Potency}.I{$Infect}.S{$Stability}.D{$Dormancy}.T{$Transcomplex}.V{$Severity} • M{$Mutation}.C{$Cognitive}.L{$Lifespan}.A{$Augment}.W{$Weakness} {%end%} {%if show_fulltext == "true"%} ### Full Text {% Htypes_array = [] %} {%for indicator in Htypes_%} {%if show_guide != "none"%} {% Htypes_array = concat left:Htypes_array right:"biohazard" %} {%end%} {% Htypes_array = concat left:Htypes_array right:"cognitive" %} {%elif indicator == "m"%} {% Htypes_array = concat left:Htypes_array right:"memetic" %} {%elif indicator == "r"%} {% Htypes_array = concat left:Htypes_array right:"ritual" %} {%elif indicator == "x"%} {% Htypes_array = concat left:Htypes_array right:"curse" %} {%else%} error: hazard type not recognized: {$indicator} {%end%} {%end%} **Hazard Types (H):** {{ join source:Htypes_array }} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$HInfo}
      {%else%} _{{HInfo}}_ {%end%} {%end%} **Potency (P):** {$Potency} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$PInfo}
      {%else%} _{{PInfo}}_ {%end%} {%end%} **Infectivity (I):** {$Infect_.1} {%if Infect_.size > 1%} (overall) {#
      Clear out the first number, since we already rendered it
      #}
      {% Infect_ = remove at:1 source:Infect_ %} {%if use_html == "true"%} {% printfect = "
        " %} {%for pair in Infect_%} {%if pair.1 == "i"%} {% printfect = join sep:"" source:[{$printfect},
      • ease of infection: , {$pair.2},
      • ] %}
        {%elif pair.1 == "s"%} {% printfect = join sep:"" source:[{$printfect},
      • intention requirement: , {$pair.2},
      • ] %}
        {%elif pair.1 == "e"%} {% printfect = join sep:"" source:[{$printfect},
      • environmental persistence: , {$pair.2},
      • ] %}
        {%elif pair.1 == "c"%} {% printfect = join sep:"" source:[{$printfect},
      • contagiousness: , {$pair.2},
      • ] %}
        {%else%} error: infection type not recognized: {$pair.1} {%end%} {%end%} {% printfect = join sep:"" source:[{$printfect},
      ] %}
      {%else%} {% printfect = "" %} {%for pair in Infect_%} {%if pair.1 == "i"%} {% printfect = join sep:"" source:[{$printfect},
      - ease of infection: , {$pair.2}] %}
      {%elif pair.1 == "s"%} {% printfect = join sep:"" source:[{$printfect},
      - intention requirement: , {$pair.2}] %}
      {%elif pair.1 == "e"%} {% printfect = join sep:"" source:[{$printfect},
      - environmental persistence: , {$pair.2}] %}
      {%elif pair.1 == "c"%} {% printfect = join sep:"" source:[{$printfect},
      - contagiousness: , {$pair.2}] %}
      {%else%} error: infection type not recognized: {$pair.1} {%end%} {%end%} {%end%} {{printfect}} {%end%} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$IInfo}
      {%else%} _{{IInfo}}_ {%end%} {%end%} {% oddity_detected = "false" %} **Stability (S):** {%if {$Stability_.size} == 2-%} {%if {$Stability_.2} == 0-%} 0 (neutral) {%-elif {$Stability_.1} == "u"-%} -{$Stability_.2} (unstable) {%-elif {$Stability_.1} == "s"-%} {$Stability_.2} (stable) {%-end%} {%-else-%} {$Stability_.2} (unstable)/{$Stability_.4} (stable) {% oddity_detected = "true" %} {%-end%} {#
      ^ Unusual formatting and '-' symbols are to make it end up on one line
      #}
      {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$SInfo}
      {%else%} _{{SInfo}}_ {%end%} {%end%} {#
      Check for oddities
      #}
      {%if oddity_detected == "true"%} {%if use_html == "true"%}
      {$oddity_text_color}; background-color: {$oddity_background_color};'>
      Oddity detected; this contradictory result suggests that the pathogen goes through alternating phases of stability and instability.
      {%else%} - _**Oddity** detected; this contradictory result suggests that the pathogen goes through alternating phases of stability and instability. {%end%} {%end%} **Dormancy (D):** {%if use_html == "true"%} {% printdor = "
        " %} {%for pair in Dormancy_%} {%if pair.1 == "p"%} {% printdor = join sep:"" source:[{$printdor},
      • period: , {$pair.2},
      • ] %}
        {%elif pair.1 == "t"%} {% printdor = join sep:"" source:[{$printdor},
      • trigger: , {$pair.2},
      • ] %}
        {%else%} error: dormancy type not recognized: {$pair.1} {%end%} {%end%} {% printdor = join sep:"" source:[{$printdor},
      ] %}
      {%else%} {% printdor = "" %} {%for pair in Dormancy_%} {%if pair.1 == "p"%} {% printdor = join sep:"" source:[{$printdor},
      - period: , {$pair.2}] %}
      {%elif pair.1 == "t"%} {% printdor = join sep:"" source:[{$printdor},
      - trigger: , {$pair.2}] %}
      {%else%} error: dormancy type not recognized: {$pair.1} {%end%} {%end%} {%end%} {{printdor}} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$DInfo}
      {%else%} _{{DInfo}}_ {%end%} {%end%} **Transmission Complexity (T):** {$Transcomplex} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$TInfo}
      {%else%} _{{TInfo}}_ {%end%} {%end%} **Severity (V):** {%if use_html == "true"%} {% printsev = "
        " %} {%for pair in Severity_%} {%if pair.1 == "p"%} {% printsev = join sep:"" source:[{$printsev},
      • permanence: , {$pair.2},
      • ] %}
        {%elif pair.1 == "r"%} {% printsev = join sep:"" source:[{$printsev},
      • resistance: , {$pair.2},
      • ] %}
        {%else%} error: severity type not recognized: {$pair.1} {%end%} {%end%} {% printsev = join sep:"" source:[{$printsev},
      ] %}
      {%else%} {% printsev = "" %} {%for pair in Severity_%} {%if pair.1 == "p"%} {% printsev = join sep:"" source:[{$printsev},
      - permanence: , {$pair.2}] %}
      {%elif pair.1 == "r"%} {% printsev = join sep:"" source:[{$printsev},
      - resistance: , {$pair.2}] %}
      {%else%} error: severity type not recognized: {$pair.1} {%end%} {%end%} {%end%} {{printsev}} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$VInfo}
      {%else%} _{{VInfo}}_ {%end%} {%end%} **Mutation (M):** {$Mutation} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$MInfo}
      {%else%} _{{MInfo}}_ {%end%} {%end%} **Cognitive Impact (C):** {%if use_html == "true"%} {% printcog = "
        " %} {% oddity_threshold = [] %} {%for pair in Cognitive_%} {%if {$pair.1} == "i"%} {% printcog = join sep:"" source:[{$printcog},
      • intelligence enhancement: , {$pair.2},
      • ] %}
        {% oddity_threshold = concat left:oddity_threshold right:"i" %} {%elif {$pair.1} == "d"%} {% printcog = join sep:"" source:[{$printcog},
      • intelligence degradation: , {$pair.2},
      • ] %}
        {% oddity_threshold = concat left:oddity_threshold right:"d" %} {%elif {$pair.1} == "c"%} {% printcog = join sep:"" source:[{$printcog},
      • compulsive behaviors: , {$pair.2},
      • ] %}
        {%else%} error: cognitive impact type not recognized: {$pair.1} {%end%} {%end%} {% printcog = join sep:"" source:[{$printcog},
      ] %}
      {%else%} {% printcog = "" %} {% oddity_threshold = [] %} {%for pair in Cognitive_%} {%if {$pair.1} == "i"%} {% printcog = join sep:"" source:[{$printcog},
      - intelligence enhancement: , {$pair.2}] %}
      {% oddity_threshold = concat left:oddity_threshold right:"i" %} {%elif {$pair.1} == "d"%} {% printcog = join sep:"" source:[{$printcog},
      - intelligence degradation: , {$pair.2}] %}
      {% oddity_threshold = concat left:oddity_threshold right:"d" %} {%elif {$pair.1} == "c"%} {% printcog = join sep:"" source:[{$printcog},
      - compulsive behaviors: , {$pair.2}] %}
      {%else%} error: cognitive impact type not recognized: {$pair.1} {%end%} {%end%} {%end%} {{printcog}} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$CInfo}
      {%else%} _{{CInfo}}_ {%end%} {%end%} {#
      Check for oddities
      #}
      {%if {$oddity_threshold.size} == 2%} {%if use_html == "true"%}
      {$oddity_text_color}; background-color: {$oddity_background_color};'>
      Oddity detected; this contradictory result suggests cognitive enhancement in some areas and cognitive degradation in others.
      {%else%} - _**Oddity** detected; this contradictory result suggests cognitive enhancement in some areas and cognitive degradation in others._ {%end%} {%end%} {% oddity_detected = "false" %} **Lifespan Modification (L):** {%if {$Lifespan_.size} == 2-%} {%-if {$Lifespan_.2} == 0-%} 0 (neutral) {%-elif {$Lifespan_.1} == "i"-%} {$Lifespan_.2} (extension) {%-elif {$Lifespan_.1} == "d"-%} -{$Lifespan_.2} (reduction) {%-else-%} error: lifespan type not recognized: {$Lifespan_.1} {%-end-%} {%-end%} {#
      ^ Unusual formatting and '-' symbols are to make it end up on one line
      #}
      {%if {$Lifespan_.size} == 4%} {% oddity_detected = "true" %} {%if use_html == "true"%}
      • reduction: {$Lifespan_.2}
      • extension: {$Lifespan_.4}
      {%else%} - reduction: {$Lifespan_.2} - extension: {$Lifespan_.4} {%end%} {%end%} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$LInfo}
      {%else%} _{{LInfo}}_ {%end%} {%end%} {#
      Check for oddities
      #}
      {%if oddity_detected == "true"%} {%if use_html == "true"%}
      {$oddity_text_color}; background-color: {$oddity_background_color};'>
      Oddity detected; this contradictory result implies death and then undeath afterwards.
      {%else%} - _**Oddity** detected; this contradictory result implies death and then undeath afterwards._ {%end%} {%end%} **Augmentation (A):** {$Augment_.1} {%if Augment_.size > 1%} (overall) {#
      Clear out the first number, since we already rendered it
      #}
      {% Augment_ = remove at:1 source:Augment_ %} {%if use_html == "true"%} {% printaug = "
        " %} {%for pair in Augment_%} {%if pair.1 == "m"%} {% printaug = join sep:"" source:[{$printaug},
      • magical capabilities: , {$pair.2},
      • ] %}
        {%elif pair.1 == "p"%} {% printaug = join sep:"" source:[{$printaug},
      • physical enhancements: , {$pair.2},
      • ] %}
        {%elif pair.1 == "t"%} {% printaug = join sep:"" source:[{$printaug},
      • transformation abilities: , {$pair.2},
      • ] %}
        {%elif pair.1 == "r"%} {% printaug = join sep:"" source:[{$printaug},
      • regenerative powers: , {$pair.2},
      • ] %}
        {%else%} error: augmentation type not recognized: {$pair.1} {%end%} {%end%} {% printaug = join sep:"" source:[{$printaug},
      ] %}
      {%else%} {% printaug = "" %} {%for pair in Augment_%} {%if pair.1 == "m"%} {% printaug = join sep:"" source:[{$printaug},
      - magical capabilities: , {$pair.2}] %}
      {%elif pair.1 == "p"%} {% printaug = join sep:"" source:[{$printaug},
      - physical enhancements: , {$pair.2}] %}
      {%elif pair.1 == "t"%} {% printaug = join sep:"" source:[{$printaug},
      - transformation abilities: , {$pair.2}] %}
      {%elif pair.1 == "r"%} {% printaug = join sep:"" source:[{$printaug},
      - regenerative powers: , {$pair.2}] %}
      {%else%} error: augmentation type not recognized: {$pair.1} {%end%} {%end%} {%end%} {{printaug}} {%end%} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$AInfo}
      {%else%} _{{AInfo}}_ {%end%} {%end%} **Weakness (W):** {$Weakness} {#
      >>>>>>> Print out the relevant guide section <<<<<<<
      #}
      {%if show_guide != "none"%} {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$WInfo}
      {%else%} _{{WInfo}}_ {%end%} {%end%} {#
      End of full-text printout
      #}
      {%end%} {%if generate_extras == "true"%} ### Notes {%data_block pathogen_status%} spreading quickly quarantined rendered harmless eradicated {%end%} {%data_block entity_types_sapient%} Edeia Ideated individual an Ideogenic species extradimensional magical entity Sanctuary resident human {%end%} {%data_block pathogen_results%} an Ideogenic species local extinctions ghost towns stricter regulations a diplomatic incident {%end%} {%data_block pathogen_causes%} an accident mutation of an existing Resolve: {magical|non-magical} pathogen dimensional travel {{ a_an input:{{entity_types_sapient}} }}^{$entity_types_sapient.size} {%end%} {%data_block pathogen_timespan%} Roll d12 Roll d60 Roll 6d12 Roll d10*10 {%end%} {%data_block aesthetic_associations%} the color {{ lower input:{{ roll_chart id:87163 }} }} {{ lower input:{{ join sep:" " source:[{{ roll_chart cols:1 id:87062 }}, {{ roll_chart cols:2 id:87062 }}] }} }} {# Plant types #} {%end%} {%data_block random_tidbits%} has been {{pathogen_status}} has resulted in {{pathogen_results}} Resolve: {was|seems to have been|might have been|probably was not} caused by {{pathogen_causes}} Resolve: {10%?does not have any|has very few} Resolve: {physical symptoms|methods of treatment|known cases} was Resolve: {first|last} recorded Resolve: {about|at least|at most|} {{pathogen_timespan}} Resolve: {10%?month(s)|40%?year(s)|25%?decade(s)|25%?centuries} ago Resolve: {has been studied|{treatment|quarantine procedure|vaccine|cure} developed|discovered} by {{ a_an input:{{entity_types_sapient}} }} is Resolve: {weakly|strongly|} associated with {{aesthetic_associations}} {%end%} {% percencheck = {d100} %} {%if percencheck > 90%} {% tidbits_list = unq count:3 source:random_tidbits %} {%elif percencheck > 70%} {% tidbits_list = unq count:2 source:random_tidbits %} {%else%} {% tidbits_list = unq count:1 source:random_tidbits %} {%end%} _(If any of these conflict, it could be that they were each true at different points of time, that there were misconceptions about which was true, or something else entirely.)_ {% printbits = "" %} {%if use_html == "true"%} {%for tidbit in tidbits_list%} {% printbits = join sep:"" source:[{$printbits},
    • , tidbit,
    • ] %}
      {%end%}
        {{printbits}}
      {%else%} {%for tidbit in tidbits_list%} {% printbits = join sep:"" source:[{$printbits},
      - , {$tidbit}] %}
      {%end%} {{printbits}} {%end%} {#
      End of generated extras
      #}
      {%end%} {%if show_guide != "none" and show_fulltext == "false"%} ### Explanation of types **Hazard Types (H)** {%end%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$HInfo}
      {%else%} _{{HInfo}}_ {%end%} **Potency Resolve: {P}** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$PInfo}
      {%else%} _{{PInfo}}_ {%end%} **Infectivity (I)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$IInfo}
      {%else%} _{{IInfo}}_ {%end%} **Stability (S)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$SInfo}
      {%else%} _{{SInfo}}_ {%end%} **Dormancy (D)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$DInfo}
      {%else%} _{{DInfo}}_ {%end%} **Transmission Complexity (T)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$TInfo}
      {%else%} _{{TInfo}}_ {%end%} **Severity (V)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$VInfo}
      {%else%} _{{VInfo}}_ {%end%} **Mutation (M)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$MInfo}
      {%else%} _{{MInfo}}_ {%end%} **Cognitive Impact (C)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$CInfo}
      {%else%} _{{CInfo}}_ {%end%} **Lifespan Modification (L)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$LInfo}
      {%else%} _{{LInfo}}_ {%end%} **Augmentation (A)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$AInfo}
      {%else%} _{{AInfo}}_ {%end%} **Weakness (W)** {%if use_html == "true"%}
      {$guide_text_color}; background-color: {$guide_background_color};'>
      {$WInfo}
      {%else%} _{{WInfo}}_ {%end%} {#
      End of separate guide
      #}
      {%end%} {#
      End of page
      #}
      {%if use_html == "true"%}

{%end%}