Difference between revisions of "Template:Infobox main/testing"
Jump to navigation
Jump to search
(First, very rough pass) |
|||
Line 400: | Line 400: | ||
<!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property--> | <!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property--> | ||
− | |||
− | |||
− | |||
− | |||
{{#if: {{{mode|}}}|{{#ifeq: {{{mode|}}} | Melee | | {{#if: {{{mode|}}}|{{#ifeq: {{{mode|}}} | Melee | | ||
Line 552: | Line 548: | ||
{{#vardefine: MobAverageDPS | {{#expr: {{#var: Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} | {{#vardefine: MobAverageDPS | {{#expr: {{#var: Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} | ||
− | {{# | + | {{#if: {{#varexists: MobAverageDPS}} | {{#if: {{{attack1dmg|}}} | |
;Average DPS | ;Average DPS | ||
:{{#var: MobAverageDPS}} | :{{#var: MobAverageDPS}} | ||
− | {{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }} | + | {{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }} }} |
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }} | {{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }} |
Revision as of 04:00, 8 February 2021
This is a testing version of Template:Infobox main for trying out changes without breaking the site.
Example #1
Muffalo
"A large herding herbivore descended from buffalo and adapted for both cold and warm environments. While enraged muffalo are deadly, tamed muffalo are quite docile and can be used as pack animals.
Nobody is quite sure why they're blue - it might even be some early genetic modification test that just never got changed."
- Body Size
- 2.1
- Move Speed
- 4.50
- Mass - Young
- 29.4 kg
- Mass - Juvenile
- 73.5 kg
- Mass - Adult
- 147 kg
Production
- Meat Yield
- 189 muffalo meat
- Carrying Capacity
- 158
- Leather Yield
- 63 bluefur
- Filth Rate
- 2.63
- Wool Amount
- 100 muffalo wool
- Shearing Interval
- 25 days
- Manhunter Chance
- 1.3%
- Hunger Rate
- 1.36
- Diet
- herbivorous
- Life Expectancy
- 15
- Trainable Intelligence
- simple
- Wildness
- 60%
- Minimum Handling Skill
- 5
- Gestation Period
- 28 days
- Offspring Per Birth
- 1
- Maturity Age
- 0.5 years (30 days)
- Comfortable Temp Range
- -55°C - 45°C
Melee Combat
-
"blunt" is not in the list (Cut, Crush, Blunt, Poke, Demolish, Stab, Scratch, Toxic scratch, Bite, Toxic bite) of allowed values for the "Attack 1 Type" property.
- Attack 1
- head
10 dmg (blunt)
15% AP
2.6 ticks (0.04 secs) - Attack 2
- left hoof
10 dmg (blunt)
15% AP
2 ticks (0.03 secs) - Attack 3
- right hoof
10 dmg (blunt)
15% AP
2 ticks (0.03 secs) - Attack 4
- Teeth
10 dmg (bite)
15% AP
2 ticks (0.03 secs) on first strike - Average DPS
- 175.27
{{infobox main/testing|animal| |name = Muffalo |image = Muffalo east.png |description = Desc |type = Animals |type2 = Wild |bodysize = 2.1 |healthscale = 1.75 |movespeed = 4.50 |attack1dmg = 10 |attack1type = blunt |attack1part = head |attack1cool = 156 |attack2dmg = 10 |attack2type = blunt |attack2part = left hoof |attack2cool = 120 |attack3dmg = 10 |attack3type = blunt |attack3part = right hoof |attack3cool = 120 |attack4dmg = 10 |attack4type = bite |attack4part = Teeth |attack4cool = 120 |attack4chance = 0.5 |leathername = bluefur |leatheryield = 63 |woolname = muffalo wool |wool = 100 |sheartime = 25 |manhunter = 0.013 |hungerrate = 0.85 |diet = herbivorous |trainable = simple |wildness = 0.6 |gestation = 28 |lifespan = 15 |offspring = 1 |massadult = 147 |maturityage = 0.5 |marketvalue = 300 |livesin_aridshrubland = true |livesin_borealforest = true |livesin_icesheet = true |livesin_seaice = true |livesin_temperateforest = true |livesin_tundra = true |min comfortable temperature = -55 |max comfortable temperature = 45 }}
The above documentation is transcluded from Template:Infobox main/testing/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |