Difference between revisions of "Template:Sandbox/Arcangelus"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
 
(7 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 -->
Line 1,692: Line 1,687:
 
}}
 
}}
  
{{#if: {{#var:setProperty}} |
+
<!-- Research section -->
{{#if: {{#vardefineecho:research|{{{research|}}} }} | {{#vardefine:research1|{{ucfirst:{{#explode:{{#var:research}}|,|0}} }} }}{{#vardefine:research2|{{ucfirst:{{#explode:{{#var:research}}|,|1}} }} }}{{#vardefine:research3|{{ucfirst:{{#explode:{{#var:research}}|,|2}} }} }}{{#vardefine:research4|{{ucfirst:{{#explode:{{#var:research}}|,|3}} }} }}{{#vardefine:research5|{{ucfirst:{{#explode:{{#var:research}}|,|4}} }} }}
+
{{#if: {{#vardefineecho:research|{{{research|}}} }} | {{#vardefine:research1|{{ucfirst:{{#explode:{{#var:research}}|,|0}} }} }}{{#vardefine:research2|{{ucfirst:{{#explode:{{#var:research}}|,|1}} }} }}{{#vardefine:research3|{{ucfirst:{{#explode:{{#var:research}}|,|2}} }} }}{{#vardefine:research4|{{ucfirst:{{#explode:{{#var:research}}|,|3}} }} }}{{#vardefine:research5|{{ucfirst:{{#explode:{{#var:research}}|,|4}} }} }}
{{#set:
+
{{#if: {{#var:setProperty}} | {{#set:
 
   Required Research = {{#var:research1}}
 
   Required Research = {{#var:research1}}
 
  | Required Research = {{#var:research2}}
 
  | Required Research = {{#var:research2}}
Line 1,700: Line 1,695:
 
  | Required Research = {{#var:research4}}
 
  | Required Research = {{#var:research4}}
 
  | Required Research = {{#var:research5}}
 
  | Required Research = {{#var:research5}}
}} }} }}
+
}} }}
 
 
 
;Required Research
 
;Required Research
 
:[[Research#{{#var:research1}}|{{#var:research1}}]]{{#if: {{#pos:Artificial metabolism, Brain wiring, Cataphract armor, Circadian influence, Compact weaponry, Flesh shaping, Healing factors, Jump packs, Molecular analysis, Neural computation, Poison synthesis, Specialized limbs, Skin hardening | {{#var:research1}} }} | {{Icon Small|Techprint|16}} }}<!--
 
:[[Research#{{#var:research1}}|{{#var:research1}}]]{{#if: {{#pos:Artificial metabolism, Brain wiring, Cataphract armor, Circadian influence, Compact weaponry, Flesh shaping, Healing factors, Jump packs, Molecular analysis, Neural computation, Poison synthesis, Specialized limbs, Skin hardening | {{#var:research1}} }} | {{Icon Small|Techprint|16}} }}<!--
Line 1,830: Line 1,824:
 
-->|}}<!--
 
-->|}}<!--
 
-->}}
 
-->}}
 
+
}}
  
 
<!-- 14. ABILITY -->
 
<!-- 14. ABILITY -->
Line 2,186: Line 2,180:
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
 
</div></div></includeonly><noinclude>
 
</div></div></includeonly><noinclude>
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->
+
{{documentation}}
 +
<!--
 +
{{Sandbox/Arcangelus
 +
| name = Locust armor
 +
| image = LocustArmor.png
 +
| description = A variant of recon armor with an integrated burst rocket for short-ranged flight. Locust armor is slightly less protective than standard recon armor. Each jump consumes a burst of fuel, so the armor must be reloaded after several uses.<br/>Unlike most ultratech military units, locusts train primarily with melee weapons. They usually avoid static shootouts, preferring to jump straight into enemy fortifications and fight hand-to-hand. They do poorly in static defense or confined quarters, but excel in mixed cover or shipcracking operations.
 +
| type = Gear
 +
| type2 = Armor
 +
| tech level = Spacer
 +
| hp = 280
 +
| production facility 1 = Fabrication bench
 +
| work to make = 45000
 +
| work speed stat = General Labor Speed
 +
| resource 1 = Plasteel
 +
| resource 1 amount = 120
 +
| resource 2 = Uranium
 +
| resource 2 amount = 10
 +
| resource 3 = Advanced component
 +
| resource 3 amount = 3
 +
| resource 4 = Component
 +
| resource 4 amount = 3
 +
| resource 5 = Chemfuel
 +
| resource 5 amount = 100
 +
| research = Jump packs, Recon armor
 +
| skill 1 = Crafting
 +
| skill 1 level = 6
 +
| marketvalue = 2230
 +
| armorblunt = 35
 +
| armorsharp = 87
 +
| armorheat = 41
 +
| insulationcold = 32
 +
| insulationheat = 9
 +
| mass base = 9
 +
| lifestage = Adult
 +
| clothing for nudity = True
 +
| coverage = Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
 +
| layer = Middle, Outer
 +
| has quality = true
 +
| defName = Apparel_ArmorLocust
 +
| thingCategories = ApparelArmor
 +
| tradeTags = HiTechArmor
 +
| defaultOutfitTags = Soldier
 +
| thingSetMakerTags = RewardStandardHighFreq
 +
}} -->
 +
</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]