Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
(Updating to current template)
Line 149: Line 149:
 
:{{{armorheat|}}}}}
 
:{{{armorheat|}}}}}
  
{{#if: {{{bodysize|}}}|
+
{{#if: {{{bodysize|}}}{{{meatyield|}}}|
  {{#set:Body Size = {{{bodysize|}}} }}
 
    {{#if: {{{meatyield|}}}|
 
      {{#set:Meat Yield = {{{meatyield|}}} }}|
 
      {{#set:Meat Yield = {{#expr: 90 * {{{bodysize|}}} round0}} }} }}
 
  {{#set:Carrying Capacity = {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
 
;Meat Yield
 
;Meat Yield
:{{#show: {{PAGENAME}}|?Meat Yield |link=none}}
 
{{#if: {{{leathername|}}}|{{#set:Leather Yield = {{#expr: 20 * {{{bodysize|}}} round0}} }}
 
;Leather Yield
 
:{{#show: {{PAGENAME}}|?Leather Yield |link=none}} [[{{{leathername|}}}]] }}
 
;Carrying Capacity
 
:{{#show: {{PAGENAME}}|?Carrying Capacity |link=none}}
 
 
}}
 
}}
 +
 +
{{#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


Type
[[{{{type}}}]]
Average DPS


Template:Theaetetus/doc