Difference between revisions of "Template:Plant/Needed Per Colonist"
Jump to navigation
Jump to search
(Uses {Plant/Max Yield Per Day} like the old code and no longer calculate it self) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#vardefine: yield | {{Plant/Max Yield Per Day| {{{1|Rice Plant}}} | {{{2|1}}} }} | |
− | + | }}{{#vardefine: harvest | {{Q| {{{1|Rice Plant}}} | Harvested Product }} | |
− | {{#vardefine: yield | {{Plant/Max Yield Per Day| {{{ | ||
− | |||
− | }}{{#vardefine | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{#vardefine: nutrition | {{Q| {{#var: harvest}} | Nutrition }} | }}{{#vardefine: nutrition | {{Q| {{#var: harvest}} | Nutrition }} | ||
}}{{#vardefine: hunger | 0.8 | }}{{#vardefine: hunger | 0.8 | ||
}}{{#expr: {{#var:hunger}} / ({{#var: yield}} * {{#var: nutrition}}) round 0 }} | }}{{#expr: {{#var:hunger}} / ({{#var: yield}} * {{#var: nutrition}}) round 0 }} | ||
− | |||
− |
Latest revision as of 19:43, 27 September 2016
Expression error: Unexpected < operator.