v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

DF2014 Talk:Grazer

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Much of the info on this page is obsolete because the grazing calculations were significantly changed in the 40.13 release. The description of the change was: "Reworked grazing formula, used fractional exponent to scale properly according to size."

In d_init.txt this was added:

Set this number to scale how often grazing animals need to eat. Larger numbers mean less food is necessary. Metabolism is always set according to the 3/4ths power of size.

[GRAZE_COEFFICIENT:100]

Further research is needed to determine what the pasture size needed for a given animal size.

Khearn (talk) 22:02, 24 September 2014 (UTC)

Toady posted the STANDARD_GRAZER formula in the FotF thread. It is 20000*G*(max size)^(-3/4), where G is the graze coefficient, and max size is the internal body size, so raw body size divided by 10. Knight Otu (talk) 18:18, 25 September 2014 (UTC)

Ok, that's helpful. Assuming G is normalized so that GRAZE_COEFFICIENT:100 means that G is 1.0, here are some sample animals:

Animal max size New GRAZER Old GRAZER
Rabbit 50 106,366 120,000
Sheep 5000 3,364 1,200
Alpaca 7000 2613 857
Donkey 30000 877 200
Cow 60000 522 100
Water Buffalo 100000 356 60
Elephant 500000 106 12

Using the rule of thumb that 20000=Grazer*Required_tiles, then:

Animal New Tiles New NxN Old Tiles Old NxN
Rabbit 0.2 1x1 0.2 1x1
Sheep 6 2x3 17 4x4
Alpaca 8 3x3 25 5x5
Donkey 23 5x5 100 10x10
Cow 38 6x7 200 14x14
Water Buffalo 56 8x8 333 18x18
Elephant 188 14x14 1667 41x41

Those are significantly smaller for the larger animals, and look like they could be reasonable. I'll try reducing my pastures to the sizes based on this formula and see if they do OK. If so, I'll update the page with the new formula and values. Thanks for the info!

Khearn (talk) 23:12, 25 September 2014 (UTC)

I actually forgot a part that impacts a few creatures - the standard_grazer tag has a floor of 150 (meaning rhino-sized and larger creatures all get a grazer value of 150), and a ceiling of 3 million (which probably requires a high graze coefficient to be reaached.) Knight Otu (talk) 07:34, 26 September 2014 (UTC)

Why is there first person writing under the Key section?

...that I just fixed due to not being generally done around here, you mean? Silverwing235 (talk) 16:43, 11 January 2024 (UTC)