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: inputcode|{{#expr: {{{sound|1}}}+0.1*{{{shore|1}}}+0.01*{{{vake|1}}}+0.001*{{{mark|1}}}+0.0001*{{{newt|1}}}}}}}<!--
+
{{#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.
  
-->{{#vardefine: usemark|{{#ifexpr: {{#expr: ({{{shore|1}}}+{{{sound|1}}})*{{{mark|1}}}}}|1|0}}}}<!--
+
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.
  
-->{{#vardefine: usenewt|{{#switch: {{#var:inputcode}}|1.1111 = 1|1.1101 = 1|1.1011 = 0|1.1001 = 0|1.0111 = 1|1.0101 = 1|1.0011 = 1|1.0001 = 1|0.1111 = 1|0.1101 = 0|0.1011 = 0|0.1001 = 0|0.0111 = 1|0.0101 = 1|0.0011 = 1|0.0001 = 1}}}}<!--
 
 
-->{{#vardefine: usesporing|{{#switch: {{#var:inputcode}}|1.1111 = 1|1.111  = 0|1.1101 = 1|1.11  = 0|1.1011 = 1|1.101  = 1|1.1001 = 1|1.1    = 1|1.0111 = 1|1.011  = 0|1.0101 = 1|1.01  = 0|1.0011 = 1|1.001  = 1|1.0001 = 1|1      = 1|0.1111 = 1|0.111  = 1|0.1101 = 0|0.11  = 0|0.1011 = 1|0.101  = 1|0.1001 = 1|0.1    = 1|0.0111 = 1|0.011  = 1|0.0101 = 1|0.01  = 0|0.0011 = 1|0.001  = 1|0.0001 = 1|0      = 1}}}}<!--
 
 
-->{{#vardefine: useclaw|{{#switch: {{#var:inputcode}}|1.1111 = 1|1.111  = 1|1.1101 = 1|1.11  = 1|1.1011 = 0|1.101  = 0|1.1001 = 0|1.1    = 0|1.0111 = 1|1.011  = 1|1.0101 = 1|1.01  = 1|1.0011 = 0|1.001  = 0|1.0001 = 0|1      = 0|0.1111 = 1|0.111  = 0|0.1101 = 1|0.11  = 1|0.1011 = 0|0.101  = 0|0.1001 = 0|0.1    = 0|0.0111 = 1|0.011  = 0|0.0101 = 1|0.01  = 1|0.0011 = 0|0.001  = 1|0.0001 = 0|0      = 0}}}}<!--
 
 
-->{{#vardefine: duchessspirit|{{#switch: {{#var:inputcode}}|1.1111 = 8.27|1.111  = 8.27|1.1101 = 8.26|1.11  = 8.26|1.1011 = 8.27|1.101  = 8.27|1.1001 = 8.26|1.1    = 8.26|1.0111 = 8.26|1.011  = 8.21|1.0101 = 8.26|1.01  = 8.20|1.0011 = 8.22|1.001  = 8.21|1.0001 = 8.20|1      = 8.19|0.1111 = 8.14|0.111  = 8.14|0.1101 = 8.13|0.11  = 8.13|0.1011 = 8.14|0.101  = 8.14|0.1001 = 8.12|0.1    = 8.12|0.0111 = 8.12|0.011  = 8.05|0.0101 = 8.12|0.01  = 8.04|0.0011 = 8.11|0.001  = 8.05|0.0001 = 8.09|0      = 8.03}}}}<!--
 
 
-->{{#vardefine: winglessduchessspirit|{{#switch: {{#expr: {{#var:inputcode}} - 1}}|0.1111 = 8.14|0.111  = 8.14|0.1101 = 8.13|0.11  = 8.13|0.1011 = 8.14|0.101  = 8.14|0.1001 = 8.12|0.1    = 8.12|0.0111 = 8.12|0.011  = 8.05|0.0101 = 8.12|0.01  = 8.04|0.0011 = 8.11|0.001  = 8.05|0.0001 = 8.09|0      = 8.03|ERROR}}}}<!--
 
 
-->{{#vardefine: underclayspirit|{{#switch: {{#expr: {{#var:inputcode}} round 3}}|1.111 = 7.26|1.011 = 7.25|1.101 = 7.26|1.001 = 7.15|1.11  = 7.25|1.01  = 7.25|1.1  = 7.25|1    = 7.13|0.111 = 7.24|0.011 = 7.11|0.101 = 7.13|0.001 = 6.95|0.11  = 7.23|0.01  = 7.11|0.1  = 7.11|0    = 6.92}}}}<!--
 
 
-->{{#vardefine: winglessunderclayspirit|{{#switch: {{#expr: {{#expr: {{#var:inputcode}} - 1}} round 3}}|0.111 = 7.24|0.011 = 7.11|0.101 = 7.13|0.001 = 6.95|0.11  = 7.23|0.01  = 7.11|0.1  = 7.11|0    = 6.92|ERROR}}}}<!--
 
 
-->Equip your Woesel{{#ifeq: {{#var: usemark}}|1|, your Mark of Disdain and all the Nightmares equipment that will fit around them| and all the Nightmares equipment that will fit around it}} for [[So hungry]], then use the Woesel{{#ifexpr: {{#var: usenewt}}|, the Diamond Newt|}}{{#ifexpr: {{#var: usesporing}}||, the Modish Bonnet}}{{#ifexpr: {{#var: useclaw}}||, the Censored Census}} and as much Nightmares equipment as will fit around that for [[Attend and speak of...terrible things.|Attend and speak of...terrible things]] to obtain {{#var:duchessspirit}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action.{{#ifexpr: {{{sound|1}}}|&nbsp; Note that with the same equipment but no Sound of Wings, it is possible to achieve {{#var: winglessduchessspirit}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action.|}}
 
 
If instead you're using [[Console the Calcified Man]] in the Underclay to top up Nightmares, equip yourself as above for [[So hungry]] and for the Underclay use the Woesel and as many Nightmares items as you can to achieve {{#var: underclayspirit}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action.{{#ifexpr: {{{sound|1}}}|&nbsp;Note that with the same equipment but no Sound of Wings, it is possible to achieve {{#var: winglessunderclayspirit}}{{IL|Spirit of Hallowmas|Appearance=SoH}}/action.|}}
 
 
<noinclude>
 
<noinclude>
Template for the So Hungry calculator in the Hallowmas guide. Apologies for all the lookup tables.
+
Template for the So Hungry calculator in the Hallowmas guide. Apologies for the awful code.
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"vake": {
+
"woesel": {
 
"type": "number",
 
"type": "number",
 
"required": true,
 
"required": true,
 
"default": "1"
 
"default": "1"
 
},
 
},
"mark": {
+
"nicomp": {
 
"type": "number",
 
"type": "number",
 
"required": true,
 
"required": true,
 
"default": "1"
 
"default": "1"
 
},
 
},
"shore": {
+
"vake": {
 
"type": "number",
 
"type": "number",
 
"required": true,
 
"required": true,
 
"default": "1"
 
"default": "1"
 
},
 
},
"newt": {
+
"sccloth": {
 
"type": "number",
 
"type": "number",
 
"required": true,
 
"required": true,
 
"default": "1"
 
"default": "1"
 
},
 
},
"sound": {
+
"census": {
 
"type": "number",
 
"type": "number",
 
"required": true,
 
"required": true,
 
"default": "1"
 
"default": "1"
 +
},
 +
"disco": {
 +
"type": "number",
 +
"required": true,
 +
"default": "4"
 
}
 
}
 
}
 
}

Please note that all contributions to Fallen London Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Fallen London Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Preview page with this template

Template used on this page: