Difference between revisions of "User:Theaetetus/sandbox1"
Jump to navigation
Jump to search
Theaetetus (talk | contribs) |
|||
(38 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{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 |<!-- | --> animal = c_08 |<!-- | ||
--> plant = c_14 |<!-- | --> plant = c_14 |<!-- | ||
Line 17: | Line 19: | ||
;Type | ;Type | ||
:[[{{{type}}}]]{{#if: {{{type2|}}} |  –  [[{{{type2}}}]] }} | :[[{{{type}}}]]{{#if: {{{type2|}}} |  –  [[{{{type2}}}]] }} | ||
− | |||
{{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} | {{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} | ||
;Placeable | ;Placeable | ||
:{{{placeable|}}}}} | :{{{placeable|}}}}} | ||
+ | |||
+ | {{#if: {{{rotatable|}}}|{{#set:Rotatable = {{{rotatable|}}} }} | ||
+ | ;Rotatable | ||
+ | :{{{rotatable|}}}}} | ||
Line 50: | Line 55: | ||
;Move Speed | ;Move Speed | ||
:{{{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|}}} }} | {{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }} | ||
Line 88: | Line 151: | ||
;Armor - Heat | ;Armor - Heat | ||
:{{{armorheat|}}}}} | :{{{armorheat|}}}}} | ||
+ | |||
+ | {{#if: {{{meatname|}}}| | ||
+ | {{#vardefine: MeatName | {{{meatname|}}}}}{{#set: Meat Name = {{{meatname|}}} }}| | ||
+ | {{#vardefine: MeatName | {{{name|{{BASEPAGENAME}}}}} meat}}{{#set: Meat Name = {{{name|{{BASEPAGENAME}}}}} meat}} }} | ||
{{#if: {{{bodysize|}}}| | {{#if: {{{bodysize|}}}| | ||
− | {{#set:Body Size = {{{bodysize|}}} }} | + | {{#set: Body Size = {{{bodysize|}}} }} |
− | {{# | + | <!-- This section only for when meat yield is overridden in the XML def --> |
− | {{#set: | + | <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified --> |
+ | {{#if: {{{meatyield|}}}| | ||
+ | {{#set: Meat Yield = {{{meatyield|}}} }} | ||
;Meat Yield | ;Meat Yield | ||
− | :{{# | + | :{{{meatyield|}}} [[{{lc:{{#var: MeatName}}}}|{{lc:{{#var: MeatName}}}}]]| |
− | {{#if: {{{leathername|}}}|{{# | + | <!-- 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 | ;Leather Yield | ||
− | :{{# | + | :{{#var: LeatherYield}}}}}} |
− | |||
− | |||
− | }} | ||
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} | {{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }} | ||
Line 133: | Line 210: | ||
}} | }} | ||
− | + | {{#if: {{{handleskill|}}}|{{#set:Minimum Handling Skill = {{{handleskill|}}} }} | |
− | {{#if: {{{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}} | ;{{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|}}} | + | :{{{handleskill|}}}}} |
− | |||
{{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }} | {{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }} | ||
Line 152: | Line 227: | ||
:{{{milktime|}}} days}} | :{{{milktime|}}} days}} | ||
− | {{#if: {{{wool|}}}|{{#set: Wool Amount = {{{wool|}}} }} | + | {{#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 Amount | ||
− | :{{{wool|}}} }} | + | :{{{wool|}}} [[{{#var: WoolName}}|{{lc:{{#var: WoolName}}}}]] |
+ | }} | ||
{{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }} | {{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }} | ||
Line 167: | Line 248: | ||
{{#if: {{{eggtime|}}}|{{#set: Egg Laying Interval = {{{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|}}}|{{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} | {{#if: {{{eggs_avg|}}}|{{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} | ||
− | |||
− | |||
{{#if: {{{gestation|}}}|{{#set: Gestation Period Days = {{{gestation|}}} }} | {{#if: {{{gestation|}}}|{{#set: Gestation Period Days = {{{gestation|}}} }} | ||
Line 189: | Line 269: | ||
{{#if: {{{livesin_borealforest|}}}|{{#set: Lives in Boreal Forest = true}} }} | {{#if: {{{livesin_borealforest|}}}|{{#set: Lives in Boreal Forest = true}} }} | ||
{{#if: {{{livesin_desert|}}}|{{#set: Lives in Desert = 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_icesheet|}}}|{{#set: Lives in Icesheet = true}} }} | ||
{{#if: {{{livesin_temperateforest|}}}|{{#set: Lives in Temperate Forest = true}} }} | {{#if: {{{livesin_temperateforest|}}}|{{#set: Lives in Temperate Forest = true}} }} | ||
Line 315: | Line 396: | ||
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
</dl></div></div> | </dl></div></div> | ||
− | + | </includeonly> | |
− | < | ||
− | |||
− | |||
− |