Difference between revisions of "User:Theaetetus/sandbox2"
Jump to navigation
Jump to search
Theaetetus (talk | contribs) (Updating to current template) |
Theaetetus (talk | contribs) |
||
Line 149: | Line 149: | ||
:{{{armorheat|}}}}} | :{{{armorheat|}}}}} | ||
− | {{#if: {{{bodysize|}}} | + | {{#if: {{{bodysize|}}}{{{meatyield|}}}| |
− | |||
− | |||
− | |||
− | |||
− | |||
;Meat Yield | ;Meat Yield | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | |||
+ | {{#if: {{{bodysize|}}}| | ||
+ | {{#set: Body Size = {{{bodysize|}}} }} | ||
+ | ;Meat Yield | ||
+ | <!-- This section only for when meat yield is overridden in the XML def--> | ||
+ | <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified --> | ||
+ | {{#if: {{{meatyield|}}}| | ||
+ | {{#set: Meat Yield = {{{meatyield|}}} }} | ||
+ | :{{{meatyield|}}}| | ||
+ | <!-- Section end --> | ||
+ | {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Meat Yield = {{#var: MeatYield}} }} | ||
+ | :{{#var: MeatYield}}}} | ||
+ | {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }} | ||
+ | ;Carrying Capacity | ||
+ | :{{#var: CarryingCapacity}} | ||
+ | {{#if: {{{leathername|}}}| | ||
+ | {{#vardefine: LeatherYield | {{#expr: 20 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Leather Yield = {{#var: LeatherYield}} }} | ||
+ | ;Leather Yield | ||
+ | :{{#var: LeatherYield}}}}}} | ||
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} | {{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} |
Revision as of 02:20, 27 July 2016
Theaetetus