Difference between revisions of "User:Theaetetus/sandbox1"
Jump to navigation
Jump to search
Theaetetus (talk | contribs) |
|||
(50 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{1|}}}|{{ | + | Content suppressed to prevent maintainance categorisation. Feel free to revert if you return. [[User:Harakoni|Harakoni]] ([[User talk:Harakoni|talk]]) 06:17, 26 November 2021 (UTC) |
+ | |||
+ | <includeonly><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 |<!-- | ||
+ | -->}}}} {{#if:{{{2|}}}|{{{2}}}}}"> | ||
+ | <p class="heading">{{{name|{{BASEPAGENAME}}}}}</p> | ||
+ | <div class="wrapper"> | ||
+ | <div class="image_wrapper" title="{{{name|{{BASEPAGENAME}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}|link={{{name|{{BASEPAGENAME}}}}}|{{#if:{{{3}}}|{{!}}{{{3|}}}}}]]|[[File:{{{name|{{BASEPAGENAME}}}}}.png|link=|{{#if:{{{3}}}|{{!}}{{{3|}}}}}]]}}</div> | ||
+ | <p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{description|}}}|{{{description|}}}{{#set:Description = {{{description|}}}}}}}</p> | ||
+ | ---- | ||
+ | <dl> | ||
+ | ;Type | ||
+ | :[[{{{type}}}]]{{#if: {{{type2|}}} |  –  [[{{{type2}}}]] }} | ||
+ | |||
+ | {{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} | ||
+ | ;Placeable | ||
+ | :{{{placeable|}}}}} | ||
+ | |||
+ | {{#if: {{{rotatable|}}}|{{#set:Rotatable = {{{rotatable|}}} }} | ||
+ | ;Rotatable | ||
+ | :{{{rotatable|}}}}} | ||
+ | |||
+ | |||
+ | {{#if: {{{size|}}}| {{#if:{{{4}}}|{{#set:Size = {{{size|}}} ˣ {{{4|}}} }}|{{#set:Size = {{{size}}} }} }} | ||
+ | ;Size | ||
+ | :{{#show: {{PAGENAME}} |?Size |link=none}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{hp|}}}|{{#set:Max Hit Points Base = {{{hp|}}} }} | ||
+ | ;HP | ||
+ | :{{{hp|}}}}} | ||
+ | |||
+ | {{#if: {{{beauty|}}}|{{#set:Beauty Base = {{{beauty|}}} }} | ||
+ | ;[[Beauty]] | ||
+ | :[[Beauty Base::{{{beauty|}}}]]}} | ||
+ | |||
+ | {{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}} | ||
+ | |||
+ | {{#if: {{{walkSpeed|}}}|{{#set:Move Speed Base = {{{walkSpeed|}}} }} | ||
+ | ;Move Speed | ||
+ | :{{{walkSpeed|}}}}} | ||
+ | |||
+ | {{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }} | ||
+ | ;Move Speed | ||
+ | :{{{movespeed|}}}}} | ||
+ | |||
+ | {{#if: {{{speed|}}}|{{#set:Move Speed Base = {{{speed|}}} }} | ||
+ | ;Move Speed | ||
+ | :{{{speed|}}}}} | ||
+ | |||
+ | {{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}| | ||
+ | {{#set:Attack 1 Damage = {{{attack1dmg|}}} }} | ||
+ | {{#set:Attack 1 Type = {{{attack1type|}}} }} | ||
+ | {{#set:Attack 1 Part = {{{attack1part|}}} }} | ||
+ | {{#set:Attack 1 Cooldown = {{{attack1cool|}}} }} | ||
+ | {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}} / 60) }} }} | ||
+ | {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }} | ||
+ | ;Attack{{#if: {{{attack2dmg|}}}| 1}} | ||
+ | :{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ({{{attack1type|type?}}})<br>{{ticks|{{{attack1cool|0}}}}} }}<!-- | ||
+ | -->{{#if: {{{attack1stun|}}}|{{#set:Attack 1 Stun = {{{attack1stun|}}}}}<br>Stun for {{ticks|{{{attack1stun|0}}} }} }} | ||
+ | |||
+ | {{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}| | ||
+ | {{#set:Attack 2 Damage = {{{attack2dmg|}}} }} | ||
+ | {{#set:Attack 2 Type = {{{attack2type|}}} }} | ||
+ | {{#set:Attack 2 Part = {{{attack2part|}}} }} | ||
+ | {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }} | ||
+ | {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}} / 60) }} }} | ||
+ | {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }} | ||
+ | ;Attack 2 | ||
+ | :{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ({{{attack2type|type?}}})<br>{{ticks|{{{attack2cool|0}}}}} }}<!-- | ||
+ | -->{{#if: {{{attack2stun|}}}|{{#set:Attack 2 Stun = {{{attack2stun|}}}}}<br>Stun for {{ticks|{{{attack2stun|0}}} }} }} | ||
+ | |||
+ | {{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}| | ||
+ | {{#set:Attack 3 Damage = {{{attack3dmg|}}} }} | ||
+ | {{#set:Attack 3 Type = {{{attack3type|}}} }} | ||
+ | {{#set:Attack 3 Part = {{{attack3part|}}} }} | ||
+ | {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }} | ||
+ | {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}} / 60) }} }} | ||
+ | {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }} | ||
+ | ;Attack 3 | ||
+ | :{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ({{{attack3type|type?}}})<br>{{ticks|{{{attack3cool|0}}}}} }}<!-- | ||
+ | -->{{#if: {{{attack3stun|}}}|{{#set:Attack 3 Stun = {{{attack3stun|}}}}}<br>Stun for {{ticks|{{{attack3stun|0}}} }} }} | ||
+ | |||
+ | {{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}| | ||
+ | {{#set:Attack 4 Damage = {{{attack4dmg|}}} }} | ||
+ | {{#set:Attack 4 Type = {{{attack4type|}}} }} | ||
+ | {{#set:Attack 4 Part = {{{attack4part|}}} }} | ||
+ | {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }} | ||
+ | {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}} / 60) }} }} | ||
+ | {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }} | ||
+ | ;Attack 4 | ||
+ | :{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ({{{attack4type|type?}}})<br>{{ticks|{{{attack4cool|0}}}}} }}<!-- | ||
+ | -->{{#if: {{{attack4stun|}}}|{{#set:Attack 4 Stun = {{{attack4stun|}}}}}<br>Stun for {{ticks|{{{attack4stun|0}}} }} }} | ||
+ | |||
+ | {{#ifeq: {{#varexists: Attack4DPS}}|1| | ||
+ | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}})/4 round 2}} }}| | ||
+ | {{#ifeq: {{#varexists: Attack3DPS}}|1| | ||
+ | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}})/3 round 2}} }}| | ||
+ | {{#ifeq: {{#varexists: Attack2DPS}}|1| | ||
+ | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 round 2}} }}| | ||
+ | {{#ifeq: {{#varexists: Attack1DPS}}|1| | ||
+ | {{#vardefine: MobAverageDPS | {{#expr: {{#var: Attack1DPS}} round 2}} }} }} }} }} }} | ||
+ | |||
+ | {{#ifeq: {{#varexists: MobAverageDPS}}|1| | ||
+ | ;Average DPS | ||
+ | :{{#var: MobAverageDPS}} | ||
+ | {{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }} | ||
+ | |||
+ | {{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamagetype|}}}|{{#set:Melee Damage Def = {{{mobdamagetype|}}} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamage2|}}}|{{#set:Melee Damage Base = {{{mobdamage2|}}} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage2|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamagetype2|}}}|{{#set:Melee Damage Def = {{{mobdamagetype2|}}} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype2|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamage3|}}}|{{#set:Melee Damage Base = {{{mobdamage3|}}} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage3|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamagetype3|}}}|{{#set:Melee Damage Def = {{{mobdamagetype3|}}} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype3|}}}}} | ||
+ | |||
+ | {{#if: {{{mobdamageaverage|}}}|{{#set:Average Melee Damage = {{{mobdamageaverage|}}}}}}} | ||
+ | |||
+ | {{#if: {{{armorblunt|}}}|{{#set:Armor - Blunt= {{{armorblunt|}}} }} | ||
+ | ;Armor - Blunt | ||
+ | :{{{armorblunt|}}}}} | ||
+ | |||
+ | {{#if: {{{armorsharp|}}}|{{#set:Armor - Sharp = {{{armorsharp|}}} }} | ||
+ | ;Armor - Sharp | ||
+ | :{{{armorsharp|}}}}} | ||
+ | |||
+ | {{#if: {{{armorheat|}}}|{{#set:Armor - Heat = {{{armorheat|}}} }} | ||
+ | ;Armor - Heat | ||
+ | :{{{armorheat|}}}}} | ||
+ | |||
+ | {{#if: {{{meatname|}}}| | ||
+ | {{#vardefine: MeatName | {{{meatname|}}}}}{{#set: Meat Name = {{{meatname|}}} }}| | ||
+ | {{#vardefine: MeatName | {{{name|{{BASEPAGENAME}}}}} meat}}{{#set: Meat Name = {{{name|{{BASEPAGENAME}}}}} meat}} }} | ||
+ | |||
+ | {{#if: {{{bodysize|}}}| | ||
+ | {{#set: Body Size = {{{bodysize|}}} }} | ||
+ | <!-- This section only for when meat yield is overridden in the XML def --> | ||
+ | <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified --> | ||
+ | {{#if: {{{meatyield|}}}| | ||
+ | {{#set: Meat Yield = {{{meatyield|}}} }} | ||
+ | ;Meat Yield | ||
+ | :{{{meatyield|}}} [[{{lc:{{#var: MeatName}}}}|{{lc:{{#var: MeatName}}}}]]| | ||
+ | <!-- Section end --> | ||
+ | {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Meat Yield = {{#var: MeatYield}} }} | ||
+ | ;Meat Yield | ||
+ | :{{#var: MeatYield}}}} [[{{lc:{{#var: MeatName}}}}|{{lc:{{#var: MeatName}}}}]] | ||
+ | {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }} | ||
+ | ;Carrying Capacity | ||
+ | :{{#var: CarryingCapacity}} | ||
+ | {{#if: {{{leathername|}}}| | ||
+ | {{#vardefine: LeatherYield | {{#expr: 20 * {{{bodysize|}}} round0}} }} | ||
+ | {{#set: Leather Yield = {{#var: LeatherYield}} }} | ||
+ | ;Leather Yield | ||
+ | :{{#var: LeatherYield}}}}}} | ||
+ | |||
+ | {{#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|}}}|{{#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: {{{hungerrate|}}}|{{#set:Base Hunger Rate = {{{hungerrate|}}} }} | ||
+ | ;Hunger Rate | ||
+ | :{{{hungerrate|}}}}} | ||
+ | |||
+ | {{#if: {{{diet|}}}|{{#set:Diet = {{{diet|}}} }} | ||
+ | ;Diet | ||
+ | :{{{diet|}}}}} | ||
+ | |||
+ | {{#if: {{{lifespan|}}}|{{#set:Life Expectancy = {{{lifespan|}}} }} | ||
+ | ;Life Expectancy | ||
+ | :{{{lifespan|}}}}} | ||
+ | |||
+ | {{#if: {{{trainable|}}}|{{#set:Trainable Intelligence = {{{trainable|}}} }} | ||
+ | ;Trainable Intelligence | ||
+ | :{{{trainable|}}} | ||
+ | {{#switch: {{{trainable|}}} | ||
+ | | none = {{#set: Can Train Obedience = no |Can Train Release = no |Can Train Rescue = no |Can Train Haul = no}} | ||
+ | | simple = {{#set: Can Train Obedience = yes |Can Train Release = no |Can Train Rescue = no |Can Train Haul = no}} | ||
+ | | intermediate = {{#set: Can Train Obedience = yes |Can Train Release = yes |Can Train Rescue = no |Can Train Haul = no}} | ||
+ | | advanced = {{#set: Can Train Obedience = yes |Can Train Release = yes}}{{#ifexpr: {{{bodysize|}}} >= 0.65|{{#set: Can Train Rescue = yes}}|{{#set: Can Train Rescue = no}}}}{{#ifexpr: {{{bodysize|}}} >= 0.41|{{#set: Can Train Haul = yes}}|{{#set: Can Train Haul = no}}}} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{handleskill|}}}|{{#set:Minimum Handling Skill = {{{handleskill|}}} }} | ||
+ | ;{{H:title|link=no|This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.|Minimum Handling Skill}} | ||
+ | :{{{handleskill|}}}}} | ||
+ | |||
+ | {{#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}}%}} | ||
+ | |||
+ | {{#if: {{{milk|}}}|{{#set: Milk Amount = {{{milk|}}} }} | ||
+ | ;Milk Amount | ||
+ | :{{{milk|}}} }} | ||
+ | |||
+ | {{#if: {{{milktime|}}}|{{#set: Milking Interval Days = {{{milktime|}}} }} | ||
+ | {{#set: Daily Milk Average = {{#expr: {{{milk|}}}/{{{milktime|}}}round2}} }} | ||
+ | ;Milking Interval | ||
+ | :{{{milktime|}}} days}} | ||
+ | |||
+ | {{#if: {{{wool|}}}| | ||
+ | {{#set: Wool Amount = {{{wool|}}}}} | ||
+ | {{#if: {{{woolname|}}}| | ||
+ | {{#vardefine: WoolName | {{{woolname|}}}}}{{#set: Wool Name = {{{woolname|}}}}}| | ||
+ | {{#vardefine: WoolName | {{{name|{{BASEPAGENAME}}}}} wool}}{{#set: Wool Name = {{{name|{{BASEPAGENAME}}}}} wool}} | ||
+ | }} | ||
+ | ;Wool Amount | ||
+ | :{{{wool|}}} [[{{#var: WoolName}}|{{lc:{{#var: WoolName}}}}]] | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }} | ||
+ | {{#set: Daily Wool Average = {{#expr: {{{wool|}}}/{{{sheartime}}}round2}} }} | ||
+ | ;Shearing Interval | ||
+ | :{{{sheartime|}}} days}} | ||
+ | |||
+ | {{#if: {{{eggsmin|}}}|{{#set: Eggs Per Clutch Minimum = {{{eggsmin|}}} }} | ||
+ | {{#if: {{{eggsmax|}}}|{{#set: Eggs Per Clutch Maximum = {{{eggsmax|}}} }} }} | ||
+ | ;Eggs Per Clutch | ||
+ | :{{#show: {{PAGENAME}}|?Eggs Per Clutch Minimum|link=none}} to {{#show: {{PAGENAME}}|?Eggs Per Clutch Maximum|link=none}} }} | ||
+ | |||
+ | {{#if: {{{eggtime|}}}|{{#set: Egg Laying Interval = {{{eggtime|}}} }} | ||
+ | {{#set: Eggs Per Season Average = {{#expr: {{{eggs_avg|}}}/{{{eggtime|}}}*15 round 2}} }} | ||
+ | ;Egg Laying Interval | ||
+ | :{{{eggtime|}}} days}} | ||
+ | |||
+ | {{#if: {{{eggs_avg|}}}|{{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} | ||
+ | |||
+ | {{#if: {{{gestation|}}}|{{#set: Gestation Period Days = {{{gestation|}}} }} | ||
+ | ;Gestation Period | ||
+ | :{{{gestation|}}} days}} | ||
+ | |||
+ | {{#if: {{{offspring|}}}|{{#set: Offspring Per Birth = {{{offspring|}}} }} | ||
+ | ;Offspring Per Birth | ||
+ | :{{{offspring|}}} }} | ||
+ | |||
+ | {{#if: {{{maturityage|}}}|{{#set: Maturity Age = {{{maturityage|}}} }} | ||
+ | ;Maturity Age | ||
+ | :{{{maturityage|}}} }} | ||
+ | |||
+ | {{#if: {{{livesin_aridshrubland|}}}|{{#set: Lives in Arid Shrubland = true}} }} | ||
+ | {{#if: {{{livesin_borealforest|}}}|{{#set: Lives in Boreal Forest = true}} }} | ||
+ | {{#if: {{{livesin_desert|}}}|{{#set: Lives in Desert = true}} }} | ||
+ | {{#if: {{{livesin_extremedesert|}}}|{{#set: Lives in Extreme Desert = true}} }} | ||
+ | {{#if: {{{livesin_icesheet|}}}|{{#set: Lives in Icesheet = true}} }} | ||
+ | {{#if: {{{livesin_temperateforest|}}}|{{#set: Lives in Temperate Forest = true}} }} | ||
+ | {{#if: {{{livesin_tropicalrainforest|}}}|{{#set: Lives in Tropical Rainforest = true}} }} | ||
+ | {{#if: {{{livesin_tundra|}}}|{{#set: Lives in Tundra = true}} }} | ||
+ | |||
+ | {{#if: {{{marketvalue|}}}|{{#set: Market Value = {{{marketvalue|}}} }} | ||
+ | ;Market Value | ||
+ | :{{{marketvalue|}}} {{Icon Small|silver}} }} | ||
+ | |||
+ | {{#if: {{{time|}}}|{{#set:Grow Days = {{{time|}}} }} | ||
+ | ;Time to grow | ||
+ | :{{{time|}}} day(s)}} | ||
+ | |||
+ | {{#if: {{{yield|}}}| | ||
+ | ;Food Yield | ||
+ | :{{{yield|}}} [[food|food]]}} | ||
+ | |||
+ | {{#if: {{{wood|}}}| | ||
+ | ;Wood Yield | ||
+ | :{{{wood|}}}}} | ||
+ | |||
+ | {{#if: {{{power|}}}|{{#set:Power Consumption = {{{power|}}} }} | ||
+ | ;Power | ||
+ | :{{{power|}}}W}} | ||
+ | |||
+ | {{#if: {{{class|}}}|{{#set:Class = {{{class|}}} }} | ||
+ | ;Class | ||
+ | :[[{{{class|}}}]]}} | ||
+ | |||
+ | {{#if: {{{mode|}}}|{{#set:Mode = {{{mode|}}} }} | ||
+ | ;Mode | ||
+ | :{{{mode|}}}}} | ||
+ | |||
+ | <!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property--> | ||
+ | {{#if: {{{mode|}}}|{{#ifeq: {{{mode|}}} | Melee | | ||
+ | {{#set:Melee Damage Base = {{{damage|}}} | ||
+ | |Melee Warmup = {{{warmup|}}} | ||
+ | |Melee Cooldown Base = {{{cooldown|}}} | ||
+ | }} | ||
+ | | | ||
+ | {{#set:Damage Base = {{{damage|}}} | ||
+ | |Aiming Time Base = {{{warmup|}}} | ||
+ | |Ranged Cooldown Base = {{{cooldown|}}} | ||
+ | }} }} |}} | ||
+ | |||
+ | {{#if: {{{damage|}}}| | ||
+ | ;Damage | ||
+ | :{{{damage|}}}}} | ||
+ | |||
+ | {{#if: {{{warmup|}}}| | ||
+ | ;{{H:title|link=no|Time it takes to aim the weapon|Warm-Up}} | ||
+ | :{{ticks|{{{warmup|}}}}}}} | ||
+ | |||
+ | {{#if: {{{cooldown |}}}| | ||
+ | ;{{H:title|link=no|Waiting time before you can aim again after firing|Cooldown}} | ||
+ | :{{ticks|{{{cooldown|}}}}}}} | ||
+ | |||
+ | {{#if: {{{range|}}}|{{#set:Range = {{{range|}}} }} | ||
+ | ;Range | ||
+ | :{{{range|}}} tile(s)}} | ||
+ | |||
+ | {{#if: {{{minrange|}}}| | ||
+ | ;Minimum Range | ||
+ | :{{{minrange|}}} tiles}} | ||
+ | |||
+ | {{#if: {{{accuracy|}}}| | ||
+ | ;Accuracy | ||
+ | :{{{accuracy|}}}}} | ||
+ | |||
+ | {{#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|}}}% | ||
+ | ;Average Acc. | ||
+ | :{{ #expr: (({{{accuracyTouch|}}} + {{{accuracyShort|}}} + {{{accuracyMedium|}}} + {{{accuracyLong|}}} )/4) round2 }}% | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#if: {{{velocity|}}}|{{#set:Velocity = {{{velocity|}}} }} | ||
+ | ;Velocity | ||
+ | :{{{velocity|}}} (m/s)}} | ||
+ | |||
+ | {{#if: {{{burst|}}}| | ||
+ | ;Burst Count | ||
+ | :{{{burst|}}} (per burst)}} | ||
+ | |||
+ | {{#if: {{{burstTicks|}}}| | ||
+ | ;{{H:title|link=no|Time between shots|Burst Ticks}} | ||
+ | :{{ticks|{{{burstTicks|}}}}}}} | ||
+ | |||
+ | {{#if: {{{missRadius|}}}| | ||
+ | ;{{H:title|link=no|Missed shots are forced to land within this radius|Miss Radius}} | ||
+ | :{{{missRadius|}}} tile(s)}} | ||
+ | |||
+ | {{#if: {{{blastRadius|}}}| | ||
+ | ;Blast Radius | ||
+ | :{{{blastRadius|}}}}} | ||
+ | |||
+ | {{ | ||
+ | #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)) * (({{{accuracyTouch|}}} + {{{accuracyShort|}}} + {{{accuracyMedium|}}} + {{{accuracyLong|}}} )/400)) round2 }}) | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{buy|}}}| | ||
+ | ;Buy | ||
+ | :{{{buy|}}}}} | ||
+ | |||
+ | {{#if:{{{sell|}}}| | ||
+ | ;Sell | ||
+ | :{{{sell|}}}}} | ||
+ | |||
+ | <br style="clear: both; height: 0px;" /> | ||
+ | </dl></div></div> | ||
+ | </includeonly> |