Difference between revisions of "Template:Infobox main"
m (better don't use a redirect template) |
|||
Line 54: | Line 54: | ||
{{#if: {{#var:setProperty}} | {{#set: Calculated Market Value = True }} }} | {{#if: {{#var:setProperty}} | {{#set: Calculated Market Value = True }} }} | ||
;Market Value | ;Market Value | ||
− | :{{Market Value | {{Market Value Calculator}} }} {{Icon Small|silver}} {{ | + | :{{Market Value | {{Market Value Calculator}} }} {{Icon Small|silver}} {{Hover title|link=no|This value is automatically calculated by the wiki and may not be correct|<sup>[Note]</sup>}} }} }} }} |
}} | }} | ||
}} | }} | ||
Line 228: | Line 228: | ||
-->{{#vardefine:LightRadius|{{Lit Radius|{{{glowradius|}}}|{{#expr:{{#var:Red}}+{{#var:Green}}+{{#var:Blue}} }} }} }}<!-- | -->{{#vardefine:LightRadius|{{Lit Radius|{{{glowradius|}}}|{{#expr:{{#var:Red}}+{{#var:Green}}+{{#var:Blue}} }} }} }}<!-- | ||
-->{{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }} | -->{{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The furthest away a tile can be before it falls below 30% light|Light Radius}} |
:{{#expr:{{#var:LightRadius}} round 2}} }} | :{{#expr:{{#var:LightRadius}} round 2}} }} | ||
Line 348: | Line 348: | ||
{{#if: {{{insulationcoldfactor|}}} | | {{#if: {{{insulationcoldfactor|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Cold= {{{insulationcoldfactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Cold= {{{insulationcoldfactor|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|See Apparel for how this is applied|Insulation Factor - Cold}} |
:{{{insulationcoldfactor|}}}x | :{{{insulationcoldfactor|}}}x | ||
}} | }} | ||
Line 354: | Line 354: | ||
{{#if: {{{insulationheatfactor|}}} | | {{#if: {{{insulationheatfactor|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Heat= {{{insulationheatfactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Insulation Factor - Heat= {{{insulationheatfactor|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|See Apparel for how this is applied|Insulation Factor - Heat}} |
:{{{insulationheatfactor|}}}x | :{{{insulationheatfactor|}}}x | ||
}} | }} | ||
Line 469: | Line 469: | ||
{{#if: {{{ridingspeed|}}} | | {{#if: {{{ridingspeed|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Riding Speed = {{{ridingspeed|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Riding Speed = {{{ridingspeed|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Multiplier to the caravan's movement speed.|Riding Speed}} |
:{{{ridingspeed|}}} | :{{{ridingspeed|}}} | ||
}} | }} | ||
Line 482: | Line 482: | ||
{{#if: {{{filth rate|}}}|{{#if: {{#var:setProperty}} | | {{#if: {{{filth rate|}}}|{{#if: {{#var:setProperty}} | | ||
{{#set:Animal Filth Rate = {{{filth rate|}}} }} }} | {{#set:Animal Filth Rate = {{{filth rate|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The average amount of filth produced on constructed floors per 1000 cells walked by this creature.|Filth Rate}} |
:{{{filth rate|}}} | :{{{filth rate|}}} | ||
| {{#if: {{{bodysize|}}} | <!--Filth rate seems to default to 1 in game if it's not set in the xml.--> | | {{#if: {{{bodysize|}}} | <!--Filth rate seems to default to 1 in game if it's not set in the xml.--> | ||
{{#vardefine: FilthRate | 1 }} | {{#vardefine: FilthRate | 1 }} | ||
{{#if: {{#var:setProperty}} | {{#set: Animal Filth Rate = {{#var: FilthRate}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Animal Filth Rate = {{#var: FilthRate}} }} }} | ||
− | ;{{ | + | ;{{Hover 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}} | ||
}} }} | }} }} | ||
Line 494: | Line 494: | ||
{{#if: {{#var:setProperty}} | {{#set:Base Hunger Rate = {{{hungerrate|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Base Hunger Rate = {{{hungerrate|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Real Hunger Rate = {{#expr: {{{hungerrate|}}} * 1.6 round2}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Real Hunger Rate = {{#expr: {{{hungerrate|}}} * 1.6 round2}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Nutrition lost per day.|Hunger Rate}} |
:{{#expr: {{{hungerrate|}}} * 1.6 round2}} | :{{#expr: {{{hungerrate|}}} * 1.6 round2}} | ||
}} | }} | ||
Line 512: | Line 512: | ||
{{#if: {{{manhunter|}}} | | {{#if: {{{manhunter|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Chance of this animal turning manhunter when attacked.|Manhunter Chance}} |
:{{%| {{{manhunter|}}} }} | :{{%| {{{manhunter|}}} }} | ||
}} | }} | ||
Line 518: | Line 518: | ||
{{#if: {{{manhuntertame|}}} | | {{#if: {{{manhuntertame|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Turn Manhunter Chance When Taming = {{{manhuntertame|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Turn Manhunter Chance When Taming = {{{manhuntertame|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Chance of this animal turning manhunter on a failed taming attempt.|Manhunter Chance (Taming)}} |
:{{%| {{{manhuntertame|}}} }} | :{{%| {{{manhuntertame|}}} }} | ||
}} | }} | ||
Line 537: | Line 537: | ||
{{#if: {{{wildness|}}} | | {{#if: {{{wildness|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Wildness = {{{wildness|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Wildness = {{{wildness|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Wilder creatures are naturally more difficult to tame, train, and handle.|Wildness}} |
:{{%| {{{wildness|}}} | 0 }} | :{{%| {{{wildness|}}} | 0 }} | ||
Line 552: | Line 552: | ||
{{#if: {{#var:setProperty}} | {{#set:Minimum Handling Skill = {{#var: MinHandlingSkill}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Minimum Handling Skill = {{#var: MinHandlingSkill}} }} }} | ||
{{#ifeq: {{#var: MinHandlingSkill}}|0|| | {{#ifeq: {{#var: MinHandlingSkill}}|0|| | ||
− | ;{{ | + | ;{{Hover title|link=no|This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.|Minimum Handling Skill}} |
:{{#var: MinHandlingSkill}} }} | :{{#var: MinHandlingSkill}} }} | ||
}} | }} | ||
Line 562: | Line 562: | ||
{{#if: {{{roamMtb|}}} | | {{#if: {{{roamMtb|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Roam Mtb Days = {{{roamMtb|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Roam Mtb Days = {{{roamMtb|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|How often an animal will attempt to roam away if not in a pen.|Roam Interval}} |
:{{{roamMtb|}}} days | :{{{roamMtb|}}} days | ||
}} | }} | ||
Line 568: | Line 568: | ||
{{#if: {{{nuzzleMtb|}}} | | {{#if: {{{nuzzleMtb|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|How often an animal will nuzzle friendly colonists, on average.|Nuzzle Interval}} |
{{#ifexpr: {{{nuzzleMtb|}}} <= 24 | {{#ifexpr: {{{nuzzleMtb|}}} <= 24 | ||
|{{#switch: {{{nuzzleMtb|}}} | |{{#switch: {{{nuzzleMtb|}}} | ||
Line 579: | Line 579: | ||
{{#if: {{{mateMtb|}}} | | {{#if: {{{mateMtb|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Mate Mtb Hours = {{{mateMtb|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Mate Mtb Hours = {{{mateMtb|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|How often an awake, non-sterilised male will attempt to mate with a female, on average.|Mate Interval}} |
:{{{mateMtb|}}} hours | :{{{mateMtb|}}} hours | ||
}} | }} | ||
Line 585: | Line 585: | ||
{{#if: {{{maturityage|}}} | | {{#if: {{{maturityage|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Maturity Age = {{{maturityage|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Maturity Age = {{{maturityage|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The age at which an animal reaches adulthood.|Maturity Age}} |
:{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days) | :{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days) | ||
}} | }} | ||
Line 591: | Line 591: | ||
{{#if: {{{juvenileage|}}} | | {{#if: {{{juvenileage|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Juvenile Age = {{{juvenileage|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Juvenile Age = {{{juvenileage|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The age at which an animal becomes a juvenile.|Juvenile Age}} |
:{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }} | :{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }} | ||
}} | }} | ||
Line 731: | Line 731: | ||
{{#if: {{{nutrition|}}} | | {{#if: {{{nutrition|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Nutrition = {{{nutrition|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Nutrition = {{{nutrition|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=no | Nutrition gained when this item or object is eaten | Nutrition }} |
:{{{nutrition}}} | :{{{nutrition}}} | ||
}} | }} | ||
Line 773: | Line 773: | ||
{{#if: {{{max num to ingest at once|}}} | | {{#if: {{{max num to ingest at once|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=no | Maximum Number To Ingest At Once | Maximum To Ingest}} |
:{{{max num to ingest at once|}}} | :{{{max num to ingest at once|}}} | ||
}} | }} | ||
Line 926: | Line 926: | ||
{{#if: {{#var:setProperty}} | {{#set: Real Grow Days = {{#var:realGrowDays}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Real Grow Days = {{#var:realGrowDays}} }} }} | ||
;Time to grow | ;Time to grow | ||
− | :{{{grow days|}}} days {{ | + | :{{{grow days|}}} days {{Hover title|link=no|Actual days to grow, taking into account rest time|({{#var:realGrowDays}} days)}} |
}} | }} | ||
Line 958: | Line 958: | ||
{{#if: {{{min sowing skill|}}} | | {{#if: {{{min sowing skill|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Minimum Required Growing Skill = {{{min sowing skill|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Minimum Required Growing Skill = {{{min sowing skill|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Minimum skill required to sow the plant|Min Skill}} |
:{{{min sowing skill|}}} [[Skills#Plants|Plants]] | :{{{min sowing skill|}}} [[Skills#Plants|Plants]] | ||
}} | }} | ||
Line 1,018: | Line 1,018: | ||
{{#if: {{{warmup|}}} | | {{#if: {{{warmup|}}} | | ||
− | ;{{ | + | ;{{Hover title | link=no | Time it takes to aim the weapon | Warm-Up }} |
:{{ticks| {{{warmup|}}} }} | :{{ticks| {{{warmup|}}} }} | ||
}} | }} | ||
{{#if: {{{cooldown |}}} | | {{#if: {{{cooldown |}}} | | ||
− | ;{{ | + | ;{{Hover title| link=no | Waiting time before you can aim again after firing | Cooldown }} |
:{{ticks| {{{cooldown|}}} }} | :{{ticks| {{{cooldown|}}} }} | ||
}} | }} | ||
Line 1,052: | Line 1,052: | ||
{{#if: {{{accuracyLong|}}} | | {{#if: {{{accuracyLong|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Accuracy (Long) Base = {{{accuracyLong|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Accuracy (Long) Base = {{{accuracyLong|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}} |
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | :{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | ||
}} }} }} }} | }} }} }} }} | ||
{{#if: {{{accuracyAvg|}}} | | {{#if: {{{accuracyAvg|}}} | | ||
− | ;{{ | + | ;{{Hover title| link=no | Average accuracy of the weapon, taking range into account. | Avg. accuracy }} |
:{{{accuracyAvg|}}}% | :{{{accuracyAvg|}}}% | ||
}} | }} | ||
Line 1,075: | Line 1,075: | ||
{{#if: {{{burstTicks|}}} | | {{#if: {{{burstTicks|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Burst Ticks = {{{burstTicks|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Burst Ticks = {{{burstTicks|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=no | Time between shots in a single burst | Burst Ticks }} |
− | :{{ticks| {{{burstTicks|}}} }}<br>({{#expr: 3600 / {{{burstTicks|}}} round2}} {{ | + | :{{ticks| {{{burstTicks|}}} }}<br>({{#expr: 3600 / {{{burstTicks|}}} round2}} {{Hover title| link=no | Rounds Per Minute | RPM }}) |
}} | }} | ||
{{#if: {{{missRadius|}}} | | {{#if: {{{missRadius|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Miss Radius = {{{missRadius|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Miss Radius = {{{missRadius|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=no | Missed shots are forced to land within this radius | Miss Radius }} |
:{{{missRadius|}}} tile(s) | :{{{missRadius|}}} tile(s) | ||
}} | }} | ||
Line 1,100: | Line 1,100: | ||
{{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }} | {{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set: Average DPS = {{#var:maximumDPS}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Average DPS = {{#var:maximumDPS}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=yes | Formatted as: Maximum damage per second (DPS with average accuracy) | DPS }} |
:{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }} | :{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }} | ||
}} | }} | ||
Line 1,106: | Line 1,106: | ||
{{#if: {{{stoppingPower|}}} | | {{#if: {{{stoppingPower|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set: Stopping Power = {{{stoppingPower|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set: Stopping Power = {{{stoppingPower|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title| link=no | Ability of a weapon to 'stagger' targets, slowing them down for a short while. Larger values allow the weapon to stagger targets with bigger body sizes. | Stopping power}} |
:{{{stoppingPower|}}} | :{{{stoppingPower|}}} | ||
}} | }} | ||
Line 1,395: | Line 1,395: | ||
{{#if: {{{stuff tags|}}} | | {{#if: {{{stuff tags|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Stuff Tags = {{{stuff tags}}}}} }} | {{#if: {{#var:setProperty}} | {{#set:Stuff Tags = {{{stuff tags}}}}} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff tags}} |
:{{{stuff tags|}}} | :{{{stuff tags|}}} | ||
}} | }} | ||
Line 1,419: | Line 1,419: | ||
<!---If resource 1 is set to stuff, but theres no stuff tags, make note of it---> | <!---If resource 1 is set to stuff, but theres no stuff tags, make note of it---> | ||
{{#ifeq: Stuff | {{{resource 1|}}} | {{#if: {{{stuff tags|}}}| | | {{#ifeq: Stuff | {{{resource 1|}}} | {{#if: {{{stuff tags|}}}| | | ||
− | ;{{ | + | ;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff tags}} |
:<span style="color:red">'''ERROR: NO STUFF TAGS'''</span> | :<span style="color:red">'''ERROR: NO STUFF TAGS'''</span> | ||
}} | }} | ||
Line 1,427: | Line 1,427: | ||
{{#if: {{{product amount|}}} | | {{#if: {{{product amount|}}} | | ||
{{#if: {{#var:setProperty}} | {{#set:Product Amount = {{{product amount|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Product Amount = {{{product amount|}}} }} }} | ||
− | ;{{ | + | ;{{Hover title|link=no|The amount of this item produced from the required resources|Product Amount}} |
:{{Icon Small| {{#var:Name}} | 16 }} {{{product amount|}}} | :{{Icon Small| {{#var:Name}} | 16 }} {{{product amount|}}} | ||
}} | }} | ||
{{#if: {{{deconstruct yield|}}}| | {{#if: {{{deconstruct yield|}}}| | ||
− | ;{{ | + | ;{{Hover title| link=no | Resources recovered when deconstructing. | Deconstruct yield }} |
:{{{deconstruct yield|}}}| | :{{{deconstruct yield|}}}| | ||
<!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true | <!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true | ||
-->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}}}}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}}}}|true|1|0}} > 0| | -->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}}}}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}}}}|true|1|0}} > 0| | ||
− | ;{{ | + | ;{{Hover title|link=no|Resources recovered when deconstructing.|Deconstruct yield}} |
:{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!-- | :{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!-- | ||
-->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }}|}} <!-- | -->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }}|}} <!-- | ||
Line 1,447: | Line 1,447: | ||
{{#if:{{{destroyyield|}}} | | {{#if:{{{destroyyield|}}} | | ||
− | ;{{ | + | ;{{Hover title| link=no | Resources recovered when destroyed. | Destroy yield }} |
:{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out. | :{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out. | ||
-->|{{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title | -->|{{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title | ||
-->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0| | -->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0| | ||
− | ;{{ | + | ;{{Hover title|link=no|Resources recovered when destroyed.|Destroy yield}} |
:{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25 | :{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25 | ||
-->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }}|{{#expr: {{{resource 1 amount|}}}*0.25 }}|{{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!-- | -->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }}|{{#expr: {{{resource 1 amount|}}}*0.25 }}|{{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!-- |
Revision as of 10:19, 22 June 2022
This page has been suggested for recoding. Reason: Doesn't play nice with skins - font color changes, but not background. Background either needs to be transparent or use color from skin.. You can help RimWorld Wiki by improving it. |
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/fabric/leathery/metallic/stony (used to set color theme) |additional styles (optional) |set property = Boolean value for whether the template should set properties. This defaults to true on main pages, and false on namespaced pages. |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) |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 |min handling skill = minimum Animals skill to tame/train. ONLY use when necessary - acts as an override for minimum handling skill for rare occasions when it is not derived from wildness |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 <!-- Food --> | nutrition base = number | taste = string | ingested direct thought = string | joy offset = number | preferability = string | max num to ingest at once = number | days to rot = number <!-- Materials --> | beauty factor = number | beauty offset = number | work to make factor = number | work to build factor = number | work to build offset = number in ticks | max hit points factor = number | flammability factor = number | armor - sharp factor = number | armor - blunt factor = number | armor - heat factor = number | insulation - cold factor = number in °C | insulation - heat factor = number in °C | melee blunt damage factor = number | melee sharp damage factor = number | melee cooldown factor = number | door opening speed factor = number | rest effectiveness factor = number <!-- Plants --> |growth time = number of days to grow |yield = how much food given when harvested |wood = how much wood given when harvested |min grow light = Minimum light required to grow. <!-- BUILDING --> | size = two values in the format: 3 ˣ 1 | minifiable = whether there is an item for this building. Format: true/false | placeable = true/false | rotatable = true/false | passability = string e.g. pass through only | cover = how effective the object is when used for cover | blockswind = true/false | terrain affordance = light, medium or heavy terrain requirements to place object. | power = power generated or consumed. Format: + 3600 or - 150 | cleanliness = number | cleaning time factor = number | facility = comma seperated list of building names that improve this building when placed next to it. E.g: vitals monitor, dresser, end table <!-- Building - Furniture --> | glowcolor = ? | glowradius = ? | maxheattemperature = ? | mincooltemperature = ? | surgery success chance factor = ? | immunity gain speed factor = how fast a pawn acquires immunity while using object | rest effectiveness = how quickly rest gets restored | comfort = how much comfort it gives when using | comfort offset = ? <!-- Building - Recreation --> | recreation power = number | recreation type = string <!-- Building - Production --> | work efficiency factor = number | unpowered work speed factor = work speed at an unpowered workstation <!-- Building - Misc --> | work speed offset = number | max simultaneous facilities = how many of these facilities a work table can be connected to. Format: integer | efficiency = efficiency of a battery <!-- Building - Floors --> | speed = move speed factor of that flooring. Format: number <!-- CREATION --> | 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. <!-- 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 |product amount = The amount of items crafted |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. <!-- Technical --> | stuff adjective = Used for materials. Prefix for a stuffable item e.g. "golden" for "golden Club" | small value = boolean; "true" for materials like gold and silver | color = Used for materials. The color it colors resulting items with. Must be in rgb format in parentheses e.g. (133,97,67) <!--Undocumented parameters --> |deterioration = |is exotic species = |petness = |nuzzleMtb = |eggs_unfertilized = <!-- 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 |sell price multiplier = a multiplier on the price at which you can sell items. }}
Deprecated positional parameters
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.
- (still in use)
- DEPRECATED: Extra CSS class to be applied to the infobox div.
- DEPRECATED: Used to be extra params passed to the image layout in the infobox. Superseded by the imagesize= param
- 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
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
- Animal
- Flammability
- 70%
Pawn Stats
- Move Speed
- 4.5 c/s
- 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
- Pack Capacity
- 84 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
- Roam Interval
- 2 days
- Maturity Age
- 0.333 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
- front left leg
10 dmg (Blunt)
15% AP
2 second cooldown - Attack 3
- front left leg
10 dmg (Poke)
15% AP
2 second cooldown - Attack 4
- front right leg
10 dmg (Blunt)
15% AP
2 second cooldown - Attack 5
- front right leg
10 dmg (Poke)
15% AP
2 second cooldown - Attack 6
- teeth
10 dmg (Bite)
15% AP
2 second cooldown - Average DPS
- 3.1
- tradeTags
- AnimalFarm, AnimalCommon
{{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 = Animal |movespeed = 4.5 |min comfortable temperature = -55 |max comfortable temperature = 45 |flammability = 0.7 |marketvalue = 300 |filth rate = 16 |woolname = muffalo wool |sheartime = 15 |wool = 120 |herdanimal = true |bodysize = 2.4 |healthscale = 1.75 |hungerrate = 0.535 |diet = herbivorous |leathername = bluefur |wildness = 0.6 |manhuntertame = 0 |manhunter = 0.1 |roamMtb = 2 |trainable = none |packanimal = true |gestation = 6.66 |offspring = 1 |lifespan = 15 |juvenileage = 0.25 |maturityage = 0.3333 |tradeTags = AnimalFarm, AnimalCommon |attack1dmg = 13 |attack1type = Blunt |attack1cool = 2.6 |attack1part = head |attack2dmg = 10 |attack2type = Blunt |attack2cool = 2 |attack2part = front left leg |attack3dmg = 10 |attack3type = Poke |attack3cool = 2 |attack3part = front left leg |attack4dmg = 10 |attack4type = Blunt |attack4cool = 2 |attack4part = front right leg |attack5dmg = 10 |attack5type = Poke |attack5cool = 2 |attack5part = front right leg |attack6dmg = 10 |attack6type = Bite |attack6cool = 2 |attack6part = teeth |attack6chancefactor = 0.5 |livesin_temperateforest = 0.5 |livesin_temperateswamp = 0.5 |livesin_borealforest = 0.5 |livesin_tundra = 2 |livesin_coldbog = 0.5 |livesin_icesheet = 0.1 |livesin_seaice = 0.1 }}
Example #2
Autopistol
An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire.
Base Stats
- Class
- Industrial
- Mass
- 1.2 kg
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
- Required Research
- Blowback operation
- Skill Required
- Crafting 4
- Work To Make
- 5,000 ticks (1.39 mins)
- 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 }}
Example #3
Art bench
A workbench equipped for creating art.
Base Stats
- Type
- Building – Production
- Mass
- 20 kg
- HP
- 180
- Flammability
- 100%
- Path Cost
- 50
Building
- Size
- 3 ˣ 1
- Minifiable
- True
- Placeable
- True
- Passability
- pass through only
- Cover Effectiveness
- 50%
- Terrain Affordance
- Medium
- Cleanliness
- -5
- Facility
- Tool cabinet
- Average DPS
- 3.1
Creation
- Work To Make
- 2,500 ticks (41.67 secs)
- Stuff tags
- Metallic, Woody
{{infobox main|production| | name = Art bench | image = TableSculpting.png|Art bench | imagesize = 192px | description = A workbench equipped for creating art. | type = Building | type2 = Production | hp = 180 | mass base = 20 | flammability = 1 | path cost = 50 <!-- Building --> | cleanliness = -5 | passability = pass through only | cover = 0.5 | minifiable = true | placeable = true | size = 3 ˣ 1 | sell price factor = 0.7 | terrain affordance = medium | facility = tool cabinet <!-- Creation --> | work to make = 2500 | stuff tags = Metallic, Woody | resource 1 = Stuff | resource 1 amount = 75 | resource 2 = Steel | resource 2 amount = 50 <!-- Technical --> | page verified for version = }}
Example #4
Scorcher
A close-approach war mechanoid that specializes in incendiary attacks. Its flame burst attack has little reach, but once it closes on a group of defenders it can ignite and disrupt them with blasts of searing flame.
Base Stats
- Type
- Mechanoid
- Flammability
- 0%
Apparel
- Armor - Sharp
- 40%
- Armor - Blunt
- 20%
- Armor - Heat
- 200%
Pawn Stats
- Move Speed
- 4.5 c/s
- Mass - Baby
- 12 kg
- Mass - Juvenile
- 30 kg
- Mass - Adult
- 60 kg
- Health Scale
- 0.7
- Body Size
- 1
- Carrying Capacity
- 75 kg
- Filth Rate
- 1
- Comfortable Temp Range
- -100 °C – 250 °C (-148 °F – 482 °F)
- Meat Yield
- 140 muffalo meat
- Leather Yield
- 40 bluefur
- Average DPS
- 3.1
Creation
- Required Research
- Standard mechtech
- weaponTags
- MechanoidGunMiniFlameblaster
{{infobox main|none| | name = Scorcher | image = Scorcher east.png | description = A close-approach war mechanoid that specializes in incendiary attacks. Its flame burst attack has little reach, but once it closes on a group of defenders it can ignite and disrupt them with blasts of searing flame. | type = Mechanoid | movespeed = 4.5 | flammability = 0 | marketvalue = 1200 | armorblunt = 20 | armorsharp = 40 | armorheat = 200 | min comfortable temperature = -100 | max comfortable temperature = 250 | bodysize = 1 | healthscale = 0.7 | lifespan = | attack1dmg = | attack1type = | attack1cool = | attack1part = | attack1chancefactor = | page verified for version = 1.4.3525 | weaponTags = MechanoidGunMiniFlameblaster <!-- Creation --> | research = Standard mechtech | production facility 1 = Mech gestator | resource 1 = Steel | resource 1 amount = 80 | resource 2 = Plasteel | resource 2 amount = 32 | resource 3 = Component | resource 3 amount = 3 | resource 4 = Standard subcore | resource 4 amount = 1 }}
The above documentation is transcluded from Template:Infobox main/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |