Difference between revisions of "Template:Sandbox/Arcangelus"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
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 1,681: Line 1,677:
 
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>Creation</p>
 
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>Creation</p>
 
<dl>
 
<dl>
}}
+
 
 
{{#if: {{{production facility 1|}}} | <!-- Compressed -->
 
{{#if: {{{production facility 1|}}} | <!-- Compressed -->
 
{{#if: {{#var:setProperty}} | {{#set:Production Facility 1 = {{{production facility 1|}}} }} }}
 
{{#if: {{#var:setProperty}} | {{#set:Production Facility 1 = {{{production facility 1|}}} }} }}
Line 1,828: Line 1,824:
 
-->|}}<!--
 
-->|}}<!--
 
-->}}
 
-->}}
 
+
}}
  
 
<!-- 14. ABILITY -->
 
<!-- 14. ABILITY -->
Line 2,184: Line 2,180:
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
 
</div></div></includeonly><noinclude>
 
</div></div></includeonly><noinclude>
 
+
{{documentation}}
 
+
<!--
 
{{Sandbox/Arcangelus
 
{{Sandbox/Arcangelus
 
| name = Locust armor
 
| name = Locust armor
Line 2,227: 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]