Editing Template:Infobox main
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}}}} <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!-- |
− | + | --> animal = c_08 |<!-- | |
− | + | --> plant = c_14 |<!-- | |
− | + | --> weapon = c_06 |<!-- | |
− | + | --> area = c_11 |<!-- | |
− | + | --> structure = c_02 |<!-- | |
− | + | --> production = c_25 |<!-- | |
− | }} | + | --> security = c_10 |<!-- |
− | + | --> furniture = c_01 |<!-- | |
− | + | --> resource = c_03 |<!-- | |
− | + | -->}}}}"> | |
− | + | <p class="heading">{{#var:Name}}</p> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} }}"> | ||
− | <p class="heading"> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
− | <div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}} }}}|{{{imagesize| | + | <div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}}}}}|{{{imagesize|250px}}}|link={{#var:Name}}|{{#var:Name}}]]</div> |
− | <p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{ | + | <p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{description|}}}|{{{description|}}}{{#set:Description = {{{description|}}}}}}}</p>{{#set:Image = [[File:{{{image|{{#var:Name}}.png}}}]]}} |
+ | ---- | ||
+ | <dl> | ||
+ | {{#set:Name = {{#var:Name}} }} | ||
− | < | + | </dl>{{clear}} |
− | <p class='subheading' style='height: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important'>'''Base Stats'''</p> |
<dl> | <dl> | ||
− | |||
− | |||
− | |||
− | |||
;Type | ;Type | ||
− | :[[{{{type}}}]]{{#if: {{{type2|}}} |  | + | :[[{{{type}}}]]{{#set:Type = {{{type|}}}}}{{#if: {{{type2|}}} | –  [[{{{type2}}}]]{{#set:Type2 = {{{type2|}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{hp|}}}|{{#set:Max Hit Points Base = {{{hp|}}} }} |
− | + | ;HP | |
− | + | :{{{hp|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | ; | ||
− | :{{{ | ||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{ | + | {{#if: {{{deterioration|}}}|{{#set:Deterioration Rate Base = {{{deterioration|}}} }} |
− | + | ;Deterioration Rate | |
− | ; | + | :{{{deterioration|}}}}} |
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
<!-- If market value defined, use that, else, if possible, calculate the value and use that instead but make a note that it is calculated.--> | <!-- If market value defined, use that, else, if possible, calculate the value and use that instead but make a note that it is calculated.--> | ||
− | {{#if: {{{marketvalue|} | + | {{#if: {{{marketvalue|}}}|{{#set: Market Value Base = {{{marketvalue|}}} }} |
− | |||
;Market Value | ;Market Value | ||
− | :{{Market Value | {{{marketvalue|}}} }} {{Icon Small|silver}} | + | :{{Market Value | {{{marketvalue|}}}}} {{Icon Small|silver}} | {{#if: {{{resource 1|}}}| {{#if: {{{work to make|}}} | {{#ifeq: {{{resource 1|}}} | Stuff | | {{#set: Market Value Base = {{Market Value Calculator}} }} {{#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}} {{H:title|link=no|This value is automatically calculated by the wiki and may not be correct|<sup>[Note]</sup>}} }} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | {{#if: {{{beauty|}}}{{{beauty outdoors|}}}|{{#set:Beauty Base = {{{beauty|}}} }}{{#set:Beauty Outdoors Base = {{{beauty uutdoors|}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{beauty|}}}{{{beauty outdoors|} | ||
− | |||
− | |||
;Beauty | ;Beauty | ||
− | :{{{beauty|0}}} {{#if:{{{beauty outdoors|}}}| | + | :{{{beauty|0}}} {{#if:{{{beauty outdoors|}}}|{{hover title|Beauty score when outdoors|({{{beauty outdoors|}}})}}}} }} |
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{style|}}}|{{#set:Style = {{{style|}}}}} }} |
− | + | {{#if: {{{styledominance|}}}|{{#set:Style Dominance = {{{styledominance|}}} }} | |
− | |||
− | |||
− | |||
;Style Dominance | ;Style Dominance | ||
− | :{{{style|}}} {{{styledominance|}}} | + | :{{{style|}}} {{{styledominance|}}} }} |
− | }} | ||
− | + | {{#if: {{{edifice|}}}|{{#set:Edifice = {{{edifice|}}} }} | |
− | {{#if: {{{ | + | ;Edifice |
− | + | :{{{edifice|}}}}} | |
− | ; | ||
− | :{{{ | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{mass base|}}}|{{#set:Mass Base = {{{mass base|}}} }} |
− | + | ;Mass | |
− | ; | + | :{{{mass base|}}} kg}} |
− | :{{{ | ||
− | }} | ||
− | {{#if: {{{flammability|} | + | {{#if: {{{flammability|}}}|{{#set:Flammability Base = {{{flammability|}}} }} |
− | |||
;Flammability | ;Flammability | ||
− | :{{ | + | :{{#expr:{{{flammability|}}}*100}}%}} |
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{cleanliness|}}}|{{#set:Cleanliness = {{{cleanliness|}}} }} |
− | + | ;Cleanliness | |
− | ; | + | :{{{cleanliness|}}}}} |
− | :{{{ | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{stack limit|}}}|{{#set:Stack Limit = {{{stack limit|}}} }} |
− | + | ;Stack Limit | |
− | ; | + | :{{{stack limit|}}}}} |
− | : | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{passability|}}}|{{#set:Passability = {{{passability|}}} }} |
− | + | ;Passability | |
− | ; | + | :{{{passability|}}}}} |
− | : | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{path cost|}}}|{{#set:Path Cost = {{{path cost|}}} }} |
− | + | ;Path Cost | |
− | ; | + | :{{{path cost|}}}}} |
− | : | ||
− | }} | ||
− | + | {{#if: {{{class|}}}|{{#set:Class = {{{class|}}} Weapons}} | |
− | {{#if: {{{ | + | ;Class |
− | + | :[[{{{class|}}} Weapons|{{{class|}}}]] | |
− | ; | ||
− | :{{ | ||
}} | }} | ||
− | + | <!---Building---> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{size|} | + | {{#if: {{{size|}}}|{{#set:Size = {{{size|}}} }} |
− | |||
;Size | ;Size | ||
− | :{{ | + | :{{{size|}}}}} |
− | }} | ||
− | {{#if: {{{minifiable|} | + | {{#if: {{{minifiable|}}}|{{#set:Minifiable = {{{minifiable|}}} }} |
− | |||
;Minifiable | ;Minifiable | ||
− | :{{ucfirst:{{{minifiable|}}} }} | + | :{{ucfirst:{{{minifiable|}}}}}}} |
− | }} | ||
− | {{#if: {{{placeable|} | + | {{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} |
− | |||
;Placeable | ;Placeable | ||
− | :{{ucfirst:{{{placeable|}}} }} | + | :{{ucfirst:{{{placeable|}}}}}}} |
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{rotatable|}}}|{{#set:Rotatable = {{{rotatable|}}} }} |
− | + | ;Rotatable | |
− | ; | + | :{{ucfirst:{{{rotatable|}}}}}}} |
− | :{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
− | + | {{#if: {{{blockswind|}}}|{{#set:Blocks Wind = {{{blockswind|}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{blockswind|} | ||
− | |||
;Blocks Wind | ;Blocks Wind | ||
− | :{{ucfirst:{{{blockswind|}}} }} | + | :{{ucfirst:{{{blockswind|}}}}}}} |
− | }} | ||
− | {{#if: {{{terrain affordance|} | + | {{#if: {{{terrain affordance|}}}|{{#set:Terrain Affordance = {{{terrain affordance|}}} }} |
− | |||
;Terrain Affordance | ;Terrain Affordance | ||
− | :{{ucfirst:{{{terrain affordance|}}} }} | + | :{{ucfirst:{{{terrain affordance|}}}}}}} |
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{efficiency|}}}|{{#set:Efficiency= {{{efficiency|}}} }} |
− | + | ;Efficiency | |
− | ; | + | :{{{efficiency|}}}}} |
− | :{{{ | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{recreation power|}}} {{{recreation type|}}}|{{#set:Recreation Power= {{{recreation power|}}} }}{{#set:Recreation Type= {{{recreation type|}}} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
;Recreation | ;Recreation | ||
− | :{{#if: {{{recreation power|}}} | {{ | + | :{{#if:{{{recreation power|}}}|{{#expr:{{{recreation power|}}}*100}}%}} {{{recreation type|}}}}} |
− | }} | ||
− | <!-- | + | <!-- Apparel--> |
− | + | {{#if: {{{insulationcold|}}} {{{insulationheat|}}} {{{insulationcoldfactor|}}} {{{insulationheatfactor|}}} {{{armorsharp|}}} {{{armorblunt|}}} {{{armorheat|}}} {{{armorsharpfactor|}}} {{{armorbluntfactor|}}} {{{armorheatfactor|}}} {{{painshockthreshold|}}} {{{coverage|}}} {{{layer|}}}| | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{insulationcold|}}} {{{insulationheat|}}} {{{insulationcoldfactor|}}} {{{insulationheatfactor|}}} {{{armorsharp|}}} {{{armorblunt|}}} {{{armorheat|}}} {{{armorsharpfactor|}}} {{{armorbluntfactor|}}} {{{armorheatfactor|}}} {{{painshockthreshold|}}} {{{coverage|}}} {{{layer|}}} | | ||
</dl>{{clear}} | </dl>{{clear}} | ||
− | <p class='subheading' style='height: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Apparel'''</p> |
<dl> | <dl> | ||
}} | }} | ||
− | {{#if: {{{insulationcold|} | + | {{#if: {{{insulationcold|}}}|{{#set:Insulation - Cold Base= {{{insulationcold|}}} }} |
− | |||
;Insulation - Cold | ;Insulation - Cold | ||
− | : | + | :{{{insulationcold|}}}°C}} |
− | }} | ||
− | {{#if: {{{insulationheat|} | + | {{#if: {{{insulationheat|}}}|{{#set:Insulation - Heat Base= {{{insulationheat|}}} }} |
− | |||
;Insulation - Heat | ;Insulation - Heat | ||
− | : | + | :{{{insulationheat|}}}°C}} |
− | }} | ||
− | {{#if: {{{insulationcoldfactor|} | + | {{#if: {{{insulationcoldfactor|}}}|{{#set:Insulation Factor - Cold= {{{insulationcoldfactor|}}} }} |
− | + | ;{{H:title|link=no|See Apparel for how this is applied|Insulation Factor - Cold}} | |
− | ; | + | :{{{insulationcoldfactor|}}}x }} |
− | :{{{insulationcoldfactor|}}} | ||
− | }} | ||
− | {{#if: {{{insulationheatfactor|} | + | {{#if: {{{insulationheatfactor|}}}|{{#set:Insulation Factor - Heat= {{{insulationheatfactor|}}} }} |
− | + | ;{{H:title|link=no|See Apparel for how this is applied|Insulation Factor - Heat}} | |
− | ; | + | :{{{insulationheatfactor|}}}x }} |
− | :{{{insulationheatfactor|}}} | ||
− | }} | ||
− | {{#if: {{{armorsharp|} | + | {{#if: {{{armorsharp|}}}|{{#set:Armor - Sharp = {{{armorsharp|}}} }} |
− | |||
;Armor - Sharp | ;Armor - Sharp | ||
− | :{{{armorsharp|}}}% | + | :{{{armorsharp|}}}%}} |
− | }} | ||
− | {{#if: {{{armorblunt|} | + | {{#if: {{{armorblunt|}}}|{{#set:Armor - Blunt= {{{armorblunt|}}} }} |
− | |||
;Armor - Blunt | ;Armor - Blunt | ||
− | :{{{armorblunt|}}}% | + | :{{{armorblunt|}}}%}} |
− | }} | ||
− | {{#if: {{{armorheat|} | + | {{#if: {{{armorheat|}}}|{{#set:Armor - Heat = {{{armorheat|}}} }} |
− | |||
;Armor - Heat | ;Armor - Heat | ||
− | :{{{armorheat|}}}% | + | :{{{armorheat|}}}%}} |
− | }} | ||
− | {{#if: {{{armorsharpfactor|} | + | {{#if: {{{armorsharpfactor|}}}|{{#set:Armor Factor - Sharp = {{{armorsharpfactor|}}} }} |
− | |||
;Armor Factor - Sharp | ;Armor Factor - Sharp | ||
− | :{{{armorsharpfactor|}}} | + | :{{{armorsharpfactor|}}}}} |
− | }} | ||
− | {{#if: {{{armorbluntfactor|} | + | {{#if: {{{armorbluntfactor|}}}|{{#set:Armor Factor - Blunt= {{{armorbluntfactor|}}} }} |
− | |||
;Armor Factor - Blunt | ;Armor Factor - Blunt | ||
− | :{{{armorbluntfactor|}}} | + | :{{{armorbluntfactor|}}}}} |
− | }} | ||
− | {{#if: {{{armorheatfactor|} | + | {{#if: {{{armorheatfactor|}}}|{{#set:Armor Factor - Heat = {{{armorheatfactor|}}} }} |
− | |||
;Armor Factor - Heat | ;Armor Factor - Heat | ||
− | :{{{armorheatfactor|}}} | + | :{{{armorheatfactor|}}}}} |
− | }} | ||
− | {{#if: {{{painshockthreshold|} | + | {{#if: {{{painshockthreshold|}}}|{{#set:Pain Shock Threshold = {{{painshockthreshold|}}} }} |
− | |||
;Pain Shock Threshold | ;Pain Shock Threshold | ||
− | :{{{painshockthreshold|}}}% | + | :{{{painshockthreshold|}}}%}} |
− | }} | ||
− | + | {{#if: {{{coverage|}}}|{{#set:Coverage = {{{coverage|}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{coverage|} | ||
− | |||
;Coverage | ;Coverage | ||
− | :{{{coverage|}}} | + | :{{{coverage|}}}}} |
− | }} | ||
− | {{#if: {{{layer|} | + | {{#if: {{{layer|}}}|{{#set:layer= {{{layer|}}} }} |
− | |||
;Layer | ;Layer | ||
− | :{{{layer|}}} | + | :{{{layer|}}}}} |
− | }} | ||
− | <!-- | + | <!-- All pawns (animals, humanoids, mechanoids) --> |
<!-- Animal Health ---> | <!-- Animal Health ---> | ||
− | {{#if: {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}} {{{healthscale|}}} {{{bodysize|}}} {{{ridingspeed|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{roamMtb|}}} {{{nuzzleMtb|}}} {{{maturityage|}}} {{{juvenileage | + | {{#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: | + | <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> |
<dl> | <dl> | ||
− | + | <!--Most animal babies are 0.2 the size of the adults, but birds are 0.1--> | |
− | + | {{#set:Baby Scale = {{#vardefineecho:BabyScale|{{{babyscale|0.2}}}}}}} | |
− | {{# | ||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{# | + | {{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}} |
− | |||
− | |||
− | |||
− | }} | ||
− | {{#if: {{{movespeed|} | + | {{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }} |
− | |||
;Move Speed | ;Move Speed | ||
− | :{{{movespeed|}}} | + | :{{{movespeed|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <!--Mass is 60*bodysize, with no exceptions--> | |
− | + | {{#if: {{{bodysize|}}}| | |
− | + | {{#set:Mass - Young={{#vardefineecho:MassYoung|{{#expr:60*{{{bodysize}}}*{{#var:BabyScale}}}}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
;Mass - Baby | ;Mass - Baby | ||
:{{#var:MassYoung}} kg | :{{#var:MassYoung}} kg | ||
− | + | {{#set:Mass - Juvenile={{#vardefineecho:MassJuvenile|{{#expr:60*{{{bodysize}}}*0.5}}}}}} | |
− | |||
;Mass - Juvenile | ;Mass - Juvenile | ||
:{{#var:MassJuvenile}} kg | :{{#var:MassJuvenile}} kg | ||
− | + | {{#set:Mass - Adult={{#vardefineecho:MassAdult|{{#expr:60*{{{bodysize}}}}}}}}} | |
− | |||
;Mass - Adult | ;Mass - Adult | ||
:{{#var:MassAdult}} kg | :{{#var:MassAdult}} kg | ||
+ | }} | ||
− | {{# | + | {{#if: {{{healthscale|}}}|{{#set: Health Scale = {{{healthscale|}}} }} |
− | + | ;Health Scale | |
− | + | :{{{healthscale|}}} | |
− | ; | ||
− | :{{ | ||
− | }} | ||
}} | }} | ||
+ | |||
+ | {{#if: {{{bodysize|}}}|{{#set:Body Size = {{{bodysize|}}} }} | ||
+ | ;Body Size | ||
+ | :{{{bodysize|}}} | ||
{{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | ||
− | + | {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }} | |
;Carrying Capacity | ;Carrying Capacity | ||
− | :{{#var:CarryingCapacity}} kg | + | :{{#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 | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#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}} }} | ||
+ | ;{{H:title|link=no|The average amount of filth produced on constructed floors per 1000 cells walked by this creature.|Filth Rate}} | ||
+ | :{{#var: FilthRate}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{#if: {{{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}} | |
− | ; | + | :{{#expr: {{{hungerrate|}}} * 1.6 round2}} }} |
− | :{{#expr: {{{hungerrate|}}} * 1.6 round2}} | ||
− | }} | ||
− | {{#if: {{{diet|}}} | | + | {{#if: {{{diet|}}}|{{#set:Diet ={{{diet|}}} }} |
− | |||
− | |||
− | |||
− | |||
;Diet | ;Diet | ||
− | :{{{diet|}}} | + | :{{{diet|}}}}} |
− | }} | ||
− | {{#if: {{{lifespan|} | + | {{#if: {{{lifespan|}}}|{{#set:Life Expectancy = {{{lifespan|}}} }} |
− | |||
;Life Expectancy | ;Life Expectancy | ||
− | :{{{lifespan|}}} | + | :{{{lifespan|}}}}} |
− | }} | ||
− | {{#if: {{{manhunter|} | + | {{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} |
− | + | ;{{H:title|link=no|Chance of this animal turning manhunter when attacked.|Manhunter Chance}} | |
− | ; | + | :{{#expr: {{{manhunter|}}} * 100}}%}} |
− | :{{ | ||
− | }} | ||
− | {{#if: {{{manhuntertame|} | + | {{#if: {{{manhuntertame|}}}|{{#set:Turn Manhunter Chance When Taming = {{{manhuntertame|}}} }} |
− | + | ;{{H:title|link=no|Chance of this animal turning manhunter on a failed taming attempt.|Manhunter Chance (Taming)}} | |
− | ; | + | :{{#expr: {{{manhuntertame|}}} * 100}}%}} |
− | :{{ | ||
− | }} | ||
− | {{#if: {{{trainable|}}} | | + | {{#if: {{{trainable|}}}|{{#set:Trainable Intelligence = {{{trainable|}}} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
;Trainable Intelligence | ;Trainable Intelligence | ||
− | :{{ | + | :{{{trainable|}}} |
+ | {{#switch: {{{trainable|}}} | ||
+ | | none = {{#set: Can Train Guard = no |Can Train Attack = no |Can Train Rescue = no |Can Train Haul = no}} | ||
+ | | simple = {{#set: Can Train Guard = yes |Can Train Attack = no |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}}}} | ||
+ | | hauling only = {{#set: Can Train Guard = no |Can Train Attack = no |Can Train Rescue = no |Can Train Haul = yes}} | ||
+ | }} | ||
}} | }} | ||
− | {{#if: {{{wildness|} | + | {{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }} |
− | + | ;{{H:title|link=no|Wilder creatures are naturally more difficult to tame, train, and handle.|Wildness}} | |
− | ; | + | :{{#expr: {{{wildness|}}} * 100 round0}}% |
− | :{{ | ||
− | {{#vardefine: MinHandlingSkill | | + | {{#vardefine: MinHandlingSkill | |
− | {{#ifexpr: {{{wildness|}}} < | + | {{#ifexpr: |
− | | {{#ifexpr: {{{wildness|}}} < | + | {{{wildness|}}} < .2|0 |
− | + | |{{#ifexpr: {{{wildness|}}} < .45|1 | |
− | + | |{{#ifexpr: {{{wildness|}}} < .55|4 | |
− | + | |{{#ifexpr: {{{wildness|}}} < .75|5 | |
− | + | |{{#ifexpr: {{{wildness|}}} < .8|7 | |
− | + | |{{#ifexpr: {{{wildness|}}} < .9|8 | |
− | + | |{{#ifexpr: {{{wildness|}}} < .97|9 | |
− | + | |10}} }} }} }} }} }} }} }} | |
− | + | {{#set:Minimum Handling Skill = {{#var: MinHandlingSkill}} }} | |
− | + | {{#ifeq: {{#var: MinHandlingSkill}}|0|| | |
− | + | ;{{H:title|link=no|This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.|Minimum Handling Skill}} | |
− | {{#ifeq: {{#var:MinHandlingSkill}}|0|| | + | :{{#var: MinHandlingSkill}} }} |
− | ; | ||
− | :{{#var:MinHandlingSkill}} }} | ||
}} | }} | ||
− | {{#if: {{{petness|} | + | {{#if: {{{petness|}}}|{{#set: Petness = {{{petness|}}} }} }} |
− | {{#ifeq: {{{predator|}}} | true | + | {{#ifeq: {{{predator|}}}|true|{{#set:Is Predator = true}}|}} |
− | {{#if: {{{roamMtb|} | + | {{#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}} |
− | :{{{roamMtb|}}} days | ||
− | }} | ||
− | {{#if: {{{nuzzleMtb|} | + | {{#if: {{{nuzzleMtb|}}}|{{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }} |
− | + | ;{{H: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 663: | Line 309: | ||
|1 = :1 hour | |1 = :1 hour | ||
|#default = :{{{nuzzleMtb|}}} hours}} | |#default = :{{{nuzzleMtb|}}} hours}} | ||
− | |:{{#expr: {{{nuzzleMtb|}}} / 24 round1}} days}} | + | |:{{#expr: {{{nuzzleMtb|}}} / 24 round1}} days}} }} |
− | }} | ||
− | {{#if: {{{mateMtb|} | + | {{#if: {{{mateMtb|}}}|{{#set:Mate Mtb Hours = {{{mateMtb|}}} }} |
− | + | ;{{H: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 | ||
− | }} | ||
− | {{#if: {{{maturityage|}}} | | + | {{#if: {{{maturityage|}}}|{{#set: Maturity Age = {{#vardefineecho:RealMaturityAge|{{{maturityage}}} }} }} |
− | + | ;{{H:title|link=no|The age at which an animal reaches adulthood.|Maturity Age}} | |
− | ; | + | :{{#expr:{{#var:RealMaturityAge}} round 3}} years {{#ifexpr: {{#var:RealMaturityAge}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{#var:RealMaturityAge}}|R}}*60)round 1}} }} days) }} |
− | :{{#expr:{{ | ||
− | }} | ||
− | {{#if: {{{juvenileage|}}} | | + | {{#if: {{{juvenileage|}}}|{{#set: Juvenile Age = {{#vardefineecho:RealJuvenileAge|{{{juvenileage}}} }} }} |
− | + | ;{{H:title|link=no|The age at which an animal becomes a juvenile.|Juvenile Age}} | |
− | ; | + | :{{#expr:{{#var:RealJuvenileAge}} round 3}} years {{#ifexpr: {{#var:RealJuvenileAge}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{#var:RealJuvenileAge}}|R}}*60)round 1}} }} days) }} |}} |
− | :{{#expr:{{ | + | |}} |
− | }} | ||
− | {{#if: {{{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|}}} }} | |
− | |||
− | |||
;Comfortable Temp Range | ;Comfortable Temp Range | ||
− | :{{ | + | :{{{min comfortable temperature|}}}°C - {{{max comfortable temperature|}}}°C<br>({{formatnum: {{#expr: ((({{{min comfortable temperature|}}}*9)/5)+32)round 1}} }}°F - {{formatnum: {{#expr: ((({{{max comfortable temperature|}}}*9)/5)+32)round 1}} }}°F)}} |
− | }} }} | + | }} |
− | {{#if: {{{livesin_temperateforest|} | + | {{#if: {{{livesin_temperateforest|}}}|{{#set: Lives In Temperate Forest = true}} }} |
− | {{#if: {{{livesin_temperateswamp|} | + | {{#if: {{{livesin_temperateswamp|}}}|{{#set: Lives In Temperate Swamp = true}} }} |
− | {{#if: {{{livesin_tropicalrainforest|} | + | {{#if: {{{livesin_tropicalrainforest|}}}|{{#set: Lives In Tropical Rainforest = true}} }} |
− | {{#if: {{{livesin_tropicalswamp|} | + | {{#if: {{{livesin_tropicalswamp|}}}|{{#set: Lives In Tropical Swamp = true}} }} |
− | {{#if: {{{livesin_aridshrubland|} | + | {{#if: {{{livesin_aridshrubland|}}}|{{#set: Lives In Arid Shrubland = true}} }} |
− | {{#if: {{{livesin_desert|} | + | {{#if: {{{livesin_desert|}}}|{{#set: Lives In Desert = true}} }} |
− | {{#if: {{{livesin_extremedesert|} | + | {{#if: {{{livesin_extremedesert|}}}|{{#set: Lives In Extreme Desert = true}} }} |
− | {{#if: {{{livesin_borealforest|} | + | {{#if: {{{livesin_borealforest|}}}|{{#set: Lives In Boreal Forest = true}} }} |
− | {{#if: {{{livesin_coldbog|} | + | {{#if: {{{livesin_coldbog|}}}|{{#set: Lives In Cold Bog = true}} }} |
− | {{#if: {{{livesin_tundra|} | + | {{#if: {{{livesin_tundra|}}}|{{#set: Lives In Tundra = true}} }} |
− | {{#if: {{{livesin_icesheet|} | + | {{#if: {{{livesin_icesheet|}}}|{{#set: Lives In Ice Sheet = true}} }} |
− | {{#if: {{{livesin_seaice|} | + | {{#if: {{{livesin_seaice|}}}|{{#set: Lives In Sea Ice = true}} }} |
− | + | {{#if: {{{meatyield|}}} {{{meatname|}}} {{{leathername|}}} {{{leatheryield|}}} {{{milk|}}} {{{milkname|}}} {{{milktime|}}} {{{wool|}}} {{{woolname|}}} {{{sheartime|}}} {{{eggsmin|}}} {{{eggsmax|}}} {{{eggtime|}}} {{{eggs_avg|}}} {{{eggs_unfertilized|}}} {{{gestation|}}} {{{offspring|}}} {{{avg 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: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Production'''</p> |
<dl> | <dl> | ||
}} | }} | ||
− | {{#ifeq:{{#expr:{{#ifeq:{{{type|}}}|Animals|1|0}} or {{#ifeq:{{{type|}}}|Animal|1|0}} }}|1| | + | {{#ifeq:{{#expr:{{#ifeq:{{{type|}}}|Animals|1|0}} or {{#ifeq:{{{type|}}}|Animal|1|0}}}}|1| |
{{#vardefine: MeatName | {{{meatname | {{#var:Name}} meat}}} }} | {{#vardefine: MeatName | {{{meatname | {{#var:Name}} meat}}} }} | ||
− | {{#vardefine: LeatherName | {{{leathername | {{#var:Name}} leather}}} }} | + | {{#vardefine: LeatherName | {{{leathername | {{#var:Name}} leather}}} }} |
− | {{#if: {{{is exotic species|} | + | {{#if: {{{is exotic species|}}}|{{#set: Is Exotic Species = true}}|{{#set: Is Exotic Species = false}}}}| |
}} | }} | ||
− | {{#if: {{#var:LeatherName }} | | + | {{#if: {{#var:LeatherName }}| |
+ | {{#set: Leather Name = {{#var:LeatherName}}}} }} | ||
− | {{#if: {{{bodysize|}}} | | + | {{#if: {{{bodysize|}}}| |
− | + | <!-- Uses meatyield when set, otherwise interpolates from curve applied to 140*body_size or basemeatamount*bodysize --> | |
− | + | <!-- See Property:Meat_Yield for details --> | |
− | {{#if:{{#var:MeatName}} | | + | {{#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}}}}]] |
}} | }} | ||
− | + | <!-- Uses leatheryield when set, otherwise interpolates from curve applied to 40*body_size or baseleatheramount*bodysize--> | |
− | + | <!-- See Property:Leather_Yield for details --> | |
− | {{#if: {{#var:LeatherName}} | + | {{#if:{{#var:LeatherName}}| |
− | + | {{#ifeq:{{#vardefineecho:LeatherYield | {{{leatheryield|{{Meat Leather Curve|{{{baseleatheramount|40}}}*{{{bodysize|}}}}}}}}}} | 0 | | | |
− | + | {{#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|}}} | | + | {{#if: {{{milk|}}}| |
− | + | {{#set: Milk Amount = {{{milk|}}}}} | |
{{#vardefine: MilkName | {{{milkname| Milk}}} }} | {{#vardefine: MilkName | {{{milkname| Milk}}} }} | ||
− | + | {{#set: Milk Name = {{#var:MilkName}}}} | |
;Milk Amount | ;Milk Amount | ||
− | :{{{milk|}}} [[{{#var:MilkName}}|{{lc:{{#var:MilkName}} }}]] | + | :{{{milk|}}} [[{{#var:MilkName}}|{{lc:{{#var:MilkName}}}}]] |
}} | }} | ||
− | {{#if: {{{milktime|} | + | {{#if: {{{milktime|}}}|{{#set: Milking Interval Days = {{{milktime|}}} }} |
− | + | {{#set: Daily Milk Average = {{#expr: {{{milk|}}}/{{{milktime|}}}round2}} }} | |
− | |||
;Milking Interval | ;Milking Interval | ||
− | :{{{milktime|}}} days | + | :{{{milktime|}}} days}} |
− | }} | ||
{{#if: {{{wool|}}}| | {{#if: {{{wool|}}}| | ||
− | + | {{#set: Wool Amount = {{{wool|}}}}} | |
{{#vardefine: WoolName | {{{woolname | {{#var:Name}} wool}}} }} | {{#vardefine: WoolName | {{{woolname | {{#var:Name}} wool}}} }} | ||
− | + | {{#set: Wool Name = {{#var:WoolName}}}} | |
;Wool Amount | ;Wool Amount | ||
− | :{{{wool|}}} [[{{#var:WoolName}}|{{lc:{{#var:WoolName}} }}]] | + | :{{{wool|}}} [[{{#var: WoolName}}|{{lc:{{#var: WoolName}}}}]] |
}} | }} | ||
− | {{#if: {{{sheartime|} | + | {{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }} |
− | + | {{#set: Daily Wool Average = {{#expr: {{{wool|}}}/{{{sheartime}}}round2}} }} | |
− | |||
;Shearing Interval | ;Shearing Interval | ||
− | :{{{sheartime|}}} days | + | :{{{sheartime|}}} days}} |
− | }} | ||
− | {{#if: {{{eggsmin|} | + | {{#if: {{{eggsmin|}}}|{{#set: Eggs Per Clutch Minimum = {{{eggsmin|}}} }} |
− | + | {{#if: {{{eggsmax|}}}|{{#set: Eggs Per Clutch Maximum = {{{eggsmax|}}} }} }} | |
− | |||
− | |||
;Eggs Per Clutch | ;Eggs Per Clutch | ||
− | :{{{ | + | :{{#show: {{#var:Name}}|?Eggs Per Clutch Minimum|link=none}} to {{#show: {{#var:Name}}|?Eggs Per Clutch Maximum|link=none}} }} |
− | }} }} | ||
− | {{#if: {{{eggtime|} | + | {{#if: {{{eggtime|}}}|{{#set: Egg Laying Interval = {{{eggtime|}}} }} |
− | + | {{#set: Eggs Per Season Average = {{#expr: {{{eggs_avg|}}}/{{{eggtime|}}}*15 round 2}} }} | |
− | |||
;Egg Laying Interval | ;Egg Laying Interval | ||
− | :{{{eggtime|}}} days | + | :{{{eggtime|}}} days}} |
− | }} | ||
− | {{#if: {{{eggs_avg|} | + | {{#if: {{{eggs_avg|}}}|{{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} |
− | {{#if: {{{eggs_unfertilized|} | + | {{#if: {{{eggs_unfertilized|}}}|{{#set: Can Lay Unfertilized Eggs = {{{eggs_unfertilized|}}} }} |
− | |||
;Can Lay Unfertilized Eggs | ;Can Lay Unfertilized Eggs | ||
− | :{{{eggs_unfertilized|}}} | + | :{{{eggs_unfertilized|}}} }} |
− | }} | ||
− | {{#if: {{{gestation|} | + | {{#if: {{{gestation|}}}|{{#set: Gestation Period Days = {{{gestation|}}} }} |
− | |||
;Gestation Period | ;Gestation Period | ||
{{#switch: {{{gestation|}}} | {{#switch: {{{gestation|}}} | ||
− | + | | N/A = :N/A | |
− | + | | 1 = :{{{gestation|}}} day | |
− | + | | #default = :{{{gestation|}}} days | |
− | }} }} | + | }}}} |
− | {{#if: {{{offspring|}}} {{{avg offspring|} | + | {{#if: {{{offspring|}}} {{{avg offspring|}}}|{{#set: Offspring Per Birth = {{{offspring|}}} }} {{#set: Average Offspring Per Birth = {{{avg offspring|}}} }} |
− | |||
− | |||
;Offspring Per Birth | ;Offspring Per Birth | ||
− | :{{{offspring|}}} {{#if:{{{avg offspring|}}}|({{{avg offspring|}}} avg)}} | + | :{{{offspring|}}} {{#if:{{{avg offspring|}}}|({{{avg offspring|}}} avg)}}}} |
− | }} | ||
+ | <!--Buildings--> | ||
− | + | {{#if: {{{power|}}}|{{#set:Power Consumption = {{{power|}}} }} | |
− | {{#if: {{{ | + | ;Power |
− | + | :{{{power|}}}W}} | |
− | |||
− | |||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{facility|}}}|{{#set: |
− | + | Facility = {{ucfirst:{{#explode:{{{facility|}}}|,|0}} }} | |
− | + | |Facility = {{ucfirst:{{#explode:{{{facility|}}}|,|1}} }} | |
− | :{{{ | + | |Facility = {{ucfirst:{{#explode:{{{facility|}}}|,|2}} }} |
+ | |Facility = {{ucfirst:{{#explode:{{{facility|}}}|,|3}} }} | ||
+ | |Facility = {{ucfirst:{{#explode:{{{facility|}}}|,|4}} }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | <!--Floors--> | |
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{ | + | {{#if: {{{speed|}}}|{{#set:Move Speed Factor = {{{speed|}}} }} |
− | + | ;Move Speed Factor | |
− | ; | + | :{{#expr:{{{speed|}}}*100}}% |
− | :{{ | ||
}} | }} | ||
− | + | <!--Furniture--> | |
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{ | + | {{#if: {{{glowcolor|}}}|<!-- |
− | + | -->{{#vardefine:Red| {{#replace:{{#explode:{{{glowcolor|}}}|,|0}}|(}} }}<!-- | |
− | + | -->{{#vardefine:Green|{{#explode:{{{glowcolor|}}}|,|1}}}}<!-- | |
− | :{{ | + | -->{{#vardefine:Blue| {{#replace:{{#explode:{{{glowcolor|}}}|,|2}}|)}} }}<!-- |
− | }} | + | -->{{#set:Light Radius = {{#vardefineecho:LightRadius|{{Lit Radius|{{{glowradius|}}}|{{#expr:{{#var:Red}}+{{#var:Green}}+{{#var:Blue}}}}}}}}}} |
+ | ;{{H:title|link=no|The furthest away a tile can be before it falls below 30% light|Light Radius}} | ||
+ | :{{#expr:{{#var:LightRadius}} round 2}}}} | ||
− | {{#if: {{{ | + | {{#if: {{{heatpersecond|}}}|{{#set:Heat Per Second = {{{heatpersecond|}}} }} |
− | + | ;Heat Per Second | |
− | ; | + | :{{{heatpersecond|}}}}} |
− | : | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{maxheattemperature|}}}|{{#set:Max Heat Temperature = {{{maxheattemperature|}}} }} |
− | + | ;Stops Heating At | |
− | ; | + | :{{{maxheattemperature|}}}°C}} |
− | :{{{ | ||
− | }} | ||
− | {{#if: {{{ | + | {{#if: {{{mincooltemperature|}}}|{{#set:Min Cool Temperature = {{{mincooltemperature|}}} }} |
− | + | ;Stops Cooling At | |
− | ; | + | :{{{mincooltemperature|}}}°C}} |
− | : | ||
− | }} | ||
+ | {{#if: {{{surgery success chance factor|}}}|{{#set:Surgery Success Chance Factor = {{{surgery success chance factor|}}} }} | ||
+ | ;Surgery Success Chance Factor | ||
+ | :{{{surgery success chance factor|}}}}} | ||
− | + | {{#if: {{{immunity gain speed factor|}}}|{{#set:Immunity Gain Speed Factor = {{{immunity gain speed factor|}}} }} | |
− | {{#if: {{{ | + | ;Immunity Gain Speed Factor |
− | + | :{{{immunity gain speed factor|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ; | ||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | + | {{#if: {{{rest effectiveness|}}}|{{#set:Rest Effectiveness = {{{rest effectiveness|}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{rest effectiveness | ||
− | |||
;Rest Effectiveness | ;Rest Effectiveness | ||
− | : | + | :{{{rest effectiveness|}}}}} |
− | }} | ||
+ | {{#if: {{{comfort|}}}|{{#set:Comfort Base = {{{comfort|}}} }} | ||
+ | ;Comfort | ||
+ | :{{{comfort|}}}}} | ||
− | + | {{#if: {{{comfort offset|}}}|{{#set:Comfort Offset = {{{comfort offset|}}} }} | |
− | {{#if: {{{ | + | ;Comfort Offset |
− | + | :{{{comfort offset|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ; | ||
− | :{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
+ | {{#if: {{{cover|}}}|{{#ifexpr: {{{cover|}}} > 0.75 | {{#set:Cover Effectiveness= 0.75}} | ||
+ | ;Cover Effectiveness | ||
+ | :75% | ||
+ | | {{#set:Cover Effectiveness= {{{cover|}}} }} | ||
+ | ;Cover Effectiveness | ||
+ | :{{#expr:{{{cover|}}}*100}}% | ||
+ | }} }} | ||
− | <!-- | + | <!--Plants--> |
− | {{#if: {{{grow days|}}} {{{sow work|}}} {{{harvest work|}}} {{{product|}}} {{{yield|}}} {{{min sowing skill|}}} {{{min fertility|}}} {{{fertility sensitivity | + | {{#if: {{{grow days|}}} {{{sow work|}}} {{{harvest work|}}} {{{product|}}} {{{yield|}}} {{{min sowing skill|}}} {{{min fertility|}}} {{{fertility sensitivity|}}}| |
</dl>{{clear}} | </dl>{{clear}} | ||
− | <p class='subheading' style='height: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Plant Stats'''</p> |
<dl> | <dl> | ||
}} | }} | ||
− | {{#if: {{{grow days|} | + | {{#if: {{{grow days|}}}|{{#set:Grow Days = {{{grow days|}}} }} {{#set:Real Grow Days = {{#expr: {{{grow days|}}}/0.54167 round 2}} }} |
− | |||
− | |||
− | |||
;Time to grow | ;Time to grow | ||
− | :{{{grow days|}}} days | + | :{{{grow days|}}} days {{H:title|link=no|Actual days to grow, taking into account rest time|({{#expr: {{{grow days|}}}/0.54167 round 2}} days)}} |
}} | }} | ||
− | {{#if: {{{lifespanDaysPerGrowDays|}}} | | + | {{#if: {{{lifespanDaysPerGrowDays|}}}|{{#set:Lifespan Days Per Grow Days = {{{lifespanDaysPerGrowDays|}}} }} |
− | + | {{#if: {{{grow days|}}}| | |
− | |||
;Lifespan | ;Lifespan | ||
− | :{{#ifeq: {{{lifespanDaysPerGrowDays|}}} | 0 | Indefinite | | + | :{{#ifeq: {{{lifespanDaysPerGrowDays|}}} | 0 | Indefinite | {{#expr: {{{grow days|}}} * {{{lifespanDaysPerGrowDays}}}}} days}} |
− | }} }} | + | }} |
+ | }} | ||
− | {{#if: {{{sow work|} | + | {{#if: {{{sow work|}}}|{{#set:Sow Work = {{{sow work|}}} }} |
− | |||
;Work to Sow | ;Work to Sow | ||
− | :{{ticks| {{{sow work|}}} }} | + | :{{ticks|{{{sow work|}}}}} |
}} | }} | ||
− | {{#if: {{{harvest work|} | + | {{#if: {{{harvest work|}}}|{{#set:Harvest Work = {{{harvest work|}}} }} |
− | |||
;Work to Harvest | ;Work to Harvest | ||
− | :{{ticks| {{{harvest work|}}} }} | + | :{{ticks|{{{harvest work|}}}}} |
}} | }} | ||
− | {{#if: {{{product|} | + | {{#if: {{{product|}}}|{{#set:Harvest Product = {{{product|}}} }} |
− | + | {{#if: {{{yield|}}}|{{#set:Harvest Yield = {{{yield|}}} }} | |
− | + | ;Harvest Yield | |
− | + | :{{{yield|}}} {{Icon Small|{{{product|}}}|16}} | |
− | ; | ||
− | :{{{yield|}}} {{Icon Small| {{{product|}}} | 16 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | {{#if: {{{min sowing skill|} | + | {{#if: {{{min sowing skill|}}}|{{#set:Minimum Required Growing Skill = {{{min sowing skill|}}} }} |
− | + | ;{{H:title|link=no|Minimum skill required to sow the plant|Min Skill}} | |
− | ; | ||
:{{{min sowing skill|}}} [[Skills#Plants|Plants]] | :{{{min sowing skill|}}} [[Skills#Plants|Plants]] | ||
}} | }} | ||
− | {{#if: {{{min fertility|} | + | {{#if: {{{min fertility|}}}|{{#set:Fertility Min = {{{min fertility|}}} }} |
− | |||
;Min Fertility | ;Min Fertility | ||
− | :{{ | + | :{{#expr: {{{min fertility|}}} * 100}}% |
}} | }} | ||
− | {{#if: {{{fertility sensitivity|} | + | {{#if: {{{fertility sensitivity|}}}|{{#set:Fertility Sensitivity = {{{fertility sensitivity|}}} }} |
− | |||
;Fertility Sensitivity | ;Fertility Sensitivity | ||
− | :{{ | + | :{{#expr: {{{fertility sensitivity|}}} * 100}}% |
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{nutrition|}}}|{{#set:Nutrition = {{{nutrition|}}} }} |
− | + | ;{{H:title|link=no|Nutrition when plant eaten|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}} }} }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
− | <!-- | + | <!--Weapons--> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{#ifeq: {{{mode|}}} | Melee | | |
− | {{#if: {{{damage type|}}} {{{damage|}}} {{{armorPenetration|}}} {{{warmup|}}} {{{cooldown |}}} {{{range|}}} {{{minrange|}}} {{{accuracy|}}} {{{accuracyTouch|}}} {{{accuracyShort|}}} {{{accuracyMedium|}}} {{{accuracyLong|}}} {{{accuracyAvg|}}} {{{velocity|}}} {{{burst|}}} {{{burstTicks|}}} {{{missRadius|}}} {{{blastRadius|}}} {{{DPS|}}} {{{stoppingPower|}}} | | + | {{#set:Melee Damage Base = {{{damage|}}} |
+ | |Melee Warmup = {{{warmup|}}} | ||
+ | |Melee Cooldown Base = {{{cooldown|}}} | ||
+ | }} | ||
+ | | | ||
+ | {{#set:Damage Base = {{{damage|}}}}} | ||
+ | {{#if: {{{mode|}}}| | ||
+ | {{#set:Aiming Time Base = {{{warmup|}}} | ||
+ | |Ranged Cooldown Base = {{{cooldown|}}} | ||
+ | |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|}}}| | ||
</dl>{{clear}} | </dl>{{clear}} | ||
− | <p class='subheading' style='height: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Ranged Combat'''</p> |
<dl> | <dl> | ||
+ | }} | ||
}} | }} | ||
− | {{#if: {{{mode|} | + | {{#if: {{{mode|}}}|{{#set:Mode = {{{mode|}}} }} |
− | |||
;Mode | ;Mode | ||
:{{{mode|}}} | :{{{mode|}}} | ||
}} | }} | ||
− | + | {{#if: {{{damage|}}}| | |
− | |||
− | {{#if: {{{damage|}}} | | ||
;Damage | ;Damage | ||
− | :{{{damage|}}} dmg {{#if: {{{damage type|} | + | :{{{damage|}}} dmg {{#if: {{{damage type|}}}|{{#set:Damage Type = {{ucfirst:{{{damage type|}}}}} }}([[Damage Types#{{ucfirst:{{{damage type|}}}}}|{{ucfirst:{{{damage type|}}}}}]])}} |
}} | }} | ||
− | {{#if: {{{armorPenetration|} | + | {{#if: {{{armorPenetration|}}}|{{#set:Armor Penetration= {{{armorPenetration|}}} }} |
− | |||
;Armor penetration | ;Armor penetration | ||
− | :{{{armorPenetration|}}}% | + | :{{{armorPenetration|}}}%}} |
− | }} | ||
− | {{#if: {{{warmup|}}} | | + | {{#if: {{{warmup|}}}| |
− | ; | + | ;{{H:title|link=no|Time it takes to aim the weapon|Warm-Up}} |
− | :{{ticks| {{{warmup|}}} }} | + | :{{ticks|{{{warmup|}}}}}}} |
− | }} | ||
− | {{#if: {{{cooldown |}}} | | + | {{#if: {{{cooldown |}}}| |
− | ; | + | ;{{H:title|link=no|Waiting time before you can aim again after firing|Cooldown}} |
− | :{{ticks| {{{cooldown|}}} }} | + | :{{ticks|{{{cooldown|}}}}}}} |
− | }} | ||
− | {{#if: {{{range|} | + | {{#if: {{{range|}}}|{{#set:Range = {{{range|}}} }} |
− | |||
;Range | ;Range | ||
− | :{{{range|}}} tile(s) | + | :{{{range|}}} tile(s)}} |
− | }} | ||
− | {{#if: {{{minrange|} | + | {{#if: {{{minrange|}}}|{{#set:Minimum Range = {{{minrange|}}} }} |
− | |||
;Minimum Range | ;Minimum Range | ||
− | :{{{minrange|}}} tiles | + | :{{{minrange|}}} tiles}} |
− | }} | ||
− | {{#if: {{{accuracy|}}} | | + | {{#if: {{{accuracy|}}}| |
;Accuracy | ;Accuracy | ||
− | :{{{accuracy|}}} | + | :{{{accuracy|}}}}} |
− | }} | ||
− | {{#if: {{{accuracyTouch|}}} | | + | {{#if: {{{accuracyTouch|}}}| {{#Set: Accuracy (Touch) Base = {{{accuracyTouch|}}} }} |
− | + | {{#if: {{{accuracyShort|}}}| {{#Set: Accuracy (Short) Base = {{{accuracyShort|}}} }} | |
− | + | {{#if: {{{accuracyMedium|}}}| {{#Set: Accuracy (Medium) Base = {{{accuracyMedium|}}} }} | |
− | + | {{#if: {{{accuracyLong|}}}| {{#Set: Accuracy (Long) Base = {{{accuracyLong|}}} }} | |
− | + | ;{{H:title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}} | |
− | |||
− | |||
− | |||
− | ; | ||
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | :{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | ||
− | }} }} }} }} | + | }} |
+ | }} | ||
+ | }} | ||
+ | }} | ||
− | {{#if: {{{accuracyAvg|}}} | | + | {{#if: {{{accuracyAvg|}}}| |
− | + | ;{{H:title|link=no|Average accuracy of the weapon, taking range into account.|Avg. accuracy}} | |
− | + | :{{{accuracyAvg|}}}%}} | |
− | :{{{accuracyAvg|}}}% | ||
− | }} | ||
− | {{#if: {{{velocity|} | + | {{#if: {{{velocity|}}}|{{#set:Velocity = {{{velocity|}}} }} |
− | |||
;Velocity | ;Velocity | ||
− | :{{{velocity|}}} (m/s) | + | :{{{velocity|}}} (m/s)}} |
− | }} | ||
− | {{#if: {{{burst|} | + | {{#if: {{{burst|}}}|{{#set:Burst Count = {{{burst|}}} }} |
− | |||
;Burst Count | ;Burst Count | ||
− | :{{{burst|}}} (per burst) | + | :{{{burst|}}} (per burst)}} |
− | }} | ||
− | {{#if: {{{burstTicks|} | + | {{#if: {{{burstTicks|}}}|{{#set: Burst Ticks = {{{burstTicks|}}} }} |
− | + | ;{{H:title|link=no|Time between shots in a single burst|Burst Ticks}} | |
− | ; | + | :{{ticks|{{{burstTicks|}}}}}<br>({{#expr: 3600/{{{burstTicks|}}} round 2}} {{H:title|link=no|Rounds Per Minute|RPM}}) }} |
− | :{{ticks| {{{burstTicks|}}} }}<br | ||
− | }} | ||
− | {{#if: {{{missRadius|} | + | {{#if: {{{missRadius|}}}|{{#set:Miss Radius = {{{missRadius|}}} }} |
− | + | ;{{H:title|link=no|Missed shots are forced to land within this radius|Miss Radius}} | |
− | ; | + | :{{{missRadius|}}} tile(s)}} |
− | :{{{missRadius|}}} tile(s) | ||
− | }} | ||
− | {{#if: {{{blastRadius|} | + | {{#if: {{{blastRadius|}}}|{{#set:Blast Radius = {{{blastRadius|}}} }} |
− | |||
;Blast Radius | ;Blast Radius | ||
− | :{{{blastRadius|}}} | + | :{{{blastRadius|}}}}} |
− | }} | ||
− | {{#if: {{{DPS|}}} | | + | {{#if: {{{DPS|}}}| |
− | + | ;{{H:title|link=yes|Formatted as: Maximum damage per second (DPS with average accuracy)|DPS}} | |
− | + | :{{ #expr: ((( {{{damage|}}} * {{#if: {{{burst|}}}|{{{burst|}}}|1}} ) / (( {{#if: {{{cooldown|}}}|{{{cooldown|}}}|1}} + {{#if: {{{warmup|}}}|{{{warmup|}}}|0}} + ( {{#if: {{{burstTicks|}}}|{{{burstTicks|}}}|1}} * ( {{#if: {{{burst|}}}|{{{burst|}}}|1}} - 1 ))) / 60))) round2 }} {{#if: {{{accuracyTouch|}}}| {{#if: {{{accuracyShort|}}}| {{#if: {{{accuracyMedium|}}}| {{#if: {{{accuracyLong|}}}|({{ #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 }})}}}}}}}} | |
− | + | {{#set:Maximum DPS={{ #expr: ((( {{{damage|}}} * {{#if: {{{burst|}}}|{{{burst|}}}|1}} ) / (( {{#if: {{{cooldown|}}}|{{{cooldown|}}}|1}} + {{#if: {{{warmup|}}}|{{{warmup|}}}|0}} + ( {{#if: {{{burstTicks|}}}|{{{burstTicks|}}}|1}} * ( {{#if: {{{burst|}}}|{{{burst|}}}|1}} - 1 ))) / 60))) round2 }}}} | |
− | + | {{#set:Average DPS={{#if: {{{accuracyTouch|}}}| {{#if: {{{accuracyShort|}}}| {{#if: {{{accuracyMedium|}}}| {{#if: {{{accuracyLong|}}}|{{#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)) round 2 }}}}}}}}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{#if: {{{stoppingPower|} | + | {{#if: {{{stoppingPower|}}}|{{#set: Stopping Power = {{{stoppingPower|}}} }} |
− | + | ;{{H: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|}}} | ||
− | }} | ||
− | <!-- | + | <!-- Animal and Weapon Melee Combat--> |
− | {{#if: {{{attack1dmg|}}}{{{attack1ap|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}{{{attack1chancefactor|}}} | + | {{#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|}}} {{{attack5dmg|}}}{{{attack5ap|}}}{{{attack5type|}}}{{{attack45art|}}}{{{attack5cool|}}}{{{attack5chancefactor|}}} {{{attack6dmg|}}}{{{attack6ap|}}}{{{attack6type|}}}{{{attack46art|}}}{{{attack6cool|}}}{{{attack6chancefactor|}}} {{{mobdamageaverage|}}} {{{mobdamage|}}} {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} {{{MeleeWeaponAverageDPS|}}} {{{MeleeWeaponAverageAP|}}}| |
</dl>{{clear}} | </dl>{{clear}} | ||
− | <p class='subheading' style='height: | + | <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> |
<dl> | <dl> | ||
}} | }} | ||
+ | <!-- Animal Melee Combat --> | ||
− | + | {{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}| | |
− | {{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}} | | + | {{#set:Attack 1 Damage = {{{attack1dmg|}}} }} |
− | + | {{#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 Cooldown = {{{attack1cool|}}} }} | |
− | + | {{#set:Attack 1 Chance Factor = {{{attack1chancefactor|}}} }} | |
− | + | {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}}) }} }} | |
− | {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool | + | {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }} |
− | |||
− | |||
;Attack{{#if: {{{attack2dmg|}}}| 1}} | ;Attack{{#if: {{{attack2dmg|}}}| 1}} | ||
− | + | :{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack1type|}}}}}|{{ucfirst:{{{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: {{{ | ||
− | |||
− | {{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}} | | + | {{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}| |
− | + | {{#set:Attack 2 Damage = {{{attack2dmg|}}} }} | |
− | + | {{#set:Attack 2 AP = {{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}}}}} }} | |
− | + | {{#set:Attack 2 Type = {{ucfirst:{{{attack2type|}}}}} }} | |
− | + | {{#set:Attack 2 Part = {{{attack2part|}}} }} | |
− | + | {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }} | |
− | + | {{#set:Attack 2 Chance Factor = {{{attack2chancefactor|}}} }} | |
− | {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool | + | {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}}) }} }} |
− | + | {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }} | |
− | |||
;Attack 2 | ;Attack 2 | ||
− | + | :{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack2type|}}}}}|{{ucfirst:{{{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: {{{ | ||
− | |||
{{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}| | {{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}| | ||
− | + | {{#set:Attack 3 Damage = {{{attack3dmg|}}} }} | |
− | + | {{#set:Attack 3 AP = {{{attack3ap|{{#expr: ({{{attack3dmg|}}}*1.5-0.001) round 0}}}}} }} | |
− | + | {{#set:Attack 3 Type = {{ucfirst:{{{attack3type|}}}}} }} | |
− | + | {{#set:Attack 3 Part = {{{attack3part|}}} }} | |
− | + | {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }} | |
− | + | {{#set:Attack 3 Chance Factor = {{{attack3chancefactor|}}} }} | |
− | {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool | + | {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}}) }} }} |
− | + | {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }} | |
− | |||
;Attack 3 | ;Attack 3 | ||
− | + | :{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack3type|}}}}}|{{ucfirst:{{{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: {{{ | ||
− | |||
{{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}| | {{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}| | ||
− | + | {{#set:Attack 4 Damage = {{{attack4dmg|}}} }} | |
− | + | {{#set:Attack 4 AP = {{{attack4ap|{{#expr: ({{{attack4dmg|}}}*1.5-0.001) round 0}}}}} }} | |
− | + | {{#set:Attack 4 Type = {{ucfirst:{{{attack4type|}}}}} }} | |
− | + | {{#set:Attack 4 Part = {{{attack4part|}}} }} | |
− | + | {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }} | |
− | + | {{#set:Attack 4 Chance Factor = {{{attack4chancefactor|}}} }} | |
− | {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool | + | {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}}) }} }} |
− | + | {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }} | |
− | |||
;Attack 4 | ;Attack 4 | ||
− | + | :{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack4type|}}}}}|{{ucfirst:{{{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}} on first strike}} | |
− | |||
− | |||
− | -->{{#if: {{{ | ||
− | |||
− | {{#if: {{{attack5dmg|}}}{{{attack5type|}}}{{{attack5part|}}}{{{attack5cool|}}} | | + | {{#if: {{{attack5dmg|}}}{{{attack5type|}}}{{{attack5part|}}}{{{attack5cool|}}}| |
− | + | {{#set:Attack 5 Damage = {{{attack5dmg|}}} }} | |
− | + | {{#set:Attack 5 AP = {{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}}}}} }} | |
− | + | {{#set:Attack 5 Type = {{ucfirst:{{{attack5type|}}}}} }} | |
− | + | {{#set:Attack 5 Part = {{{attack5part|}}} }} | |
− | + | {{#set:Attack 5 Cooldown = {{{attack5cool|}}} }} | |
− | + | {{#set:Attack 5 Chance Factor = {{{attack5chancefactor|}}} }} | |
− | {{#vardefine: Attack5DPS | {{#expr: {{{attack5dmg|}}} / ({{{attack5cool | + | {{#vardefine: Attack5DPS | {{#expr: {{{attack5dmg|}}} / ({{{attack5cool}}}) }} }} |
− | + | {{#set: Attack 5 DPS = {{#var: Attack5DPS}} }} | |
− | |||
;Attack 5 | ;Attack 5 | ||
− | + | :{{{attack5part|Body part?}}}<br>{{{attack5dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack5type|}}}}}|{{ucfirst:{{{attack5type|type?}}}}}]])<br>{{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack5cool|0}}} second cooldown}}<!-- | |
− | + | -->{{#if: {{{attack5stun|}}}|{{#set:Attack 5 Stun = {{{attack5stun|}}}}}<br>Stun for {{ticks|{{{attack5stun|0}}}*20}} on first strike}} | |
− | |||
− | |||
− | -->{{#if: {{{ | ||
− | |||
− | {{#if: {{{attack6dmg|}}}{{{attack6type|}}}{{{attack6part|}}}{{{attack6cool|}}} | | + | {{#if: {{{attack6dmg|}}}{{{attack6type|}}}{{{attack6part|}}}{{{attack6cool|}}}| |
− | + | {{#set:Attack 6 Damage = {{{attack6dmg|}}} }} | |
− | + | {{#set:Attack 6 AP = {{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}}}}} }} | |
− | + | {{#set:Attack 6 Type = {{ucfirst:{{{attack6type|}}}}} }} | |
− | + | {{#set:Attack 6 Part = {{{attack6part|}}} }} | |
− | + | {{#set:Attack 6 Cooldown = {{{attack6cool|}}} }} | |
− | + | {{#set:Attack 6 Chance Factor = {{{attack6chancefactor|}}} }} | |
− | {{#vardefine: Attack6DPS | {{#expr: {{{attack6dmg|}}} / ({{{attack6cool | + | {{#vardefine: Attack6DPS | {{#expr: {{{attack6dmg|}}} / ({{{attack6cool}}}) }} }} |
− | + | {{#set: Attack 6 DPS = {{#var: Attack6DPS}} }} | |
− | |||
;Attack 6 | ;Attack 6 | ||
− | + | :{{{attack6part|Body part?}}}<br>{{{attack6dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack6type|}}}}}|{{ucfirst:{{{attack6type|type?}}}}}]])<br>{{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}}}}}% AP<br>{{{attack6cool|0}}} second cooldown}}<!-- | |
− | + | -->{{#if: {{{attack6stun|}}}|{{#set:Attack 6 Stun = {{{attack6stun|}}}}}<br>Stun for {{ticks|{{{attack6stun|0}}}*20}} on first strike}} | |
− | |||
− | |||
− | -->{{#if: {{{ | ||
− | |||
{{#ifeq: {{#varexists: Attack6DPS}}|1| | {{#ifeq: {{#varexists: Attack6DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}} + {{#var:Attack5DPS}} + {{#var:Attack6DPS}})/6 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}} + {{#var: Attack5DPS}} + {{#var: Attack6DPS}})/6 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack5DPS}}|1| | {{#ifeq: {{#varexists: Attack5DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}} + {{#var:Attack5DPS}})/5 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}} + {{#var: Attack5DPS}})/5 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack4DPS}}|1| | {{#ifeq: {{#varexists: Attack4DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}})/4 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}})/4 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack3DPS}}|1| | {{#ifeq: {{#varexists: Attack3DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}})/3 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}})/3 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack2DPS}}|1| | {{#ifeq: {{#varexists: Attack2DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}})/2 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack1DPS}}|1| | {{#ifeq: {{#varexists: Attack1DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: {{#var:Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} }} }} | + | {{#vardefine: MobAverageDPS | {{#expr: {{#var: Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} }} }} |
− | {{#ifeq: {{#varexists: MobAverageDPS}} | 1 | | + | {{#ifeq: {{#varexists: MobAverageDPS}}|1| |
− | + | ;Average DPS | |
− | + | :{{#var: MobAverageDPS}} | |
− | + | {{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }} | |
− | }} | ||
− | {{#if: {{{mobdamage|} | + | {{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }} |
− | |||
;Damage | ;Damage | ||
− | :{{{mobdamage|}}} | + | :{{{mobdamage|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamagetype|} | + | {{#if: {{{mobdamagetype|}}}|{{#set:Melee Damage Def = {{{mobdamagetype|}}} }} |
− | |||
;Damage Type | ;Damage Type | ||
− | :{{{mobdamagetype|}}} | + | :{{{mobdamagetype|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamage2|} | + | {{#if: {{{mobdamage2|}}}|{{#set:Melee Damage Base = {{{mobdamage2|}}} }} |
− | |||
;Damage | ;Damage | ||
− | :{{{mobdamage2|}}} | + | :{{{mobdamage2|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamagetype2|} | + | {{#if: {{{mobdamagetype2|}}}|{{#set:Melee Damage Def = {{{mobdamagetype2|}}} }} |
− | |||
;Damage Type | ;Damage Type | ||
− | :{{{mobdamagetype2|}}} | + | :{{{mobdamagetype2|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamage3|} | + | {{#if: {{{mobdamage3|}}}|{{#set:Melee Damage Base = {{{mobdamage3|}}} }} |
− | |||
;Damage | ;Damage | ||
− | :{{{mobdamage3|}}} | + | :{{{mobdamage3|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamagetype3|} | + | {{#if: {{{mobdamagetype3|}}}|{{#set:Melee Damage Def = {{{mobdamagetype3|}}} }} |
− | |||
;Damage Type | ;Damage Type | ||
− | :{{{mobdamagetype3|}}} | + | :{{{mobdamagetype3|}}}}} |
− | }} | ||
− | {{#if: {{{mobdamageaverage|} | + | {{#if: {{{mobdamageaverage|}}}|{{#set:Average Melee Damage = {{{mobdamageaverage|}}}}}}} |
− | |||
− | }} | ||
<!-- New melee starting from Beta 18 --> | <!-- New melee starting from Beta 18 --> | ||
− | {{#ifeq: {{lc:{{{mode|}}} }} | melee | | + | {{#ifeq: {{lc:{{{mode|}}}}} | melee | |
− | |||
;Mode | ;Mode | ||
:{{{mode|}}} | :{{{mode|}}} | ||
}} | }} | ||
− | {{#if: {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} | | + | {{#if: {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}}| |
− | + | {{#set:Attack 1 Damage = {{{meleeattack1dmg|}}} }} | |
− | + | {{#set:Attack 1 Type = {{ucfirst:{{{meleeattack1type|}}}}} }} | |
− | + | {{#set:Attack 1 Part = {{{meleeattack1part|}}} }} | |
− | + | {{#set:Attack 1 Cooldown = {{{meleeattack1cool|}}} }} | |
− | + | {{#set:Attack 1 AP = {{{meleeattack1ap|}}} }} | |
− | |||
{{#vardefine: MeleeAttack1DPS | {{#expr: {{{meleeattack1dmg|}}} / ({{{meleeattack1cool}}}) }} }} | {{#vardefine: MeleeAttack1DPS | {{#expr: {{{meleeattack1dmg|}}} / ({{{meleeattack1cool}}}) }} }} | ||
{{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }} | ||
;Melee Attack{{#if: {{{meleeattack1dmg|}}}| 1}} | ;Melee Attack{{#if: {{{meleeattack1dmg|}}}| 1}} | ||
− | + | :{{{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|}}}| | |
− | + | {{#set:Attack 2 Damage = {{{meleeattack2dmg|}}} }} | |
− | + | {{#set:Attack 2 Type = {{ucfirst:{{{meleeattack2type|}}}}} }} | |
− | + | {{#set:Attack 2 Part = {{{meleeattack2part|}}} }} | |
− | + | {{#set:Attack 2 Cooldown = {{{meleeattack2cool|}}} }} | |
− | + | {{#set:Attack 2 AP = {{{meleeattack2ap|}}} }} | |
− | {{#if: {{{meleeattack2dmg|}}}{{{meleeattack2type|}}}{{{meleeattack2part|}}}{{{meleeattack2cool|}}} | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#vardefine: MeleeAttack2DPS | {{#expr: {{{meleeattack2dmg|}}} / ({{{meleeattack2cool}}}) }} }} | {{#vardefine: MeleeAttack2DPS | {{#expr: {{{meleeattack2dmg|}}} / ({{{meleeattack2cool}}}) }} }} | ||
{{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }} | ||
;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}| }} | ;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}| }} | ||
− | + | :{{{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 Type = {{ucfirst:{{{meleeattack3type|}}}}} }} | |
− | + | {{#set:Attack 3 Part = {{{meleeattack3part|}}} }} | |
− | + | {{#set:Attack 3 Cooldown = {{{meleeattack3cool|}}} }} | |
− | + | {{#set:Attack 3 AP = {{{meleeattack3ap|}}} }} | |
− | |||
{{#vardefine: MeleeAttack3DPS | {{#expr: {{{meleeattack3dmg|}}} / ({{{meleeattack3cool}}}) }} }} | {{#vardefine: MeleeAttack3DPS | {{#expr: {{{meleeattack3dmg|}}} / ({{{meleeattack3cool}}}) }} }} | ||
{{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }} | ||
;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}| }} | ;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}| }} | ||
− | + | :{{{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 Type = {{ucfirst:{{{meleeattack4type|}}}}} }} | |
− | + | {{#set:Attack 4 Part = {{{meleeattack4part|}}} }} | |
− | + | {{#set:Attack 4 Cooldown = {{{meleeattack4cool|}}} }} | |
− | + | {{#set:Attack 4 AP = {{{meleeattack4ap|}}} }} | |
− | |||
{{#vardefine: MeleeAttack4DPS | {{#expr: {{{meleeattack4dmg|}}} / ({{{meleeattack4cool}}}) }} }} | {{#vardefine: MeleeAttack4DPS | {{#expr: {{{meleeattack4dmg|}}} / ({{{meleeattack4cool}}}) }} }} | ||
{{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }} | ||
;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}| }} | ;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}| }} | ||
− | + | :{{{meleeattack4part|Body part?}}}<br>{{{meleeattack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack4type|}}}}}|{{ucfirst:{{{meleeattack4type|type?}}}}}]])<br>{{{meleeattack4cool|0}}} seconds cooldown <br>{{{meleeattack4ap|0}}}% armor penetration}} | |
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{MeleeWeaponAverageDPS|} | + | {{#if: {{{MeleeWeaponAverageDPS|}}}|{{#set:MeleeDPS= {{{MeleeWeaponAverageDPS|}}} }} |
− | + | ;Melee Average DPS | |
− | ;Melee Average | + | :{{{MeleeWeaponAverageDPS|}}} }} |
− | :{{{MeleeWeaponAverageDPS|}}} | ||
− | }} | ||
− | {{#if: {{{MeleeWeaponAverageAP|} | + | {{#if: {{{MeleeWeaponAverageAP|}}}|{{#set:MeleeAP= {{{MeleeWeaponAverageAP|}}} }} |
− | + | ;Melee Average AP | |
− | ;Melee Average | + | :{{{MeleeWeaponAverageAP|}}}%}} |
− | :{{{MeleeWeaponAverageAP|}}}% | ||
− | }} | ||
− | <!-- was supposed to calculate stuff but then decided it's just better to use the value provided by the game | + | <!-- was supposed to calculate stuff but then decided it's just better to use the value provided by the game |
{{#ifeq: {{#varexists: MeleeAttack3Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack3Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: ({{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2Chance}} + {{#var:MeleeAttack3Chance}}) }} }}| | + | {{#vardefine: TotalChance | {{#expr: ({{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2Chance}} + {{#var: MeleeAttack3Chance}}) }} }}| |
{{#ifeq: {{#varexists: MeleeAttack2Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack2Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: ({{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2Chance}})}} }}| | + | {{#vardefine: TotalChance | {{#expr: ({{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2Chance}})}} }}| |
{{#ifeq: {{#varexists: MeleeAttack1Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack1Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: {{#var:MeleeAttack1Chance}} }} }} }} }} }} | + | {{#vardefine: TotalChance | {{#expr: {{#var: MeleeAttack1Chance}}}} }} }} }} }} |
{{#ifeq: {{#varexists: MeleeAttack3DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack3DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var:MeleeAttack1DPS}} * {{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2DPS}} * {{#var:MeleeAttack2Chance}} + {{#var:MeleeAttack3DPS}} * {{#var:MeleeAttack3Chance}} ) / {{#var:TotalChance}} }} }}| | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var: MeleeAttack1DPS}} * {{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2DPS}} * {{#var: MeleeAttack2Chance}} + {{#var: MeleeAttack3DPS}} * {{#var: MeleeAttack3Chance}} ) / {{#var: TotalChance}} }} }}| |
{{#ifeq: {{#varexists: MeleeAttack2DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack2DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var:MeleeAttack1DPS}} * {{#var:MeleeAttack1Chance}} + {{#var:meleeattack2dmg}} * {{#var:MeleeAttack2Chance}} ) / {{#var:TotalChance}} }} }}| | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var: MeleeAttack1DPS}} * {{#var: MeleeAttack1Chance}} + {{#var: meleeattack2dmg}} * {{#var: MeleeAttack2Chance}} ) / {{#var: TotalChance}} }} }}| |
{{#ifeq: {{#varexists: MeleeAttack1DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack1DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: {{#var:MeleeAttack1DPS}} }} }} }} }} }} | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: {{#var: MeleeAttack1DPS}} }} }} }} }} }} |
---------- Line to separate the mess above from the other stuff below ---------- --> | ---------- Line to separate the mess above from the other stuff below ---------- --> | ||
− | <!--- | + | <!--- Creation ---> |
− | {{# | + | {{#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: | + | <p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Creation'''</p> |
<dl> | <dl> | ||
}} | }} | ||
− | {{#if: {{{production facility 1|} | + | {{#if: {{{production facility 1|}}}|{{#set:Production Facility 1= {{{production facility 1|}}} }}}} |
− | {{#if: {{{production facility 2|} | + | {{#if: {{{production facility 2|}}}|{{#set:Production Facility 2= {{{production facility 2|}}} }}}} |
− | {{#if: {{{production facility 3|} | + | {{#if: {{{production facility 3|}}}|{{#set:Production Facility 3= {{{production facility 3|}}} }}}} |
− | {{#if: {{{production facility 4|} | + | {{#if: {{{production facility 4|}}}|{{#set:Production Facility 4= {{{production facility 4|}}} }}}} |
− | {{#if: {{{production facility 1|}}} | | + | {{#if: {{{production facility 1|}}}| |
;Crafted At | ;Crafted At | ||
− | :{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{# | + | :{{#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 | + | {{#if: {{{research|}}}|{{#set: |
− | + | Required Research = {{#vardefineecho: research1|{{ucfirst:{{#explode:{{{research|}}}|,|0}} }} }} | |
− | + | |Required Research = {{#vardefineecho: research2|{{ucfirst:{{#explode:{{{research|}}}|,|1}} }} }} | |
− | + | |Required Research = {{#vardefineecho: research3|{{ucfirst:{{#explode:{{{research|}}}|,|2}} }} }} | |
− | + | |Required Research = {{#vardefineecho: research4|{{ucfirst:{{#explode:{{{research|}}}|,|3}} }} }} | |
− | + | |Required Research = {{#vardefineecho: research5|{{ucfirst:{{#explode:{{{research|}}}|,|4}} }} }} | |
− | + | }} | |
− | |||
;Required Research | ;Required Research | ||
− | :[[Research#{{#var:research1}}|{{#var:research1}}]] | + | :[[Research#{{#var: research1}}|{{#var: research1}}]]{{#if:{{#var: research2}}|, [[Research#{{#var: research2}}|{{#var: research2}}]] }}{{#if:{{#var: research3}}|, [[Research#{{#var: research3}}|{{#var: research3}}]] }}{{#if:{{#var: research4}}|, [[Research#{{#var: research4}}|{{#var: research4}}]] }}{{#if:{{#var: research5}}|, [[Research#{{#var: research5}}|{{#var: research5}}]] }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{#if: {{{skill 1|} | + | {{#if: {{{skill 1|}}}|{{#set:Skill 1 = {{{skill 1|}}} }}}} |
− | {{#if: {{{skill 2|} | + | {{#if: {{{skill 2|}}}|{{#set:Skill 2 = {{{skill 2|}}} }}}} |
− | {{#if: {{{skill 1 level|} | + | {{#if: {{{skill 1 level|}}}|{{#set:Skill 1 Level = {{{skill 1 level|}}} }}}} |
− | {{#if: {{{skill 2 level|} | + | {{#if: {{{skill 2 level|}}}|{{#set:Skill 2 Level = {{{skill 2 level|}}} }}}} |
− | {{#if: {{{skill 1|}}} | | + | {{#if: {{{skill 1|}}}| |
;Skill{{#if:{{{skill 2|}}}|s}} Required | ;Skill{{#if:{{{skill 2|}}}|s}} Required | ||
− | :[[Skills# | + | :[[Skills#{{{skill 1|}}}|{{{skill 1|}}}]] {{{skill 1 level|}}} {{#if: {{{skill 2|}}}|& [[Skills#{{{skill 2|}}}|{{{skill 2|}}}]] {{{skill 2 level|}}} }} |
}} | }} | ||
− | <!-- Work to make should be specified in *ticks*, like in the game files. This has been inconsistent in the past --> | + | <!-- Work to make should be specified in *ticks*, like in the game files. This has been inconsistent in the past --> |
− | + | {{#if: {{{work to make|}}}|{{#set:Work To Make = {{{work to make|}}} }} | |
− | |||
− | |||
;Work To Make | ;Work To Make | ||
− | :{{ticks| {{{work to make|}}} }} | + | :{{ticks|{{{work to make|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{resources to make|}}}| |
− | + | ;Resources To Make | |
− | ; | + | :{{{resources to make|}}} [[Category:Resource Update Needed]] |
− | :{{{ | ||
}} | }} | ||
− | {{#if: {{{stuff tags|}}} | | + | {{#if: {{{stuff tags|}}}|{{#set:Stuff Tags = {{{stuff tags}}}}} |
− | + | ;{{H:title|link=no|The types of resource that can be substituted for the generic resource type|Stuff tags}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
:{{{stuff tags|}}} | :{{{stuff tags|}}} | ||
}} | }} | ||
− | + | {{#if: {{{resource 1|}}}|{{#set:Resource 1 = {{{resource 1|}}} }}}} | |
− | + | {{#if: {{{resource 2|}}}|{{#set:Resource 2 = {{{resource 2|}}} }}}} | |
− | + | {{#if: {{{resource 3|}}}|{{#set:Resource 3 = {{{resource 3|}}} }}}} | |
− | + | {{#if: {{{resource 4|}}}|{{#set:Resource 4 = {{{resource 4|}}} }}}} | |
− | + | {{#if: {{{resource 5|}}}|{{#set:Resource 5 = {{{resource 5|}}} }}}} | |
− | + | {{#if: {{{resource 6|}}}|{{#set:Resource 6 = {{{resource 6|}}} }}}} | |
− | + | {{#if: {{{resource 1 amount|}}}|{{#set:Resource 1 Amount = {{{resource 1 amount|}}} }}}} | |
− | + | {{#if: {{{resource 2 amount|}}}|{{#set:Resource 2 Amount = {{{resource 2 amount|}}} }}}} | |
− | + | {{#if: {{{resource 3 amount|}}}|{{#set:Resource 3 Amount = {{{resource 3 amount|}}} }}}} | |
− | + | {{#if: {{{resource 4 amount|}}}|{{#set:Resource 4 Amount = {{{resource 4 amount|}}} }}}} | |
− | + | {{#if: {{{resource 5 amount|}}}|{{#set:Resource 5 Amount = {{{resource 5 amount|}}} }}}} | |
− | + | {{#if: {{{resource 6 amount|}}}|{{#set:Resource 6 Amount = {{{resource 6 amount|}}} }}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{#if: {{{resource 1|}}}|<!--{{#ifeq: {{lc:{{{placeable|}}}}}|false||--> | |
− | |||
;Resources to make | ;Resources to make | ||
− | : | + | :{{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|}}}|}} |
<!--|}}--> | <!--|}}--> | ||
− | |||
<!---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|}}}| | |
− | ; | + | ;{{H: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> | ||
− | }} | + | }} |
|}} | |}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{#if: {{{deconstruct yield|}}}| | {{#if: {{{deconstruct yield|}}}| | ||
− | ; | + | ;{{H: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 | + | <!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 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:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}}}}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} > 0| |
− | + | ;{{H: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,633: | Line 978: | ||
}} | }} | ||
− | {{#if:{{{destroyyield|}}} | | + | {{#if:{{{destroyyield|}}}| |
− | ; | + | ;{{H: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| |
− | ; | + | ;{{H: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) }} }}|}} <!-- |
− | -->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }} | {{#expr: {{{resource 2 amount|}}}*0.25 }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }}|{{#expr: {{{resource 2 amount|}}}*0.25 }}|{{#expr: floor({{{resource 2 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }} | {{#expr: {{{resource 3 amount|}}}*0.25 }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }}|{{#expr: {{{resource 3 amount|}}}*0.25 }}|{{#expr: floor({{{resource 3 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }} | {{#expr: {{{resource 4 amount|}}}*0.25 }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }}|{{#expr: {{{resource 4 amount|}}}*0.25 }}|{{#expr: floor({{{resource 4 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }} | {{#expr: {{{resource 5 amount|}}}*0.25 }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }}|{{#expr: {{{resource 5 amount|}}}*0.25 }}|{{#expr: floor({{{resource 5 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }} | {{#expr: {{{resource 6 amount|}}}*0.25 }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} }}|}}<!-- | + | -->{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }}|{{#expr: {{{resource 6 amount|}}}*0.25 }}|{{#expr: floor({{{resource 6 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} }}|}}<!-- |
-->|}}<!-- | -->|}}<!-- | ||
− | -->{{#ifexpr:{{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}}*{{#if:{{{bonusdestroyleavings|}}}|1|0}} = 1| + }}<!--If leavesresourceswhendestroyed != false and resource 1 != None and bonusdestroyleavings != None: write " + " | + | -->{{#ifexpr:{{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}}*{{#if:{{{bonusdestroyleavings|}}}|1|0}} = 1| + }}<!--If leavesresourceswhendestroyed != false and resource 1 != None and bonusdestroyleavings != None: write " + " |
− | -->{{#if: {{{bonusdestroyleavings|}}} | {{{bonusdestroyleavings|}}} }}<!--If bonusdestroyleavings != None, write bonusdestroyleavings (should be given in format: <amount> {{Icon | + | -->{{#if:{{{bonusdestroyleavings|}}}|{{{bonusdestroyleavings|}}}}}<!--If bonusdestroyleavings != None, write bonusdestroyleavings (should be given in format: <amount> {{Icon small|<resource>}}) |
-->|}}<!-- | -->|}}<!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
Line 1,654: | Line 999: | ||
− | + | {{#if: {{{page verified for version|}}}|{{Verified|{{{page verified for version|}}}}}| {{Verified}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{defName | + | {{#if: {{{defName|}}} {{{thingCategories|}}} {{{file|}}} {{{weaponTags|}}} {{{thingSetMakerTags|}}} {{{defaultOutfitTags}}} {{{factionPrerequisiteTags}}} {{{harvestTag}}} {{{recipePrerequisiteTags}}} {{{ResearchProjectTagDef}}} {{{sowTag}}} {{{sowTags}}} {{{tag}}} {{{tags}}} {{{techHediffsTags}}} {{{thingSetMakerTagsToAllow}}} {{{thingSetMakerTagsToDisallow}}} {{{tradeTag}}} {{{tradeTags}}} {{{tradeTagsBuy}}} {{{tradeTagsSell}}} {{{tradeTagsToAllow}}} {{{tutorHighlightTag}}} {{{apparelTags}}} {{{buildingTags}}} | |
</dl>{{clear}} | </dl>{{clear}} | ||
− | <div class="subheading mw-customtoggle-myDivision" style='height: | + | <div class="subheading mw-customtoggle-myDivision" style='height: 1.75em !important; padding: 0.25em 0em 0.25em !important; margin: 0.5em 0 0.5em !important; width:300px'> '''Technical''' |
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> <span style='color: #504f54; text-align: left; text-shadow: 0px 0px; font-family: Arial; font-size: 0.8em; height: 0em !important; padding: 0em 0em 0em !important; margin: 0em 0 0em !important;'> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> <span style='color: #504f54; text-align: left; text-shadow: 0px 0px; font-family: Arial; font-size: 0.8em; height: 0em !important; padding: 0em 0em 0em !important; margin: 0em 0 0em !important;'> | ||
− | {{#if: {{{defName|}}} | | + | {{#if: {{{defName|}}}| |
; defName | ; defName | ||
: {{{defName|}}} | : {{{defName|}}} | ||
}}<!-- | }}<!-- | ||
− | + | {{#if: {{{file|}}}| | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
; File | ; File | ||
: {{{file|}}} | : {{{file|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{thingCategories|}}} | | + | -->{{#if: {{{thingCategories|}}}| |
; thingCategories | ; thingCategories | ||
: {{{thingCategories|}}} | : {{{thingCategories|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{weaponTags|} | + | -->{{#if: {{{weaponTags|}}}|{{#set: weaponTags = {{{weaponTags|}}}}} |
− | weaponTags = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
; weaponTags | ; weaponTags | ||
: {{{weaponTags|}}} | : {{{weaponTags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{thingSetMakerTags|}}} | | + | -->{{#if: {{{thingSetMakerTags|}}}| |
; thingSetMakerTags | ; thingSetMakerTags | ||
: {{{thingSetMakerTags|}}} | : {{{thingSetMakerTags|}}} | ||
Line 1,777: | Line 1,045: | ||
:{{{ResearchProjectTagDef|}}} | :{{{ResearchProjectTagDef|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{sowTag|} | + | -->{{#if: {{{sowTag|}}} |{{#set: sowTag = {{{sowTag|}}}}} |
;sowTag | ;sowTag | ||
:{{{sowTag|}}} | :{{{sowTag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{sowTags|} | + | -->{{#if: {{{sowTags|}}} |{{#set: sowTags = {{{sowTags|}}}}} |
− | sowTags = | ||
− | |||
− | |||
− | |||
− | }} }} | ||
;sowTags | ;sowTags | ||
:{{{sowTags|}}} | :{{{sowTags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tag|} | + | -->{{#if: {{{tag|}}} |{{#set: tag = {{{tag|}}}}} |
− | tag = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
;tag | ;tag | ||
:{{{tag|}}} | :{{{tag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tags|} | + | -->{{#if: {{{tags|}}} |{{#set: tags = {{{tags|}}}}} |
− | tags = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
;tags | ;tags | ||
:{{{tags|}}} | :{{{tags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{techHediffsTags|} | + | -->{{#if: {{{techHediffsTags|}}} | {{#set: techHediffsTags = {{{techHediffsTags|}}}}} |
− | techHediffsTags = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
;techHediffsTags | ;techHediffsTags | ||
:{{{techHediffsTags|}}} | :{{{techHediffsTags|}}} | ||
Line 1,828: | Line 1,073: | ||
:{{{thingSetMakerTagsToDisallow|}}} | :{{{thingSetMakerTagsToDisallow|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tradeTag|} | + | -->{{#if: {{{tradeTag|}}} |{{#set: tradeTag = {{{tradeTag|}}}}} |
− | |||
;tradeTag | ;tradeTag | ||
:{{{tradeTag|}}} | :{{{tradeTag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tradeTags|}}} | | + | -->{{#if: {{{tradeTags|}}} |{{#set: tradeTags = {{{tradeTags|}}}}} |
− | |||
− | |||
− | |||
− | |||
;tradeTags | ;tradeTags | ||
:{{{tradeTags|}}} | :{{{tradeTags|}}} | ||
Line 1,857: | Line 1,097: | ||
:{{{tutorHighlightTag|}}} | :{{{tutorHighlightTag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{apparelTags|} | + | -->{{#if: {{{apparelTags|}}} |{{#set: apparelTags = {{{apparelTags|}}}}} |
− | apparelTags = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
;apparelTags | ;apparelTags | ||
:{{{apparelTags|}}} | :{{{apparelTags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{buildingTags|} | + | -->{{#if: {{{buildingTags|}}} |{{#set: buildingTags = {{{buildingTags|}}}}} |
− | buildingTags = | ||
− | |||
− | |||
− | |||
− | |||
− | }} }} | ||
;buildingTags | ;buildingTags | ||
:{{{buildingTags|}}} | :{{{buildingTags|}}} | ||
− | }} | + | }} |
− | + | </span> </div> </div>}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
− | </div></div></includeonly><noinclude> | + | </dl></div></div></includeonly><noinclude> |
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> | {{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> |