Difference between revisions of "Template:Plant/Max Yield Per Day"

From RimWorld Wiki
Jump to navigation Jump to search
(added Potato Plant as default value and updated the properties names)
 
Line 1: Line 1:
   {{#vardefine: yield  | {{Q| {{{1}}} | Harvest Yield Max }}
+
   {{#vardefine: yield  | {{Q| {{{1|Potato Plant}}} | Maximum Yield }}
}}{{#vardefine: days    | {{Q| {{{1}}} | Grow Days }}
+
}}{{#vardefine: days    | {{Q| {{{1|Potato Plant}}} | Growth Time }}
}}{{#vardefine: fmin    | {{Q| {{{1}}} | Fertility Min }}
+
}}{{#vardefine: fmin    | {{Q| {{{1|Potato Plant}}} | Fertility Min }}
}}{{#vardefine: ffactor | {{Q| {{{1}}} | Fertility Factor Growth Rate }}
+
}}{{#vardefine: ffactor | {{Q| {{{1|Potato Plant}}} | Fertility Factor}}
 
}}{{#vardefine: resting | 0.45
 
}}{{#vardefine: resting | 0.45
 
}}{{#expr: {{#var: yield}} * (1 - {{#var:resting}}) * (({{{2|1}}} * {{#var: ffactor}}) + 1 - {{#var: ffactor}}) / {{#var: days}} round 2}}
 
}}{{#expr: {{#var: yield}} * (1 - {{#var:resting}}) * (({{{2|1}}} * {{#var: ffactor}}) + 1 - {{#var: ffactor}}) / {{#var: days}} round 2}}

Latest revision as of 13:02, 25 September 2016

 Expression error: Unexpected * operator.