Template:FarmingCrops/row: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Still in testing. -->
<includeonly><tr>
<includeonly><tr>
<td>[[File:FarmCrop{{#var:index}}.png]]{{{name|Apple}}}</td>
<td>[[File:FarmCrop{{#var:index}}.png|link=]] {{{name|Apple}}}</td>
<td>{{#switch:{{#lowercase:{{{seedtype|Basic}}}}}
<td>{{#invoke:CropCalcs|evochance|Type={{lc:{{{seedtype|Basic}}}}}|CropIndex={{#var:evoindex}}}}</td>
|basic={{#vardefine:chancebase|0.3}}{{#vardefine:decay|0.75}}{{#vardefine:typeindex|0}}
<td>{{#invoke:CropCalcs|growtime|Type={{lc:{{{seedtype|Basic}}}}}}}{{#vardefine:index|{{#expr:{{#var:index}}+1}} }}</td>
|earthy={{#vardefine:chancebase|0.12}}{{#vardefine:decay|0.63}}{{#vardefine:typeindex|1}}
<td>{{#invoke:CropCalcs|baseExp|Type={{lc:{{{seedtype|Basic}}}}}|CropIndex={{#var:evoindex}}}}{{#vardefine:evoindex|{{#expr:{{#var:evoindex}}+1}}}}</td></tr></includeonly>
|bulbo={{#vardefine:chancebase|0.04}}{{#vardefine:decay|0.3}}{{#vardefine:typeindex|2}}
|sushi={{#vardefine:chancebase|0.01}}{{#vardefine:decay|0.4}}{{#vardefine:typeindex|3}}
|mushie={{#vardefine:chancebase|0.003}}{{#vardefine:decay|0.2}}{{#vardefine:typeindex|4}}
|glassy={{#vardefine:chancebase|0.0005}}{{#vardefine:decay|0.05}}{{#vardefine:typeindex|5}}
}}
{{#expr:{{#var:chancebase}} * {{#expr:{{#var:decay}} ^ {{#var:index}} }} }}</td>
<td>
{{#expr:{{#expr:14400 * {{#expr:1.5 ^ {{#var:typeindex}} }} }} / 3600}} Hours.{{#vardefine:index|{{#expr:{{#var:index}}+1}} }}</td></tr></includeonly>

Latest revision as of 00:31, 31 March 2024