Difference between revisions of "Template:Infobox main"

From RimWorld Wiki
Jump to navigation Jump to search
m (fix)
 
(73 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
--> security = c_10 |<!--
 
--> security = c_10 |<!--
 
--> furniture = c_01 |<!--
 
--> furniture = c_01 |<!--
 +
--> resource = c_03 |<!--
 
-->}}}}">
 
-->}}}}">
 
<p class="heading">{{#var:Name}}</p>
 
<p class="heading">{{#var:Name}}</p>
Line 50: Line 51:
 
;Flammability
 
;Flammability
 
:{{#expr:{{{flammability|}}}*100}}%}}
 
:{{#expr:{{{flammability|}}}*100}}%}}
 +
 +
{{#if: {{{cleanliness|}}}|{{#set:Cleanliness = {{{cleanliness|}}} }}
 +
;Cleanliness
 +
:{{{cleanliness|}}}}}
 +
 +
{{#if: {{{stack limit|}}}|{{#set:Stack Limit = {{{stack limit|}}} }}
 +
;Stack Limit
 +
:{{{stack limit|}}}}}
  
 
{{#if: {{{path cost|}}}|{{#set:Path Cost = {{{path cost|}}} }}
 
{{#if: {{{path cost|}}}|{{#set:Path Cost = {{{path cost|}}} }}
Line 70: Line 79:
 
:{{{rotatable|}}}}}
 
:{{{rotatable|}}}}}
  
{{#if: {{{terrain requirement|}}}|{{#set:Terrain Requirement = {{{terrain requirement|}}} }}
+
{{#if: {{{terrain affordance|}}}|{{#set:Terrain Affordance = {{{terrain affordance|}}} }}
;Terrain Requirement
+
;Terrain Affordance
:{{{terrain requirement|}}}}}
+
:{{{terrain affordance|}}}}}
  
 
{{#if: {{{size|}}}|{{#set:Size = {{{size|}}} }}
 
{{#if: {{{size|}}}|{{#set:Size = {{{size|}}} }}
Line 147: Line 156:
 
<!-- All pawns (animals, humanoids, mechanoids) -->
 
<!-- All pawns (animals, humanoids, mechanoids) -->
 
<!-- Animal Health --->
 
<!-- Animal Health --->
{{#if:  {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}}  {{{healthscale|}}} {{{bodysize|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{nuzzleMtb|}}}|
+
{{#if:  {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}}  {{{healthscale|}}} {{{bodysize|}}} {{{ridingspeed|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{roamMtb|}}} {{{nuzzleMtb|}}} {{{maturityage|}}} {{{juvenileage|}}}|
 
</dl>{{clear}}
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Pawn Stats'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Pawn Stats'''</p>
Line 159: Line 168:
 
:{{{movespeed|}}}}}
 
:{{{movespeed|}}}}}
  
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
+
<!--Most animal babies are 0.2 the size of the adults, but birds are 0.1-->
;Mass - Young
+
{{#set:Baby Scale = {{#vardefineecho:BabyScale|{{{babyscale|0.2}}}}}}}
:{{{massyoung|{{#expr:{{{massadult}}}/5}}}}} kg}}
 
  
{{#if: {{{massjuvenile|{{{massadult|}}}}}}|{{#set:Mass - Juvenile= {{{massjuvenile|{{#expr:{{{massadult}}}/2}}}}} }}
+
<!--Mass is 60*bodysize, with no exceptions-->
 +
{{#if: {{{bodysize|}}}|
 +
{{#set:Mass - Young={{#vardefineecho:MassYoung|{{#expr:60*{{{bodysize}}}*{{#var:BabyScale}}}}}}}}
 +
;Mass - Baby
 +
:{{#var:MassYoung}} kg
 +
 
 +
{{#set:Mass - Juvenile={{#vardefineecho:MassJuvenile|{{#expr:60*{{{bodysize}}}*0.5}}}}}}
 
;Mass - Juvenile
 
;Mass - Juvenile
:{{{massjuvenile|{{#expr:{{{massadult}}}/2}}}}} kg}}
+
:{{#var:MassJuvenile}} kg
  
{{#if: {{{massadult|}}}|{{#set:Mass - Adult= {{{massadult|}}} }}
+
{{#set:Mass - Adult={{#vardefineecho:MassAdult|{{#expr:60*{{{bodysize}}}}}}}}}
 
;Mass - Adult
 
;Mass - Adult
:{{{massadult|}}} kg}}
+
:{{#var:MassAdult}} kg
 +
}}
  
 
{{#if: {{{healthscale|}}}|{{#set: Health Scale = {{{healthscale|}}} }}
 
{{#if: {{{healthscale|}}}|{{#set: Health Scale = {{{healthscale|}}} }}
Line 183: Line 198:
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
 
;Carrying Capacity
 
;Carrying Capacity
:{{#var: CarryingCapacity}}
+
:{{#var: CarryingCapacity}} kg
 +
}}
 +
 
 +
{{#if: {{{ridingspeed|}}}|{{#set:Riding Speed = {{{ridingspeed|}}} }}
 +
;{{H:title|link=no|Multiplier to the caravan's movement speed.|Riding Speed}}
 +
:{{{ridingspeed|}}}}}
 +
 
 +
{{#ifeq: {{lc:{{{packanimal|}}}}}|true|{{#set:Pack Capacity = {{#vardefineecho:PackCapacity|{{#expr:{{{bodysize|}}}*35}}}}}}
 +
;Pack Capacity
 +
:{{#var: PackCapacity}} kg
 +
}}
  
  {{#vardefine: FilthRate | {{#expr: 1.25 * {{{bodysize|}}} * {{#if: {{{petness|}}}|{{#expr: 1 - {{{petness|}}} }}|1}} round2}} }}
+
{{#if: {{{filth rate|}}}|{{#set: Animal Filth Rate = {{{filth rate|}}} }}
 +
;{{H:title|link=no|The average amount of filth produced on constructed floors per 1000 cells walked by this creature.|Filth Rate}}
 +
:{{{filth rate|}}}|{{#if: {{{bodysize|}}}|
 +
<!--Filth rate seems to default to 1 in game if it's not set in the xml.-->
 +
  {{#vardefine: FilthRate | 1 }}
 
   {{#set: Animal Filth Rate = {{#var: FilthRate}} }}
 
   {{#set: Animal Filth Rate = {{#var: FilthRate}} }}
 
;{{H:title|link=no|The average amount of filth produced on constructed floors per 1000 cells walked by this creature.|Filth Rate}}
 
;{{H:title|link=no|The average amount of filth produced on constructed floors per 1000 cells walked by this creature.|Filth Rate}}
 
:{{#var: FilthRate}}  
 
:{{#var: FilthRate}}  
 +
}}
 
}}
 
}}
  
{{#if: {{{hungerrate|}}}|{{#set:Base Hunger Rate = {{{hungerrate|}}} }}
+
{{#if: {{{hungerrate|}}}|{{#set:Base Hunger Rate = {{{hungerrate|}}} }}{{#set:Real Hunger Rate = {{#expr: {{{hungerrate|}}} * 1.6 round2}} }}
 
;{{H:title|link=no|Nutrition lost per day.|Hunger Rate}}
 
;{{H:title|link=no|Nutrition lost per day.|Hunger Rate}}
 
:{{#expr: {{{hungerrate|}}} * 1.6 round2}} }}
 
:{{#expr: {{{hungerrate|}}} * 1.6 round2}} }}
Line 219: Line 249:
 
| intermediate = {{#set: Can Train Guard = yes |Can Train Attack = yes |Can Train Rescue = no |Can Train Haul = no}}
 
| intermediate = {{#set: Can Train Guard = yes |Can Train Attack = yes |Can Train Rescue = no |Can Train Haul = no}}
 
| advanced = {{#set: Can Train Guard = yes |Can Train Attack = yes}}{{#ifexpr: {{{bodysize|}}} >= 0.65|{{#set: Can Train Rescue = yes}}|{{#set: Can Train Rescue = no}}}}{{#ifexpr: {{{bodysize|}}} >= 0.40|{{#set: Can Train Haul = yes}}|{{#set: Can Train Haul = no}}}}
 
| advanced = {{#set: Can Train Guard = yes |Can Train Attack = yes}}{{#ifexpr: {{{bodysize|}}} >= 0.65|{{#set: Can Train Rescue = yes}}|{{#set: Can Train Rescue = no}}}}{{#ifexpr: {{{bodysize|}}} >= 0.40|{{#set: Can Train Haul = yes}}|{{#set: Can Train Haul = no}}}}
 +
| hauling only = {{#set: Can Train Guard = no |Can Train Attack = no |Can Train Rescue = no |Can Train Haul = yes}}
 
}}
 
}}
 
}}
 
}}
Line 245: Line 276:
  
 
{{#ifeq: {{{predator|}}}|true|{{#set:Is Predator = true}}|}}
 
{{#ifeq: {{{predator|}}}|true|{{#set:Is Predator = true}}|}}
 +
 +
{{#if: {{{roamMtb|}}}|{{#set:Roam Mtb Days = {{{roamMtb|}}} }}
 +
;{{H:title|link=no|How often an animal will attempt to roam away if not in a pen.|Roam Interval}}
 +
:{{{roamMtb|}}} days}}
  
 
{{#if: {{{nuzzleMtb|}}}|{{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }}
 
{{#if: {{{nuzzleMtb|}}}|{{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }}
Line 259: Line 294:
 
;Maturity Age
 
;Maturity Age
 
:{{{maturityage|}}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}}|R}}*60)round 0}} }} days) }} |}}
 
:{{{maturityage|}}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}}|R}}*60)round 0}} }} days) }} |}}
 +
 +
 +
{{#if: {{{juvenileage|}}}|{{#set: Juvenile Age = {{{juvenileage|}}} }}
 +
;Juvenile Age
 +
:{{{juvenileage|}}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 0}} }} days) }} |}}
 +
  
 
{{#if: {{{min comfortable temperature|}}}|{{#set: Min Comfortable Temperature = {{{min comfortable temperature|}}} }}
 
{{#if: {{{min comfortable temperature|}}}|{{#set: Min Comfortable Temperature = {{{min comfortable temperature|}}} }}
 
{{#if: {{{max comfortable temperature|}}}|{{#set: Max Comfortable Temperature = {{{max comfortable temperature|}}} }}
 
{{#if: {{{max comfortable temperature|}}}|{{#set: Max Comfortable Temperature = {{{max comfortable temperature|}}} }}
 
;Comfortable Temp Range
 
;Comfortable Temp Range
:{{{min comfortable temperature|}}}&deg;C - {{{max comfortable temperature|}}}&deg;C}}
+
:{{{min comfortable temperature|}}}&deg;C - {{{max comfortable temperature|}}}&deg;C<br>({{formatnum: {{#expr: ((({{{min comfortable temperature|}}}*9)/5)+32)round 1}} }}&deg;F - {{formatnum: {{#expr: ((({{{max comfortable temperature|}}}*9)/5)+32)round 1}} }}&deg;F)}}
 
}}
 
}}
  
Line 276: Line 317:
 
{{#if: {{{livesin_tundra|}}}|{{#set: Lives in Tundra = true}} }}
 
{{#if: {{{livesin_tundra|}}}|{{#set: Lives in Tundra = true}} }}
  
{{#if:  {{{meatyield|}}} {{{meatname|}}} {{{leathername|}}} {{{leatheryield|}}} {{{milk|}}} {{{milktime|}}} {{{wool|}}} {{{woolname|}}} {{{sheartime|}}} {{{eggsmin|}}} {{{eggsmax|}}}  {{{eggtime|}}} {{{eggs_avg|}}} {{{eggs_unfertilized|}}} {{{gestation|}}} {{{offspring|}}}|
+
{{#if:  {{{meatyield|}}} {{{meatname|}}} {{{leathername|}}} {{{leatheryield|}}} {{{milk|}}} {{{milkname|}}} {{{milktime|}}} {{{wool|}}} {{{woolname|}}} {{{sheartime|}}} {{{eggsmin|}}} {{{eggsmax|}}}  {{{eggtime|}}} {{{eggs_avg|}}} {{{eggs_unfertilized|}}} {{{gestation|}}} {{{offspring|}}} {{{avg offspring|}}}|
 
</dl>{{clear}}
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Production'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Production'''</p>
Line 292: Line 333:
  
 
{{#if: {{{bodysize|}}}|
 
{{#if: {{{bodysize|}}}|
 
+
    <!-- Uses meatyield when set, otherwise interpolates from curve applied to 140*body_size or basemeatamount*bodysize -->
{{#if:{{#var:MeatName}}|{{#vardefine: MeatYield | {{{meatyield | {{#expr: 140 * {{{bodysize}}} round 0}}}}} }}
+
    <!-- See Property:Meat_Yield for details -->
  {{#set: Meat Yield = {{#var: MeatYield}} }}
+
  {{#if:{{#var:MeatName}}|{{#vardefine: MeatYield | {{{meatyield|{{Meat Leather Curve|{{{basemeatamount|140}}}*{{{bodysize|}}}}}}}}}}
 +
    {{#set: Meat Yield = {{#var: MeatYield}} }}
 
;Meat Yield
 
;Meat Yield
:{{#var: MeatYield}}  [[Meat|{{lc:{{#var:MeatName}}}}]]}}
+
:{{#var: MeatYield}}  [[Meat|{{lc:{{#var:MeatName}}}}]]
 +
  }}
  
  <!-- Use leatheryield when set, otherwise (incorrectly in some cases) assume 30 * bodysize -->
+
    <!-- Uses leatheryield when set, otherwise interpolates from curve applied to 40*body_size or baseleatheramount*bodysize-->
  <!-- See Property:Leather_Yield for details -->
+
    <!-- See Property:Leather_Yield for details -->
{{#if:{{#var:LeatherName}}|{{#vardefine: LeatherYield | {{{leatheryield | {{#expr: 40 * {{{bodysize}}} round 0}} }}} }}
+
  {{#if:{{#var:LeatherName}}|{{#vardefine: LeatherYield | {{{leatheryield|{{Meat Leather Curve|{{{baseleatheramount|40}}}*{{{bodysize|}}}}}}}}}}
  {{#set: Leather Yield = {{#var: LeatherYield}} }}
+
    {{#set: Leather Yield = {{#var: LeatherYield}} }}
 
;Leather Yield
 
;Leather Yield
:{{#var: LeatherYield}} [[{{#var: LeatherName}}|{{lc:{{#var: LeatherName}}}}]] }}
+
:{{#var: LeatherYield}} [[{{#var: LeatherName}}|{{lc:{{#var: LeatherName}}}}]]
 +
  }}
 +
}}
 +
 
 +
{{#if: {{{milk|}}}|
 +
  {{#set: Milk Amount = {{{milk|}}}}}
 +
  {{#vardefine: MilkName | {{{milkname| Milk}}} }}
 +
  {{#set: Milk Name =  {{#var:MilkName}}}}
 +
;Milk Amount
 +
:{{{milk|}}} [[{{#var:MilkName}}|{{lc:{{#var:MilkName}}}}]]
 
}}
 
}}
  
{{#if: {{{milk|}}}|{{#set: Milk Amount = {{{milk|}}} }}
 
;[[Milk]] Amount
 
:{{{milk|}}} }}
 
  
 
{{#if: {{{milktime|}}}|{{#set: Milking Interval Days = {{{milktime|}}} }}
 
{{#if: {{{milktime|}}}|{{#set: Milking Interval Days = {{{milktime|}}} }}
Line 352: Line 401:
 
}}}}
 
}}}}
  
{{#if: {{{offspring|}}}|{{#set: Offspring Per Birth = {{{offspring|}}} }}
+
{{#if: {{{offspring|}}} {{{avg offspring|}}}|{{#set: Offspring Per Birth = {{{offspring|}}} }} {{#set: Average Offspring Per Birth = {{{avg offspring|}}} }}
 
;Offspring Per Birth
 
;Offspring Per Birth
:{{{offspring|}}} }}
+
:{{{offspring|}}} {{#if:{{{avg offspring|}}}|({{{avg offspring|}}} avg)}}}}
  
 
<!--Buildings-->
 
<!--Buildings-->
Line 389: Line 438:
 
:{{{comfort offset|}}}}}
 
:{{{comfort offset|}}}}}
  
{{#if: {{{cover|}}}|{{#set:Cover Effectiveness= {{{cover|}}} }}
+
{{#if: {{{cover|}}}|{{#ifexpr: {{{cover|}}} > 0.75 | {{#set:Cover Effectiveness= 0.75}}
 
;Cover Effectiveness
 
;Cover Effectiveness
:{{#expr:{{{cover|}}}*100}}%}}
+
:75%
 
+
| {{#set:Cover Effectiveness= {{{cover|}}} }}
 +
;Cover Effectiveness
 +
:{{#expr:{{{cover|}}}*100}}%
 +
}} }}
  
 
<!--Plants-->
 
<!--Plants-->
Line 448: Line 500:
 
;{{H:title|link=no|Nutrition when plant eaten|Nutrition}}
 
;{{H:title|link=no|Nutrition when plant eaten|Nutrition}}
 
:{{{nutrition}}}
 
:{{{nutrition}}}
 +
}}
 +
 +
{{#if: {{{fertility sensitivity|}}}|
 +
{{#if: {{{grow days|}}}|
 +
{{#if: {{{yield|}}}|
 +
{{#set:Harvest Yield Per Day (70)  = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((0.7-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }}
 +
{{#set:Harvest Yield Per Day (100) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.0-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }}
 +
{{#set:Harvest Yield Per Day (140) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.4-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }}
 +
{{#if: {{#pos:{{{sowTags|}}}|Hydroponic}} | {{#set:Harvest Yield Per Day (280) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((2.8-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }}
 +
}}
 +
}}
 
}}
 
}}
  
Line 457: Line 520:
 
<!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property-->
 
<!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property-->
  
{{#if: {{{mode|}}}|{{#ifeq: {{{mode|}}} | Melee |
+
{{#ifeq: {{{mode|}}} | Melee |
 
{{#set:Melee Damage Base = {{{damage|}}}
 
{{#set:Melee Damage Base = {{{damage|}}}
 
|Melee Warmup = {{{warmup|}}}
 
|Melee Warmup = {{{warmup|}}}
Line 463: Line 526:
 
}}
 
}}
 
|
 
|
{{#set:Damage Base = {{{damage|}}}
+
{{#set:Damage Base = {{{damage|}}}}}
|Aiming Time Base = {{{warmup|}}}
+
{{#if: {{{mode|}}}|
 +
{{#set:Aiming Time Base = {{{warmup|}}}
 
|Ranged Cooldown Base = {{{cooldown|}}}
 
|Ranged Cooldown Base = {{{cooldown|}}}
 
|Weapons/Row/Ranged/NoInclude=False
 
|Weapons/Row/Ranged/NoInclude=False
}} }} |}}
+
}} }} }}
  
 
{{#if:  {{{damage type|}}} {{{damage|}}} {{{armorPenetration|}}} {{{warmup|}}}  {{{cooldown |}}}  {{{range|}}}  {{{minrange|}}}  {{{accuracy|}}}  {{{accuracyTouch|}}}  {{{accuracyShort|}}}  {{{accuracyMedium|}}}  {{{accuracyLong|}}}  {{{accuracyAvg|}}}  {{{velocity|}}}  {{{burst|}}}  {{{burstTicks|}}}  {{{missRadius|}}}  {{{blastRadius|}}}  {{{DPS|}}}  {{{stoppingPower|}}}|
 
{{#if:  {{{damage type|}}} {{{damage|}}} {{{armorPenetration|}}} {{{warmup|}}}  {{{cooldown |}}}  {{{range|}}}  {{{minrange|}}}  {{{accuracy|}}}  {{{accuracyTouch|}}}  {{{accuracyShort|}}}  {{{accuracyMedium|}}}  {{{accuracyLong|}}}  {{{accuracyAvg|}}}  {{{velocity|}}}  {{{burst|}}}  {{{burstTicks|}}}  {{{missRadius|}}}  {{{blastRadius|}}}  {{{DPS|}}}  {{{stoppingPower|}}}|
Line 479: Line 543:
 
:{{{mode|}}}
 
:{{{mode|}}}
 
}}
 
}}
 
{{#if: {{{damage type|}}}|{{#set:Damage Type = {{{damage type|}}} }}
 
;Dmg Type
 
:{{{damage type|}}} }}
 
  
 
;Damage
 
;Damage
:{{{damage|}}}
+
:{{{damage|}}} dmg {{#if: {{{damage type|}}}|{{#set:Damage Type = {{ucfirst:{{{damage type|}}}}} }}([[Damage Types#{{ucfirst:{{{damage type|}}}}}|{{ucfirst:{{{damage type|}}}}}]])}}
 
}}
 
}}
  
Line 504: Line 564:
 
:{{{range|}}} tile(s)}}
 
:{{{range|}}} tile(s)}}
  
{{#if: {{{minrange|}}}|
+
{{#if: {{{minrange|}}}|{{#set:Minimum Range = {{{minrange|}}} }}
 
;Minimum Range
 
;Minimum Range
 
:{{{minrange|}}} tiles}}
 
:{{{minrange|}}} tiles}}
Line 560: Line 620:
  
 
<!-- Animal and Weapon Melee Combat-->
 
<!-- Animal and Weapon Melee Combat-->
{{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}  {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}} {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}} {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}} {{{mobdamageaverage|}}} {{{mobdamage|}}} {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} {{{MeleeWeaponAverageDPS|}}} {{{MeleeWeaponAverageAP|}}}|
+
{{#if: {{{attack1dmg|}}}{{{attack1ap|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}{{{attack1chancefactor|}}}  {{{attack2dmg|}}}{{{attack2ap|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}{{{attack2chancefactor|}}}    {{{attack3dmg|}}}{{{attack3ap|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}{{{attack3chancefactor|}}}    {{{attack4dmg|}}}{{{attack4ap|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}{{{attack4chancefactor|}}}    {{{mobdamageaverage|}}} {{{mobdamage|}}} {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} {{{MeleeWeaponAverageDPS|}}} {{{MeleeWeaponAverageAP|}}}|
 
</dl>{{clear}}
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Melee Combat'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Melee Combat'''</p>
Line 569: Line 629:
 
{{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}|
 
{{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}|
 
   {{#set:Attack 1 Damage = {{{attack1dmg|}}} }}
 
   {{#set:Attack 1 Damage = {{{attack1dmg|}}} }}
   {{#set:Attack 1 Type = {{{attack1type|}}} }}
+
  {{#set:Attack 1 AP = {{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}}}} }}
 +
   {{#set:Attack 1 Type = {{ucfirst:{{{attack1type|}}}}} }}
 
   {{#set:Attack 1 Part = {{{attack1part|}}} }}
 
   {{#set:Attack 1 Part = {{{attack1part|}}} }}
 
   {{#set:Attack 1 Cooldown = {{{attack1cool|}}} }}
 
   {{#set:Attack 1 Cooldown = {{{attack1cool|}}} }}
   {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}} / 60) }} }}
+
  {{#set:Attack 1 Chance Factor = {{{attack1chancefactor|}}} }}
 +
   {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}}) }} }}
 
   {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }}
 
   {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }}
 
;Attack{{#if: {{{attack2dmg|}}}|&nbsp;1}}
 
;Attack{{#if: {{{attack2dmg|}}}|&nbsp;1}}
:{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ({{{attack1type|type?}}})<br>{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}% AP<br>{{ticks|{{{attack1cool|0}}}}} }}<!--
+
:{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ({{{attack1type|type?}}})<br>{{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack1cool|0}}} second cooldown}}<!--
 
-->{{#if: {{{attack1stun|}}}|{{#set:Attack 1 Stun = {{{attack1stun|}}}}}<br>Stun for {{ticks|{{{attack1stun|0}}}*20}} on first strike}}
 
-->{{#if: {{{attack1stun|}}}|{{#set:Attack 1 Stun = {{{attack1stun|}}}}}<br>Stun for {{ticks|{{{attack1stun|0}}}*20}} on first strike}}
  
 
{{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}|
 
{{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}|
 
   {{#set:Attack 2 Damage = {{{attack2dmg|}}} }}
 
   {{#set:Attack 2 Damage = {{{attack2dmg|}}} }}
 +
  {{#set:Attack 2 AP = {{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}}}}} }}
 
   {{#set:Attack 2 Type = {{{attack2type|}}} }}
 
   {{#set:Attack 2 Type = {{{attack2type|}}} }}
 
   {{#set:Attack 2 Part = {{{attack2part|}}} }}
 
   {{#set:Attack 2 Part = {{{attack2part|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }}
   {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}} / 60) }} }}
+
  {{#set:Attack 2 Chance Factor = {{{attack2chancefactor|}}} }}
 +
   {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}}) }} }}
 
   {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }}
 
   {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }}
 
;Attack 2
 
;Attack 2
:{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ({{{attack2type|type?}}})<br>{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}% AP<br>{{ticks|{{{attack2cool|0}}}}} }}<!--
+
:{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ({{{attack2type|type?}}})<br>{{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack2cool|0}}} second cooldown}}<!--
 
-->{{#if: {{{attack2stun|}}}|{{#set:Attack 2 Stun = {{{attack2stun|}}}}}<br>Stun for {{ticks|{{{attack2stun|0}}}*20}} on first strike}}
 
-->{{#if: {{{attack2stun|}}}|{{#set:Attack 2 Stun = {{{attack2stun|}}}}}<br>Stun for {{ticks|{{{attack2stun|0}}}*20}} on first strike}}
  
 
{{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}|
 
{{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}|
 
   {{#set:Attack 3 Damage = {{{attack3dmg|}}} }}
 
   {{#set:Attack 3 Damage = {{{attack3dmg|}}} }}
 +
  {{#set:Attack 3 AP = {{{attack3ap|{{#expr: ({{{attack3dmg|}}}*1.5-0.001) round 0}}}}} }}
 
   {{#set:Attack 3 Type = {{{attack3type|}}} }}
 
   {{#set:Attack 3 Type = {{{attack3type|}}} }}
 
   {{#set:Attack 3 Part = {{{attack3part|}}} }}
 
   {{#set:Attack 3 Part = {{{attack3part|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }}
   {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}} / 60) }} }}
+
  {{#set:Attack 3 Chance Factor = {{{attack3chancefactor|}}} }}
 +
   {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}}) }} }}
 
   {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }}
 
   {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }}
 
;Attack 3
 
;Attack 3
:{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ({{{attack3type|type?}}})<br>{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}% AP<br>{{ticks|{{{attack3cool|0}}}}} }}<!--
+
:{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ({{{attack3type|type?}}})<br>{{{attack3ap|{{#expr: ({{{attack3dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack3cool|0}}} second cooldown}}<!--
 
-->{{#if: {{{attack3stun|}}}|{{#set:Attack 3 Stun = {{{attack3stun|}}}}}<br>Stun for {{ticks|{{{attack3stun|0}}}*20}} on first strike}}
 
-->{{#if: {{{attack3stun|}}}|{{#set:Attack 3 Stun = {{{attack3stun|}}}}}<br>Stun for {{ticks|{{{attack3stun|0}}}*20}} on first strike}}
  
 
{{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}|
 
{{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}|
 
   {{#set:Attack 4 Damage = {{{attack4dmg|}}} }}
 
   {{#set:Attack 4 Damage = {{{attack4dmg|}}} }}
 +
  {{#set:Attack 4 AP = {{{attack4ap|{{#expr: ({{{attack4dmg|}}}*1.5-0.001) round 0}}}}} }}
 
   {{#set:Attack 4 Type = {{{attack4type|}}} }}
 
   {{#set:Attack 4 Type = {{{attack4type|}}} }}
 
   {{#set:Attack 4 Part = {{{attack4part|}}} }}
 
   {{#set:Attack 4 Part = {{{attack4part|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }}
   {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}} / 60) }} }}
+
  {{#set:Attack 4 Chance Factor = {{{attack4chancefactor|}}} }}
 +
   {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}}) }} }}
 
   {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }}
 
   {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }}
 
;Attack 4
 
;Attack 4
:{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ({{{attack4type|type?}}})<br>{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}% AP<br>{{ticks|{{{attack4cool|0}}}}} on first strike}}<!--
+
:{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ({{{attack4type|type?}}})<br>{{{attack4ap|{{#expr: ({{{attack4dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack4cool|0}}} second cooldown}}<!--
-->{{#if: {{{attack4stun|}}}|{{#set:Attack 4 Stun = {{{attack4stun|}}}}}<br>Stun for {{ticks|{{{attack4stun|0}}}*20}}}}
+
-->{{#if: {{{attack4stun|}}}|{{#set:Attack 4 Stun = {{{attack4stun|}}}}}<br>Stun for {{ticks|{{{attack4stun|0}}}*20}} on first strike}}
  
 
{{#ifeq: {{#varexists: Attack4DPS}}|1|
 
{{#ifeq: {{#varexists: Attack4DPS}}|1|
Line 659: Line 727:
 
{{#if: {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}}|
 
{{#if: {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}}|
 
   {{#set:Attack 1 Damage = {{{meleeattack1dmg|}}} }}
 
   {{#set:Attack 1 Damage = {{{meleeattack1dmg|}}} }}
   {{#set:Attack 1 Type = {{{meleeattack1type|}}} }}
+
   {{#set:Attack 1 Type = {{ucfirst:{{{meleeattack1type|}}}}} }}
 
   {{#set:Attack 1 Part = {{{meleeattack1part|}}} }}
 
   {{#set:Attack 1 Part = {{{meleeattack1part|}}} }}
 
   {{#set:Attack 1 Cooldown = {{{meleeattack1cool|}}} }}
 
   {{#set:Attack 1 Cooldown = {{{meleeattack1cool|}}} }}
Line 666: Line 734:
 
   {{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }}
 
   {{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }}
 
;Melee Attack{{#if: {{{meleeattack1dmg|}}}|&nbsp;1}}
 
;Melee Attack{{#if: {{{meleeattack1dmg|}}}|&nbsp;1}}
:{{{meleeattack1part|Body part?}}}<br>{{{meleeattack1dmg|?}}} dmg ({{{meleeattack1type|type?}}})<br>{{{meleeattack1cool|0}}} seconds cooldown <br>{{{meleeattack1ap|0}}}% armor penetration}}
+
:{{{meleeattack1part|Body part?}}}<br>{{{meleeattack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack1type|}}}}}|{{ucfirst:{{{meleeattack1type|type?}}}}}]])<br>{{{meleeattack1cool|0}}} seconds cooldown <br>{{{meleeattack1ap|0}}}% armor penetration}}
  
 
{{#if: {{{meleeattack2dmg|}}}{{{meleeattack2type|}}}{{{meleeattack2part|}}}{{{meleeattack2cool|}}}|
 
{{#if: {{{meleeattack2dmg|}}}{{{meleeattack2type|}}}{{{meleeattack2part|}}}{{{meleeattack2cool|}}}|
 
   {{#set:Attack 2 Damage = {{{meleeattack2dmg|}}} }}
 
   {{#set:Attack 2 Damage = {{{meleeattack2dmg|}}} }}
   {{#set:Attack 2 Type = {{{meleeattack2type|}}} }}
+
   {{#set:Attack 2 Type = {{ucfirst:{{{meleeattack2type|}}}}} }}
 
   {{#set:Attack 2 Part = {{{meleeattack2part|}}} }}
 
   {{#set:Attack 2 Part = {{{meleeattack2part|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{meleeattack2cool|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{meleeattack2cool|}}} }}
Line 677: Line 745:
 
   {{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }}
 
   {{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }}
 
;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}|&nbsp;}}
 
;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}|&nbsp;}}
:{{{meleeattack2part|Body part?}}}<br>{{{meleeattack2dmg|?}}} dmg ({{{meleeattack2type|type?}}})<br>{{{meleeattack2cool|0}}} seconds cooldown <br>{{{meleeattack2ap|0}}}% armor penetration}}
+
:{{{meleeattack2part|Body part?}}}<br>{{{meleeattack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack2type|}}}}}|{{ucfirst:{{{meleeattack2type|type?}}}}}]])<br>{{{meleeattack2cool|0}}} seconds cooldown <br>{{{meleeattack2ap|0}}}% armor penetration}}
  
 
{{#if: {{{meleeattack3dmg|}}}{{{meleeattack3type|}}}{{{meleeattack3part|}}}{{{meleeattack3cool|}}}|
 
{{#if: {{{meleeattack3dmg|}}}{{{meleeattack3type|}}}{{{meleeattack3part|}}}{{{meleeattack3cool|}}}|
 
   {{#set:Attack 3 Damage = {{{meleeattack3dmg|}}} }}
 
   {{#set:Attack 3 Damage = {{{meleeattack3dmg|}}} }}
   {{#set:Attack 3 Type = {{{meleeattack3type|}}} }}
+
   {{#set:Attack 3 Type = {{ucfirst:{{{meleeattack3type|}}}}} }}
 
   {{#set:Attack 3 Part = {{{meleeattack3part|}}} }}
 
   {{#set:Attack 3 Part = {{{meleeattack3part|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{meleeattack3cool|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{meleeattack3cool|}}} }}
Line 688: Line 756:
 
   {{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }}
 
   {{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }}
 
;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}|&nbsp;}}
 
;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}|&nbsp;}}
:{{{meleeattack3part|Body part?}}}<br>{{{meleeattack3dmg|?}}} dmg ({{{meleeattack3type|type?}}})<br>{{{meleeattack3cool|0}}} seconds cooldown <br>{{{meleeattack3ap|0}}}% armor penetration}}
+
:{{{meleeattack3part|Body part?}}}<br>{{{meleeattack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack3type|}}}}}|{{ucfirst:{{{meleeattack3type|type?}}}}}]])<br>{{{meleeattack3cool|0}}} seconds cooldown <br>{{{meleeattack3ap|0}}}% armor penetration}}
  
 
{{#if: {{{meleeattack4dmg|}}}{{{meleeattack4type|}}}{{{meleeattack4part|}}}{{{meleeattack4cool|}}}|
 
{{#if: {{{meleeattack4dmg|}}}{{{meleeattack4type|}}}{{{meleeattack4part|}}}{{{meleeattack4cool|}}}|
 
   {{#set:Attack 4 Damage = {{{meleeattack4dmg|}}} }}
 
   {{#set:Attack 4 Damage = {{{meleeattack4dmg|}}} }}
   {{#set:Attack 4 Type = {{{meleeattack4type|}}} }}
+
   {{#set:Attack 4 Type = {{ucfirst:{{{meleeattack4type|}}}}} }}
 
   {{#set:Attack 4 Part = {{{meleeattack4part|}}} }}
 
   {{#set:Attack 4 Part = {{{meleeattack4part|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{meleeattack4cool|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{meleeattack4cool|}}} }}
Line 699: Line 767:
 
   {{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }}
 
   {{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }}
 
;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}|&nbsp;}}
 
;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}|&nbsp;}}
:{{{meleeattack4part|Body part?}}}<br>{{{meleeattack4dmg|?}}} dmg ({{{meleeattack4type|type?}}})<br>{{{meleeattack4cool|0}}} seconds cooldown <br>{{{meleeattack4ap|0}}}% armor penetration}}
+
:{{{meleeattack4part|Body part?}}}<br>{{{meleeattack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack4type|}}}}}|{{ucfirst:{{{meleeattack4type|type?}}}}}]])<br>{{{meleeattack4cool|0}}} seconds cooldown <br>{{{meleeattack4ap|0}}}% armor penetration}}
  
  
Line 730: Line 798:
  
 
<!--- Creation --->
 
<!--- Creation --->
{{#IF: {{{production facility 1|}}} {{{work to make|}}} {{{resources to make|}}} {{{stuff tags|}}} {{{deconstruct yield|}}} {{{resource 1|}}} {{{resource 2|}}}{{{resource 3|}}} {{{resource 4|}}} {{{resource 5|}}} {{{resource 6|}}} {{{resource 1 amount|}}} {{{resource 2 amount|}}} {{{resource 3 amount|}}} {{{resource 4 amount|}}} {{{resource 5 amount|}}} {{{resource 6 amount|}}} |
+
{{#IF: {{{research|}}} {{{production facility 1|}}} {{{work to make|}}} {{{resources to make|}}} {{{stuff tags|}}} {{{deconstruct yield|}}} {{{resource 1|}}} {{{resource 2|}}}{{{resource 3|}}} {{{resource 4|}}} {{{resource 5|}}} {{{resource 6|}}} {{{resource 1 amount|}}} {{{resource 2 amount|}}} {{{resource 3 amount|}}} {{{resource 4 amount|}}} {{{resource 5 amount|}}} {{{resource 6 amount|}}} |
 
</dl>{{clear}}
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Creation'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Creation'''</p>
Line 743: Line 811:
 
;Crafted At
 
;Crafted At
 
:{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{#ifeq:{{lc:{{{production facility 1|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 2|}}}|/{{Icon Small|{{{production facility 2|}}}|{{#ifeq:{{lc:{{{production facility 2|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 3|}}}|/{{Icon Small|{{{production facility 3|}}}|{{#ifeq:{{lc:{{{production facility 3|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 4|}}}|/{{Icon Small|{{{production facility 4|}}}|{{#ifeq:{{lc:{{{production facility 4|}}}}}|crafting spot|16|32}}}}}}
 
:{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{#ifeq:{{lc:{{{production facility 1|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 2|}}}|/{{Icon Small|{{{production facility 2|}}}|{{#ifeq:{{lc:{{{production facility 2|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 3|}}}|/{{Icon Small|{{{production facility 3|}}}|{{#ifeq:{{lc:{{{production facility 3|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 4|}}}|/{{Icon Small|{{{production facility 4|}}}|{{#ifeq:{{lc:{{{production facility 4|}}}}}|crafting spot|16|32}}}}}}
 +
}}
 +
 +
{{#if: {{{research|}}}|{{#set:Required Research = {{{research|}}} }}
 +
;Required Research
 +
:[[Research#{{ucfirst:{{{research|}}}}}|{{{research|}}}]]
 
}}
 
}}
  
Line 786: Line 859:
 
{{#if: {{{resource 1|}}}|
 
{{#if: {{{resource 1|}}}|
 
;Resources to make
 
;Resources to make
:{{#ifeq: Stuff | {{{resource 1|}}} |{{Icon|buildingmat}}|{{Icon Small|{{{resource 1|}}}|16}}}} {{{resource 1 amount|}}} {{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{{resource 2 amount|}}}|}} {{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{{resource 3 amount|}}}|}}{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{{resource 4 amount|}}}|}}{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{{resource 5 amount|}}}|}}{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{{resource 6 amount|}}}|}}
+
:{{Icon Small|{{{resource 1|}}}|16}} {{{resource 1 amount|}}} {{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{{resource 2 amount|}}}|}} {{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{{resource 3 amount|}}}|}}{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{{resource 4 amount|}}}|}}{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{{resource 5 amount|}}}|}}{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{{resource 6 amount|}}}|}}
 
|}}
 
|}}
  
Line 797: Line 870:
  
 
{{#if: {{{deconstruct yield|}}}|
 
{{#if: {{{deconstruct yield|}}}|
;{{H:title|link=no|Resources recovered when deconstructing|Deconstruct yield}}
+
;{{H:title|link=no|Resources recovered when deconstructing.|Deconstruct yield}}
:{{{deconstruct yield|}}}
+
:{{{deconstruct yield|}}}|
}}
+
{{#if: {{{resource 1|}}}|{{#if: {{{placeable|}}}|
 +
;{{H:title|link=no|Resources recovered when deconstructing.|Deconstruct yield}}
 +
:{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}/2) }} | {{#expr: floor({{{resource 1 amount|}}}/2) }}|{{#expr: {{{resource 1 amount|}}}/2 }}|{{#expr: floor({{{resource 1 amount|}}}/2) }} - {{#expr: ceil({{{resource 1 amount|}}}/2) }} }} <!--
 +
-->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}/2) }} | {{#expr: floor({{{resource 2 amount|}}}/2) }}|{{#expr: {{{resource 2 amount|}}}/2 }}|{{#expr: floor({{{resource 2 amount|}}}/2) }} - {{#expr: ceil({{{resource 2 amount|}}}/2) }} }}|}} <!--
 +
-->{{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 3 amount|}}}/2) }} | {{#expr: floor({{{resource 3 amount|}}}/2) }}|{{#expr: {{{resource 3 amount|}}}/2 }}|{{#expr: floor({{{resource 3 amount|}}}/2) }} - {{#expr: ceil({{{resource 3 amount|}}}/2) }} }}|}} <!--
 +
-->{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 4 amount|}}}/2) }} | {{#expr: floor({{{resource 4 amount|}}}/2) }}|{{#expr: {{{resource 4 amount|}}}/2 }}|{{#expr: floor({{{resource 4 amount|}}}/2) }} - {{#expr: ceil({{{resource 4 amount|}}}/2) }} }}|}} <!--
 +
-->{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 5 amount|}}}/2) }} | {{#expr: floor({{{resource 5 amount|}}}/2) }}|{{#expr: {{{resource 5 amount|}}}/2 }}|{{#expr: floor({{{resource 5 amount|}}}/2) }} - {{#expr: ceil({{{resource 5 amount|}}}/2) }} }}|}} <!--
 +
-->{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 6 amount|}}}/2) }} | {{#expr: floor({{{resource 6 amount|}}}/2) }}|{{#expr: {{{resource 6 amount|}}}/2 }}|{{#expr: floor({{{resource 6 amount|}}}/2) }} - {{#expr: ceil({{{resource 6 amount|}}}/2) }} }}|}}
 +
|}}
 +
|}}
 +
|}}
 +
 
  
 
{{#if: {{{page verified for version|}}}|{{Verified|{{{page verified for version|}}}}}| {{Verified}} }}
 
{{#if: {{{page verified for version|}}}|{{Verified|{{{page verified for version|}}}}}| {{Verified}} }}

Latest revision as of 20:35, 27 September 2021

Documentation icon Template documentation[view] [edit] [history] [purge]

Intro

Template:Infobox main Is the core of what powers the SemanticMediaWiki database of rimworld objects. Since the template is so complex, it's worth taking a step back and summarizing what this template does:

  • Takes in facts: On each page which describes an in-game object, we call {{infobox main | ...}}, where ... is a very long list of parameters describing the object in question, including its name, type, the cost to make it, and a bunch of other things
  • Rendering an infobox: This template takes those parameters and presents them in a nice looking infobox on the right side of the page. If you add a param |marketvalue = 200, this template will add a line to the infobox showing the market value annotated with a silver icon. Cool!
  • Setting SMW properties: The real magic comes from this templates ability to also set SMW properties. If the |marketvalue = 200 param is present, this template will also set a SMW property 'Market Value Base' equal to 200 for whatever page the infobox was called on.

As an example, say there was an Page called "Foo" for an in-game object with the same name. In-game, a foo has a market value of 200. When you invoke {{infobox main | ... | marketvalue = 200 | ..., this template will set the 'Market Value Base' property of the 'Foo' page to 200.

These properties can then be retrieved using a snippet like {{#show:Foo|?Market Value Base}}. You can browse the properties for a given page by clicking the "Browse properties" link on the left side of the page. For an example, see Special:Browse/:Duster

Positional parameters

This template also takes one (and only one -- all others are ignored) positional parameter that specifies the type of infobox styling to use (primarily: to set the color of the infobox based on object type)

Usage

  • Everything is optional for the template to function; however, relevant sections should be filled in for the sake of completeness. The information displayed is dependent on which category is used, and will not be displayed unless a value is provided.
  • You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)

Parameter List

{{infobox main
|animal/plant/weapon/area/structure/production/security/furniture (used to set color theme)
|additional styles (optional)

|name = Title of the infobox. Defaults to current page name if not specified.
|image = Picture name.(jpg/png)| variables such as size, alt text (optional)
|description = Short description of the item. Recommended to use the description from the in-game info page.
|type = use for main category 
|type2 = use for subcategory (optional)
|placeable = Yes/No
|rotatable = Yes/No
|size = two values, separated by | - (1|2)
|beauty = use for beauty
|flammability = how quickly it burns. format: in decimals(vb:0.8) , displayed as % vb(80%)
|market value = the amount of currency the item is worth
|mass base = mass in kilograms - DO NOT USE FOR ANIMALS
|hp = the amount of damage an object can take; use for objects with hit points

<!-- All pawns (animals, humanoids, mechanoids) -->
|movespeed = base movement speed
|attack1dmg = base damage of first attack <meleeDamageBaseAmount>
|attack1type = damage type of first attack <meleeDamageDef>
|attack1part = body part of first attack <linkedBodyPartsGroup>
|attack1cool = cooldown of first attack (in ticks) <defaultCooldownTicks>
|attack1stun = stun applied with first attack, if any (in stun damage, 20 ticks per point) <extraMeleeDamages>
|attack2dmg = as above for second attack
|attack2type = as above for second attack
|attack2part = as above for second attack
|attack2cool = as above for second attack
|attack2stun = as above for second attack
|attack3dmg = as above for third attack
|attack3type = as above for third attack
|attack3part = as above for third attack
|attack3cool = as above for third attack
|attack3stun = as above for third attack
|attack4dmg = as above for fourth attack
|attack4type = as above for fourth attack
|attack4part = as above for fourth attack
|attack4cool = as above for fourth attack
|attack4stun = as above for fourth attack
|bodysize = required in order to calculate meat yield, leather yields, and carrying capacity
|massyoung = the mass of an animal when young
|massjuvenile = the mass of an animal when juvenile
|massadult = the mass of an animal when adult
|meatname = name of meat given when butchered. Defaults to "x meat" when not defined.
|meatyield = amount of meat yielded when butchered. ONLY specify for animals that have a non default MeatAmount property in the XML (currently none). See also Property:Meat_Yield.
|leathername = name of leather given when butchered. Defaults to "x leather" when not defined. Leave empty if no leather is produced.
|leatheryield = amount of leather yielded when butchered. ONLY specify for animals that have a non default LeatherAmount property in the XML. See also Property:Leather_Yield.

<!--Apparel and Armor-->
|armorblunt = blunt armor rating for non-material dependent Apparel and Armor
|armorsharp = sharp armor rating for non-material dependent Apparel and Armor
|armorheat = heat armor rating for non-material dependent Apparel and Armor
|armorbluntfactor = blunt armor multiplier for material dependent Apparel and Armor
|armorsharpfactor = sharp armor multiplier for material dependent Apparel and Armor
|armorheatfactor = heat armor multiplier for material dependent Apparel and Armor
|painshockthreshold = increase in pain shock threshold
|insulationheat = base heat tolerance modifier
|insulationcold = base cold tolerance modifier
|insulationheatfactor = base heat tolerance for material dependent Apparel and Armor
|insulationcoldfactor = base cold tolerance for material dependent Apparel and Armor
|coverage = coverage provided by the item
|layer = the layer the item occupies on the pawn

<!-- Animals only -->
|manhunter = chance to turn manhunter when attacked (0.00 - 1.00)
|manhuntertame = chance to turn manhunter on a failed taming attempt (0.00 - 1.00)
|hungerrate = base hunger rate
|diet = carnivorous/herbivorous/omnivorous/dendrovorous/carnivorous and ovivorous/omnivorous and ovivorous
|lifespan = life expectancy
|trainable = none/simple/intermediate/advanced
|wildness = wildness level of creature
|milk = amount of milk produced
|milktime = milking interval (days)
|woolname = name of wool given when sheared. Defaults to "x wool" when not defined.
|wool = wool amount
|sheartime = shearing interval
|eggsmin = eggs per clutch minimum
|eggsmax = eggs per clutch maximum
|eggtime = egg laying interval
|eggs_avg = eggs per clutch average
|gestation = gestation period (days) (must either be a number or N/A)
|offspring = offspring per birth (Do not use for egg-laying animals)
|maturityage = age of maturity
|livesin_aridshrubland = true or <omit>
|livesin_borealforest = true or <omit>
|livesin_desert = true or <omit>
|livesin_extremedesert = true or <omit>
|livesin_icesheet = true or <omit>
|livesin_seaice = true or <omit>
|livesin_temperateforest = true or <omit>
|livesin_tropicalrainforest = true or <omit>
|livesin_tundra = true or <omit>
|predator = true or <omit>
|min comfortable temperature = min temperature animal can withstand
|max comfortable temperature = max temperature animal can withstand

<!-- Plants -->
|growth time = number of days to grow
|yield = how much food given when harvested
|wood = how much wood given when harvested

<!-- Buildings-->
|power = power generated or consumed. Format: + 3600 or - 150
|facility = multi-analyzer/tool cabinet/vitals monitor (name of facility that this production station links to for improved efficiency)

<!-- Furniture -->
|comfort = how much comfort it gives when using
|cover = how effective the object is when used for cover.  
|sell price multiplier = a multiplier on the price at which you can sell items.
|terrain requirement = light, medium or heavy terrain requirements to place object.
|work to make = the base amount of work it takes to build a structure, once all materials are gathered.
|work to uninstall = the amount of work it takes to uninstall a structure.
|immunity gain speed factor = how fast a pawn acquires immunity while using object
|rest effectiveness = how quickly rest gets restored

<!-- All Weapons -->
|class = neolithic/modern/advanced/mechanoid
|damage = Base weapon damage
|cooldown = use for cooldown time of weapon (in ticks)
|mode = Melee/Single-Shot/Single-Use/Burst
|warmup = How long it takes to aim (in ticks). Set to 0 if melee weapon.
|damage type= The type of damage: Blunt - Scharp - Heat - Electric - Toxic ,if it has damage it wil get Sharp automaticly

<!-- Ranged Weapons Only -->
|burst = Shots per burst. Set to 1 for single-shot weapons.
|burstticks = Time between bursts (in ticks)
|range = Weapon range
|minrange = Minimum weapon range AKA forced-miss range
|missRadius = Missed shots are forced to land within this radius of the target
|area = Explosive area (in squares)
|velocity = use for projectile velocity
|accuracyTouch = use for touch accuracy 
|accuracyShort = use for short range accuracy 
|accuracyMedium = use for medium range accuracy 
|accuracyLong = use for long range accuracy
|accuracyAvg = use for average accuracy: note that this value has to be calculated and cannot be obtained simply by taking the mean of the above accuracies
|blastRadius = use for blast radius of explosive weapons
|armor penetration = armor penetration  of the attack
|stoppingPower = stopping power of the weapon

<!-- Melee Weapons Only -->
|meleeattack1dmg = base damage of first attack <meleeDamageBaseAmount>
|meleeattack1type = damage type of first attack <meleeDamageDef>
|meleeattack1part = body part of first attack <linkedBodyPartsGroup>
|meleeattack1cool = cooldown of first attack (in seconds) <defaultCooldownTicks>
|meleeattack1ap = armor penetration of first attack
|meleeattack2dmg = as above for second attack
|meleeattack2type = as above for second attack
|meleeattack2part = as above for second attack
|meleeattack2cool = as above for second attack
|meleeattack2ap = as above for second attack
|meleeattack3dmg = as above for third attack
|meleeattack3type = as above for third attack
|meleeattack3part = as above for third attack
|meleeattack3cool = as above for third attack
|meleeattack3ap = as above for fourth attack
|meleeattack4dmg = as above for fourth attack
|meleeattack4type = as above for fourth attack
|meleeattack4part = as above for fourth attack
|meleeattack4cool = as above for fourth attack
|meleeattack4ap = as above for fourth attack
|MeleeWeaponAverageDPS = average melee DPS of the weapon
|MeleeWeaponAverageAP = average melee armor penetration of the weapon


<!-- Miscellaneous -->
|stuff tags = the different [[stuff]] categories that can be used.  Inc: Stony, Metallic, Fabric, Leathery, Woody
|work to make = the amount of work required to craft the item
|resource 1 = The first type of resource required to build or craft this item. Replace with "Stuff" when a stuffable items is being defined.
|resource 2 = The second type of resource required to build or craft this item
|resource 3 = The third type of resource required to build or craft this item
|resource 4 = The fourth type of resource required to build or craft this item
|resource 5 = The fifth type of resource required to build or craft this item
|resource 6 = The sixth type of resource required to build or craft this item
|resource 1 amount = The amount of the first type of resource required to build or craft this item
|resource 2 amount = The amount of the second type of resource required to build or craft this item
|resource 3 amount = The amount of the third type of resource required to build or craft this item
|resource 4 amount = The amount of the fourth type of resource required to build or craft this item
|resource 5 amount = The amount of the fifth type of resource required to build or craft this item
|resource 6 amount = The amount of the sixth type of resource required to build or craft this item
|deconstruct yield = amount of resources returned when this item is deconstructed or smelted.  Format using {{icon|metal|75}} or similar (more info at Template:Icon)
|skill 1 = Primary required skill
|skill 1 level = Minimum primary skill level required
|skill 2 = Secondary required skill
|skill 2 level = Minimum secondary skill level required

|page verified for version = the last version that the page was verified for, inputted at plain text (e.g. = 1.2.2719). See for [[Template: Version]] for usage details. 

<!--Undocumented parameters -->
|efficiency =
|deterioration =
|is exotic species =
|petness =
|nuzzleMtb =
|eggs_unfertilized =
|comfort offset =

<!-- Deprecated parameters -->
|resources to make = amount of resources to build or craft this item.  Format using {{icon|metal|75}} or similar (more info at Template:Icon). Deprecated in favor of individual resource definitions. 
|work to build = merged with work to make
|minimum skill = minimum skill level required to build or craft something -- was never consistently applied
|info = Removed and replaced with description =.
|walkSpeed = Superseded by moveSpeed
|speed = Superseded by moveSpeed
|accuracy = Superseded by accuracyTouch, accuracyShort, accuracyMedium, and accuracyLong.
|DPS = Removed. Now calculated automatically.
|healthscale = Unused. Would determine hit points for each body part.
|armorelectric = Not currently used.
|armorpoison = Not currently used.
|eggs_avg10 = Previously average per month. Game now uses seasons and template automatically calculates value.
|mobdamage = Superseded by attack1dmg
|mobdamagetype = Superseded by attack1type
|mobdamage2 = As above, for second attack
|mobdamagetype2 = As above, for second attack
|mobdamage3 = As above for, third attack
|mobdamagetype3 = As above, for third attack
|handleskill = minimum handling skill
}}

Deprecated positional paramters

This template used to take in up to 4 positional parameters, often accomplish relatively hacky things. As of now this template only takes ONE positional parameter -- all others are ignored.

  1. (still in use)
  2. DEPRECATED: Extra CSS class to be applied to the infobox div.
  3. DEPRECATED: Used to be extra params passed to the image layout in the infobox. Superseded by the imagesize= param
  4. DEPRECATED: Overly clever use of the size parameter. The usual format is |size = X|Y. This then gets transformed into x * y. BUT it only works if you have 3 positional parameters prior to the first param.


Example #1

Muffalo

Muffalo

"A large herding herbivore descended from buffalo and adapted for both cold and warm environments. While enraged muffalo are deadly, tamed muffalo are quite docile and can be used as pack animals.
Nobody is quite sure why they're blue - it might even be some early genetic modification test that just never got changed."


Base Stats

Type
AnimalsWild
Market Value
300 Silver.png

Pawn Stats

Move Speed
4.50
Mass - Baby
28.8 kg
Mass - Juvenile
72 kg
Mass - Adult
144 kg
Health Scale
1.75
Body Size
2.4
Carrying Capacity
180 kg
Filth Rate
16
Hunger Rate
0.86
Diet
herbivorous
Life Expectancy
15
Manhunter Chance
10%
Manhunter Chance (Taming)
0%
Trainable Intelligence
none
Wildness
60%
Minimum Handling Skill
5
Maturity Age
0.3333 years (20 days)
Juvenile Age
0.25 years (15 days)
Comfortable Temp Range
-55°C - 45°C
(-67°F - 113°F)

Production

Meat Yield
336 muffalo meat
Leather Yield
96 bluefur
Wool Amount
120 muffalo wool
Shearing Interval
15 days
Gestation Period
6.66 days
Offspring Per Birth
1

Melee Combat

Attack 1
head
13 dmg (blunt)
19% AP
2.6 second cooldown
Attack 2
left hoof
10 dmg (blunt)
15% AP
2 second cooldown
Attack 3
right hoof
10 dmg (blunt)
15% AP
2 second cooldown
Attack 4
Teeth
10 dmg (bite)
15% AP
2 second cooldown
Average DPS
3.1
Technical


{{infobox main|animal|
|name = Muffalo
|image = Animal Muffalo side.png|200px{{!}}Muffalo
|description = "A large herding herbivore descended from buffalo and adapted for both cold and warm environments. While enraged muffalo are deadly, tamed muffalo are quite docile and can be used as pack animals.<br>Nobody is quite sure why they're blue - it might even be some early genetic modification test that just never got changed."
|type = Animals
|type2 = Wild
|bodysize = 2.4
|healthscale = 1.75
|movespeed = 4.50
|attack1dmg = 13
|attack1type = blunt
|attack1part = head
|attack1cool = 2.6
|attack2dmg = 10
|attack2type = blunt
|attack2part = left hoof
|attack2cool = 2
|attack3dmg = 10
|attack3type = blunt
|attack3part = right hoof
|attack3cool = 2
|attack4dmg = 10
|attack4type = bite
|attack4part = Teeth
|attack4cool = 2
|attack4chance = 0.5
|leathername = bluefur
|woolname = muffalo wool
|wool = 120
|sheartime = 15
|manhunter = 0.1
|manhuntertame = 0.00
|hungerrate = 0.535
|diet = herbivorous
|trainable = none
|wildness = 0.6
|gestation = 6.66
|lifespan = 15
|offspring = 1
|massadult = 147
|maturityage = 0.3333
|juvenileage = 0.25
|marketvalue  = 300
|livesin_aridshrubland = true
|livesin_borealforest = true
|livesin_icesheet = true
|livesin_seaice = true
|livesin_temperateforest = true
|livesin_tundra = true
|min comfortable temperature = -55
|max comfortable temperature = 45
|filth rate = 16
}}

Example #2

Autopistol

Autopistol

An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire.


Base Stats

Type
EquipmentWeapons
Market Value
139 Silver.png
Mass
1.2 kg
Class
Industrial

Ranged Combat

Mode
Single-Shot
Damage
10 dmg (Bullet)
Armor penetration
15%
Warm-Up
18 ticks (0.3 secs)
Cooldown
60 ticks (1 sec)
Range
25.9 tile(s)
Accuracy
80% - 70% - 40% - 30%
Avg. accuracy
65%
Velocity
55 (m/s)
Burst Count
1 (per burst)
DPS
7.69 (5)
Stopping power
0.5

Melee Combat

Average DPS
3.1
Melee Attack 1
Grip
9 dmg (Blunt)
2.0 seconds cooldown
13% armor penetration
Melee Attack 2 
Barrel
9 dmg (Blunt)
2.0 seconds cooldown
13% armor penetration
Melee Attack 3 
Barrel
9 dmg (Poke)
2.0 seconds cooldown
13% armor penetration
Melee Average DPS
4.5
Melee Average AP
13%

Creation

Crafted At
MachiningTable.png
Required Research
Blowback Operation
Skill Required
Crafting 4
Work To Make
5,000 ticks (1.39 mins)
Resources to make
Steel.png 30 + Component.png 2
Technical
weaponTags
Gun, SimpleGun


{{infobox main|weapon|pull-left
| name = Autopistol
| image = Autopistol.png|Autopistol
| description = An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire.
| type = Equipment
| type2 = Weapons
| class = Industrial
| damage = 10
| damage type = Bullet
| armorPenetration = 15
| range = 25.9
| work to make = 5000
| accuracyTouch = 80
| accuracyShort = 70
| accuracyMedium = 40
| accuracyLong = 30
| accuracyAvg = 65
| mode = Single-Shot
| warmup = 18
| cooldown = 60
| burst = 1
| DPS = DPS
| velocity = 55
| production facility 1 = Machining table
| research = Blowback Operation
| resource 1 = Steel
| resource 1 amount = 30
| resource 2 = Component
| resource 2 amount = 2
| marketvalue = 139
| mass base = 1.2
| stoppingPower = 0.5
| meleeattack1dmg = 9
| meleeattack1type = blunt
| meleeattack1part = Grip
| meleeattack1cool = 2.0
| meleeattack1ap = 13
| meleeattack2dmg = 9
| meleeattack2type = blunt
| meleeattack2part = Barrel
| meleeattack2cool = 2.0
| meleeattack2ap = 13
| meleeattack3dmg = 9
| meleeattack3type = Poke
| meleeattack3part = Barrel
| meleeattack3cool = 2.0
| meleeattack3ap = 13
| MeleeWeaponAverageDPS = 4.5
| MeleeWeaponAverageAP = 13
| page verified for version =
| skill 1 = Crafting
| skill 1 level = 4
| weaponTags = Gun, SimpleGun
}}