Template:Grazing Score
Jump to navigation
Jump to search
Calculates a score indicating how grazable a biome is. The score should be directly proportional to the rate of nutrition that grazing animals can get from each tile by eating edible wild plants, based on a guess of how the Property:Wild Plant Regrow Days and Property:Plant Density biome properties interact. It assumes that the plants' individual Property:Grow Days do not matter.[Verification needed] It also includes all the Odyssey plants, so vanilla-only biomes may have a different score.
Returns the value of
1000 * Σ(wild plant.Lives In <biome> * wild plant.Nutrition) / Σ(plant.Lives In <biome>) * biome.Plant Density / biome.Regrow Days
Syntax[edit]
{{Grazing Score|Biome|Debug}}
- Biome = name of biome
- Debug = if set, instead returns a trace of the calculations
Examples[edit]
{{Grazing Score|Grassland}}⇒ 36.6
{{Grazing Score|Grassland|Y}}⇒
name=Grassland commonality=Lives In Grassland numerator=(0.05*0.5+0.2*0.5+9*0.5+0.2*+1*0.5+9*0.5+0.05*0.2+9*0.5)=13.735 denominator=(0.05+0.2+0.3+9+0.2+0.02+0.05+1+9+0.05+9)=28.87 plant_density=1 regrow_days=13
grazing_score=36.6
{{Grazing Score|Arid shrubland}}⇒ 3.83{{Grazing Score|Temperate forest}}⇒ 12.2{{Grazing Score|Tundra}}⇒ 3.06{{Grazing Score|Extreme desert}}⇒ 0.02
{{Grazing Score|Extreme desert|Y}}⇒
name=Extreme desert commonality=Lives In Extreme Desert numerator=(0.25*0.2+6*0.5+5*0.5)=5.55 denominator=(0.25+0+6+5+1+1+0)=13.25 plant_density=0.002 regrow_days=35
grazing_score=0.02
| The above documentation is transcluded from Template:Grazing Score/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. |