Editing Template:Stat Factors Table

Jump to navigation Jump to search

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:
 
<noinclude>{{Recode|reason=The capacity detection system (the huge switch statement) is only a proof of concept and its a cludge with a lot of needless memory usage atm. Needs to be refined but I've run out of time and can't do code on a phone -- [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]])}}</noinclude><includeonly>{{#vardefine: statName | {{{1|{{PAGENAME}}}}} }}<!--
 
<noinclude>{{Recode|reason=The capacity detection system (the huge switch statement) is only a proof of concept and its a cludge with a lot of needless memory usage atm. Needs to be refined but I've run out of time and can't do code on a phone -- [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]])}}</noinclude><includeonly>{{#vardefine: statName | {{{1|{{PAGENAME}}}}} }}<!--
-->{{#vardefine: statMax | {{Q|{{#var: statName}}|Stat Maximum|99999999}} }}<!--
+
-->{{#vardefine: statMax |{{#expr:{{Q|{{#var: statName}}|Stat Maximum|99999999}}*100}} }}<!--
-->{{#vardefine: statMin | {{Q|{{#var: statName}}|Stat Minimum|0}} }}<!--
+
-->{{#vardefine: statMin |{{#expr:{{Q|{{#var: statName}}|Stat Minimum|0}}*100}} }}<!--
 
-->{{#vardefine: skillBase | {{Q|{{#var: statName}}|Skill Base Factor}} }}<!--
 
-->{{#vardefine: skillBase | {{Q|{{#var: statName}}|Skill Base Factor}} }}<!--
 
-->{{#vardefine: skillBonus | {{Q|{{#var: statName}}|Skill Bonus Factor}} }}<!--
 
-->{{#vardefine: skillBonus | {{Q|{{#var: statName}}|Skill Bonus Factor}} }}<!--
Line 17: Line 17:
 
| {{#ifeq: {{Q|{{#var: statName}}|Metabolism Limit}} | - |1|0}}      = Metabolism
 
| {{#ifeq: {{Q|{{#var: statName}}|Metabolism Limit}} | - |1|0}}      = Metabolism
 
| {{#ifeq: {{Q|{{#var: statName}}|Blood Filtration Limit}} | - |1|0}} = Blood Filtration
 
| {{#ifeq: {{Q|{{#var: statName}}|Blood Filtration Limit}} | - |1|0}} = Blood Filtration
| {{#ifeq: {{Q|{{#var: statName}}|Pain Limit}}| - |1|0}}             = Pain
+
| {{#ifeq: {{Q|{{#var: statName}}|Pain Limit}}| - |1|0}}             = Pain
 
<!-- If no, is there an a capacity with limit > 100%-->
 
<!-- If no, is there an a capacity with limit > 100%-->
 
| {{#ifexpr: {{Q|{{#var: statName}}|Manipulation Limit}} > 1|1|0}}    = Manipulation
 
| {{#ifexpr: {{Q|{{#var: statName}}|Manipulation Limit}} > 1|1|0}}    = Manipulation

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld 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!

Cancel Editing help (opens in new window)