Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 150: Line 150:
 
:{{{armorheat|}}}}}
 
:{{{armorheat|}}}}}
  
 +
<!--
 
{{#if: {{{bodysize|}}}|
 
{{#if: {{{bodysize|}}}|
 
   {{#set:Body Size = {{{bodysize|}}} }}
 
   {{#set:Body Size = {{{bodysize|}}} }}
Line 164: Line 165:
 
:{{#show: {{PAGENAME}}|?Carrying Capacity |link=none}}
 
:{{#show: {{PAGENAME}}|?Carrying Capacity |link=none}}
 
}}
 
}}
 +
-->
 +
<!--
 +
{{#if: {{{bodysize|}}}|
 +
  {{#set: Body Size = {{{bodysize|}}} }}
 +
  <!-- 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|}}} }}
 +
;Meat Yield
 +
:{{{meatyield|}}}|
 +
  <!-- Section end -->
 +
    {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
 +
    {{#set: Meat Yield = {{#var: MeatYield}} }}
 +
;Meat Yield
 +
:{{#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 04:46, 27 July 2016

Theaetetus


Type
[[{{{type}}}]]
"Expression error: Unexpected round operator." is not a number.
Meat Yield
Expression error: Unexpected round operator.
"Expression error: Unexpected round operator. }</br>;Carrying Capacity</br>:Expression error: Unexpected round operator." is not a number. -->


Template:Theaetetus/doc