Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 149: Line 149:
 
;Armor - Heat
 
;Armor - Heat
 
:{{{armorheat|}}}}}
 
:{{{armorheat|}}}}}
 
 
;TEST1
 
:PASS
 
  
 
{{#if: {{{bodysize|}}}|
 
{{#if: {{{bodysize|}}}|
 
   {{#set: Body Size = {{{bodysize|}}} }}
 
   {{#set: Body Size = {{{bodysize|}}} }}
;TEST2
 
:PASS
 
 
   <!-- This section only for when meat yield is overridden in the XML def -->
 
   <!-- 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 -->
 
   <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified -->
 
   {{#if: {{{meatyield|}}}|
 
   {{#if: {{{meatyield|}}}|
;TEST3
 
:PASS
 
 
     {{#set: Meat Yield = {{{meatyield|}}} }}
 
     {{#set: Meat Yield = {{{meatyield|}}} }}
 
;Meat Yield
 
;Meat Yield
Line 169: Line 161:
 
     {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
 
     {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
 
     {{#set: Meat Yield = {{#var: MeatYield}} }}
 
     {{#set: Meat Yield = {{#var: MeatYield}} }}
;TEST4
 
:PASS
 
 
;Meat Yield
 
;Meat Yield
 
:{{#var: MeatYield}}}}
 
:{{#var: MeatYield}}}}
 
   {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
   {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
;TEST5
 
:PASS
 
 
;Carrying Capacity
 
;Carrying Capacity
 
:{{#var: CarryingCapacity}}
 
:{{#var: CarryingCapacity}}
Line 184: Line 172:
 
;Leather Yield
 
;Leather Yield
 
:{{#var: LeatherYield}}}}}}
 
:{{#var: LeatherYield}}}}}}
 
;TEST6
 
:PASS
 
 
 
 
;TEST2
 
:PASS
 
  
 
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}
 
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}

Revision as of 05:03, 27 July 2016

Theaetetus


Type
[[{{{type}}}]]


Template:Theaetetus/doc