Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 150: Line 150:
 
:{{{armorheat|}}}}}
 
:{{{armorheat|}}}}}
  
<!--
+
 
{{#if: {{{bodysize|}}}|
+
;TEST1
  {{#set:Body Size = {{{bodysize|}}} }}
+
:PASS
    {{#if: {{{meatyield|}}}|
+
 
      {{#set:Meat Yield = {{{meatyield|}}} }}|
 
      {{#set:Meat Yield = {{#expr: 90 * {{{bodysize|}}} round0}} }} }}
 
  {{#set:Carrying Capacity = {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
;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|}}}|
 
{{#if: {{{bodysize|}}}|
 
   {{#set: Body Size = {{{bodysize|}}} }}
 
   {{#set: Body Size = {{{bodysize|}}} }}
   <!-- This section only for when meat yield is overridden in the XML def-->
+
;DEBUG
 +
:HI
 +
   <!-- 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|}}}|
Line 189: Line 178:
 
;Leather Yield
 
;Leather Yield
 
:{{#var: LeatherYield}}}}}}
 
:{{#var: LeatherYield}}}}}}
-->
+
 
 +
;TEST5
 +
:PASS
 +
 
 +
 
 +
 
 +
;TEST2
 +
:PASS
  
 
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}
 
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}

Revision as of 04:58, 27 July 2016

Theaetetus


Type
[[{{{type}}}]]
TEST1
PASS
{{#if: |
DEBUG
HI
"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.
TEST5
PASS
TEST2
PASS


Template:Theaetetus/doc