Difference between revisions of "Template:Sandbox/Arcangelus"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 495: Line 495:
 
   {{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Cold= {{{insulationcoldfactor|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Cold= {{{insulationcoldfactor|}}} }} }}
 
;<abbr title="See Apparel for how this is applied">Insulation Factor - Cold</abbr>
 
;<abbr title="See Apparel for how this is applied">Insulation Factor - Cold</abbr>
:{{{insulationcoldfactor|}}}
+
:{{{insulationcoldfactor|}}}×
 
}}
 
}}
  
Line 609: Line 609:
 
:{{{bodysize|}}}
 
:{{{bodysize|}}}
  
{{#ifeq: {{{type|}}} | Mechanoid |
+
  <!-- Moved outside as this is always used -->
 
   {{#vardefine:MassAdult | {{#expr: 60 * {{{bodysize}}} }} }}
 
   {{#vardefine:MassAdult | {{#expr: 60 * {{{bodysize}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Mass - Adult = {{#var:MassAdult}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Mass - Adult = {{#var:MassAdult}} }} }}
 +
  {{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }}
 +
 
 +
{{#ifeq: {{{type|}}} | Mechanoid |
 
;Mass
 
;Mass
 
:{{#var:MassAdult}} kg   
 
:{{#var:MassAdult}} kg   
  
 
  {{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }}
 
 
   {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }}
 
;Pack Capacity
 
;Pack Capacity
Line 624: Line 625:
  
 
{{#ifeq: {{{type|}}} | Entity |
 
{{#ifeq: {{{type|}}} | Entity |
  {{#vardefine:MassAdult | {{#expr: 60 * {{{bodysize}}} }} }}
 
  {{#if: {{#var:setProperty}} | {{#set:Mass - Adult = {{#var:MassAdult}} }} }}
 
 
;Mass
 
;Mass
 
:{{#var:MassAdult}} kg   
 
:{{#var:MassAdult}} kg   
 
 
|  
 
|  
 
   <!-- Most animal babies are 0.2 the size of the adults, but birds are 0.1 -->
 
   <!-- Most animal babies are 0.2 the size of the adults, but birds are 0.1 -->
Line 645: Line 643:
 
:{{#var:MassJuvenile}} kg
 
:{{#var:MassJuvenile}} kg
  
  {{#vardefine:MassAdult | {{#expr: 60 * {{{bodysize}}} }} }}
 
  {{#if: {{#var:setProperty}} | {{#set:Mass - Adult = {{#var:MassAdult}} }} }}
 
 
;Mass - Adult
 
;Mass - Adult
 
:{{#var:MassAdult}} kg
 
:{{#var:MassAdult}} kg
  
 
{{#ifeq: {{lc:{{{packanimal|}}} }} | true |
 
{{#ifeq: {{lc:{{{packanimal|}}} }} | true |
  {{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }}
 
 
   {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }}
 
;Pack Capacity
 
;Pack Capacity
Line 666: Line 661:
 
}}
 
}}
 
}}
 
}}
 +
  
 
{{#if: {{{ridingspeed|}}} |
 
{{#if: {{{ridingspeed|}}} |
Line 2,185: Line 2,181:
 
</div></div></includeonly><noinclude>
 
</div></div></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 +
<!--
 
{{Sandbox/Arcangelus
 
{{Sandbox/Arcangelus
 
| name = Locust armor
 
| name = Locust armor
Line 2,226: Line 2,223:
 
| defaultOutfitTags = Soldier
 
| defaultOutfitTags = Soldier
 
| thingSetMakerTags = RewardStandardHighFreq
 
| thingSetMakerTags = RewardStandardHighFreq
}}
+
}} -->
 
</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->

Latest revision as of 19:25, 14 January 2025

Documentation icon Template documentation[create]