Editing Template:SoHungryCalculator
From Fallen London Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{#vardefine: | + | {{#vardefine: maxN|{{#expr: 1 + {{{woesel|1}}} + {{{nicomp|1}}} - ( {{{woesel|1}}} * {{{nicomp|1}}} ) + {{{vake|1}}}}} |
+ | }}{{#vardefine: clearS|{{#expr:1+{{{sccloth|1}}}+{{{census|1}}}*(1-{{{vake|1}}})}} | ||
+ | }}{{#vardefine: contested|{{#expr:1+{{{vake|1}}}*{{{census|1}}}}} | ||
+ | }}{{#vardefine: duchessN|{{#ifexpr:{{#var: clearS}}+{{#var: contested}}>={{{woesel|1}}}*{{#var: maxN}}|{{#var: maxN}}|{{#expr:{{#var: maxN}}-{{#var:contested}}}}}} | ||
+ | }}{{#vardefine: duchessS|{{#ifexpr:{{#var: clearS}}+{{#var: contested}}>={{{woesel|1}}}*{{#var: maxN}}|{{#var: clearS}}|{{#expr:{{#var: clearS}}+{{#var:contested}}}}}} | ||
+ | }}{{#vardefine: inputcode|{{#expr: 100*{{#var:maxN}}+10*{{#var:duchessN}}+{{#var:duchessS}}}} | ||
+ | }}{{#vardefine: duchessSoH|{{#ifexpr: {{{woesel|1}}}=1|{{#switch:{{#var: inputcode}}|332 = 7.61|331 = 7.51|322 = 7.54|311 = 7.35|223 = 7.58|222 = 7.51|211 = 7.33}}|{{#switch:{{#var: inputcode}}|332 = 6.66|331 = 6.63|223 = 6.55|222 = 6.54|221 = 6.52|113 = 6.36|112 = 6.34|111 = 6.32}}}} | ||
+ | }}{{#vardefine: underclaySoH|{{#ifexpr:{{{woesel|1}}}|{{#switch:{{#var:maxN}}|3 = 6.57|2 = 6.40}}|{{#switch:{{#expr:10*{{#var:maxN}}+{{{disco|4}}}}}|34 = 6.35|35 = 6.06|36 = 5.72|37 = 5.33|24 = 6.18|25 = 5.88|26 = 5.55|27 = 5.16|14 = 5.91|15 = 5.63|16 = 5.30|17 = 4.91}}}}}} | ||
+ | Equip {{#ifexpr:{{{woesel|1}}}|your Woesel and all your (non-companion)| all your}} Nightmares-increasing items when playing [[So hungry]], and top up your Nightmares with [[Attend and speak of...terrible things.|Attend and speak of...terrible things]] whilst wearing {{#ifexpr:{{{woesel|1}}}=1|your Woesel, all your|all your}} non-Companion {{#ifexpr:{{#var: clearS}}+{{#var: contested}}>{{{woesel|1}}}*{{#var: maxN}}|Scandal|Nightmares}} equipment and as much {{#ifexpr:{{#var: clearS}}+{{#var: contested}}>{{{woesel|1}}}*{{#var: maxN}}|Nightmares|Scandal}} equipment as you can fit around it for an average of {{#var: duchessSoH}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action. | ||
− | + | Alternatively, if you're using {{#ifexpr:{{{woesel|1}}}|[[Console the Calcified Man]]|[[Listen to the silence]]}} in the Underclay for top-up, you should obviously equip {{#ifexpr:{{{woesel|1}}}|your Woesel, and as much Nightmares-increasing equipent as you can fit around it|all your Nightmares-increasing equipment}} for an average of {{#var: underclaySoH}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<noinclude> | <noinclude> | ||
− | Template for the So Hungry calculator in the Hallowmas guide. Apologies for | + | Template for the So Hungry calculator in the Hallowmas guide. Apologies for the awful code. |
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
− | " | + | "woesel": { |
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"default": "1" | "default": "1" | ||
}, | }, | ||
− | " | + | "nicomp": { |
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"default": "1" | "default": "1" | ||
}, | }, | ||
− | " | + | "vake": { |
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"default": "1" | "default": "1" | ||
}, | }, | ||
− | " | + | "sccloth": { |
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"default": "1" | "default": "1" | ||
}, | }, | ||
− | " | + | "census": { |
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"default": "1" | "default": "1" | ||
+ | }, | ||
+ | "disco": { | ||
+ | "type": "number", | ||
+ | "required": true, | ||
+ | "default": "4" | ||
} | } | ||
} | } |