Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Saving plump helmets  (Read 8775 times)

erwindrenn

  • Escaped Lunatic
    • View Profile
Saving plump helmets
« on: April 22, 2011, 02:08:26 pm »

Is there any way I can forbid my dwarfs from eating plump helmets so I can use them for just brewing?
Logged

Daetrin

  • Bay Watcher
    • View Profile
Re: Saving plump helmets
« Reply #1 on: April 22, 2011, 02:14:15 pm »

Not directly, but if you're making prepared meals and stockpile them near your dining room, the number of raw foods eaten by dwarves should go way down.
Logged
All you need to know about Ardentdikes
It is really, really easy to flood this place with magma fwiw.

Doors stop fire, right?

Dorf3000

  • Bay Watcher
    • View Profile
Re: Saving plump helmets
« Reply #2 on: April 22, 2011, 02:24:51 pm »

Is there any way I can forbid my dwarfs from eating plump helmets so I can use them for just brewing?

No.  If you forbid them, they can't be brewed either.

It's much easier to grow cave wheat or pig tails and brew those, because dwarves don't eat them raw.
Logged
I had a tigerman get elected mayor and he promptly mandated 3 bowls of cereal.

Lagslayer

  • Bay Watcher
  • stand-up philosopher
    • View Profile
Re: Saving plump helmets
« Reply #3 on: April 22, 2011, 03:29:25 pm »

I usually just make lots of meals from the things I don't want brewed. I think the value and individual preferences of the dwarf determine what a dwarf will choose to eat.

Funburns

  • Bay Watcher
    • View Profile
Re: Saving plump helmets
« Reply #4 on: April 22, 2011, 05:38:02 pm »

For the purposes of this question, I think dwarven meals follows a specific series of events like this:

  • A dwarf starts its Eat job.
  • The dwarf causes a straight-line search calculation for the nearest acceptable food product to the dwarf (it might be that preferred products are always chosen first, no matter the distance). I don't know if this search respects food quality, but I'm pretty sure it doesn't.
  • The dwarf causes a terrain-respecting pathing calculation from the dwarf to the food item chosen in step 2.
  • The dwarf paths to the food item, picks it up if it's still there. Otherwise return to step 2.
  • The dwarf causes a straight-line search calculation for some place to eat at (a chair, possibly one assigned to the dwarf, or maybe in a meeting hall, possibly preferring chairs with free tables next to them).
  • The dwarf causes a terrain-respecting pathing calculation from the dwarf to the eating spot chosen in step 5.
  • If everything is still correctly ordered, the dwarf proceeds to eat the object.

Of note here is that dwarves will search for items to use in their jobs based off how close the item is to the dwarf when their job starts, not how close the item is to the job's completion point.

This means if you fill a stockpile with prepared meals and place it closer to where most dwarves work than the stockpile of plump helmets, dwarves should choose more prepared meals than plump helmets. If, however, your dining hall is off to the side of the fort, and your plump helmet stockpile is in the middle of your fort (next to the brewery in the workshop area, say?), dwarves may choose plump helmets much more often than prepared meals, which might be stored closer to the dining room (which is far out of the way for dwarves in the workshop).