Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002393Dwarf FortressDwarf Mode -- Jobs, Cooking and Foodpublic2010-06-20 02:292015-01-03 21:40
Malicus 
Footkerchief 
normalminoralways
confirmedopen 
0.31.08 
 
0002393: Cooks prefer to cook solid bases with solids, rather than solid bases with liquids, meaning liquids barely get used
If dwarven syrup is available, even if it is the closest available cookable item in relation to the kitchen, a cook will ignore it until no other items are available. They will prefer to use up all the solid food items first, which will mean that when they finally decide to cook with syrup (there being no solid cookable items left), the only solid bases available will be what is already in the kitchen, and that will be cooked into only one meal (assuming there was even anything already in the kitchen).
1) Have some dwarven syrup and an abundance of solid cookable items.
2) Place the dwarven syrup immediately next to the kitchen so that the cook should grab it due to it being the closest cookable item available.
3) Add a task at that kitchen to create a meal.
4) Watch the cook run farther away to get some other cookable item before even considering using the syrup.
This happened while trying to cook lavish meals, if it matters.

This likely also applies to trying to cook booze, but I did not test that.

As it is now, it requires significant micromanagement to cook more than one meal with dwarven syrup, which is probably not intended.
0.31.18, 0.40.03, Intentional/Expected?
related to 0000138resolved Toady One Liquid prepared meals melt, kitchen gets cluttered with booze 
has duplicate 0002447resolved Footkerchief dwarves only use liquids for cooking if they have no other choice 
related to 0002787new  Frozen milk gets cooked into prepared meals as a solid, causing the meal to melt later 
Issue History
2010-06-20 02:29MalicusNew Issue
2010-06-20 03:01FootkerchiefSummaryCooks prefer cooking syrup last, using up available solid bases too quickly => Cooks prefer to cook solid bases with solids, rather than solid bases with liquids, meaning liquids barely get used
2010-06-20 03:01FootkerchiefTag Attached: Intentional?
2010-06-20 05:04burlingkNote Added: 0008761
2010-06-20 06:48Rafal99Note Added: 0008766
2010-06-20 09:26FootkerchiefTag Attached: AWAITING UPDATE
2010-06-20 14:25MalicusNote Added: 0008804
2010-06-20 14:26MalicusNote Edited: 0008804bug_revision_view_page.php?bugnote_id=0008804#r3366
2010-06-23 06:09FootkerchiefRelationship addedhas duplicate 0002447
2010-06-23 09:59ChickenLipsNote Added: 0009013
2010-06-23 10:00ChickenLipsNote Edited: 0009013bug_revision_view_page.php?bugnote_id=0009013#r3448
2010-06-23 11:13kwielandNote Added: 0009014
2010-06-23 11:13kwielandIssue Monitored: kwieland
2010-06-23 11:52FootkerchiefTag Detached: AWAITING UPDATE
2010-06-30 17:29Khym ChanurIssue Monitored: Khym Chanur
2010-07-12 12:03FootkerchiefTag RenamedIntentional? => Intentional/Expected?
2010-07-16 14:23kwielandNote Edited: 0009014bug_revision_view_page.php?bugnote_id=0009014#r4051
2010-07-21 13:04kwielandNote Edited: 0009014bug_revision_view_page.php?bugnote_id=0009014#r4181
2010-07-22 14:10slinkNote Added: 0010849
2010-07-22 21:22kwielandNote Added: 0010858
2010-07-22 22:12FootkerchiefRelationship addedrelated to 0000138
2010-07-22 22:12FootkerchiefRelationship addedrelated to 0002787
2010-07-24 18:30kwielandNote Edited: 0010858bug_revision_view_page.php?bugnote_id=0010858#r4260
2010-07-26 13:25kwielandNote Edited: 0010858bug_revision_view_page.php?bugnote_id=0010858#r4333
2010-08-28 20:10kwielandNote Edited: 0010858bug_revision_view_page.php?bugnote_id=0010858#r4747
2010-10-15 11:46PhrostyNote Added: 0013379
2011-02-17 06:37GauHelldragonNote Added: 0015181
2011-02-22 03:04joshanniaTag Attached: 0.31.18
2011-02-22 03:05joshanniaNote Added: 0015390
2011-02-22 03:36RossMIssue Monitored: RossM
2011-03-10 04:28joshanniaIssue Monitored: joshannia
2011-03-10 11:56kwielandNote Added: 0016056
2011-03-26 05:16KumquatNote Added: 0016628
2011-06-19 15:27NarosIssue Monitored: Naros
2011-11-30 17:53UristDaVinciNote Added: 0019058
2012-08-21 02:56TeddyNote Added: 0023480
2012-08-21 02:56TeddyNote Edited: 0023480bug_revision_view_page.php?bugnote_id=0023480#r8766
2014-07-14 03:00joshanniaNote Added: 0026305
2014-07-14 03:01joshanniaTag Attached: 0.40.03
2014-07-14 03:01joshanniaTag Attached: .40.02
2014-07-22 06:17lethosorTag Detached: .40.02
2014-08-13 13:34FootkerchiefAssigned To => Footkerchief
2014-08-13 13:34FootkerchiefStatusnew => confirmed
2015-01-03 21:40cpmanNote Added: 0031680
2018-04-13 13:15HuntthetrollIssue Monitored: Huntthetroll

Notes
(0008761)
burlingk   
2010-06-20 05:04   
One of the recent bug fixes was to insure that at least one solid item was used in cooking. Perhaps the fix was too aggressive?
(0008766)
Rafal99   
2010-06-20 06:48   
Do you have "Mix food" enabled in (O)rders screen?
(0008804)
Malicus   
2010-06-20 14:25   
(edited on: 2010-06-20 14:26)
I had it disabled, but I'm pretty sure that only applies to mixing things in barrels. I just tried again, making sure that "mix food" stayed enabled, and the same thing happened (until I forbade everything in my main food stockpile (which was significantly further away) so the cook would take from the dwarven syrup stockpile), so that's not the problem.

(0009013)
ChickenLips   
2010-06-23 09:59   
(edited on: 2010-06-23 10:00)
I don't seem to see, with 437 prepared meals, any of them with liquid content (I have alcohol disabled for cooking, so my ongoing game isn't a reliable test of whether alcohol is used), so this would appear to be confirmed here as well.

If the "No Mix" (O)rder means meals are made of unmixed ingredients, that comes as a counterintuitive and undesired surprise for me, at least. Hopefully it's not the case -- but if meal ingredients are chosen by distance, or all from one tile by whatever methodology, it would totally make sense.

I *was* wondering why about half of my roasts consist of one ingredient used four times (which makes the difference between a Lavish and an Easy meal seem superfluous). There's a ridiculous commonness of meals like minced strawberry, minced strawberry, minced strawberry, and minced strawberry. Isn't the point of a "lavish" four-item meal to use four separate ingredients?

But it isn't totally consistent, and I see some meals with three ingredients alike and one different, and every once in a while a meal actually has three or four separate ingredients. But it is kinda disappointing to see 10 or so meals in a row with Whip Vine seeds x4.

I don't know if it's intended, but it definitely looks hokey and *feels* bugged to have meals with repeated ingredients. I'd definitely expect, from logic, meals requiring separate ingredients, and possibly allowing no more than one alcoholic/liquid ingredient.

(0009014)
kwieland   
2010-06-23 11:13   
(edited on: 2010-07-21 13:04)
@Chickenlips: If you look at the wiki (http://df.magmawiki.com/index.php/DF2010:Cook [^]) the difference between the easy, fine, lavish is simply the amount of items used, not their diversity. But I agree, ideally the cook should incorporate various items.

*I* would like to see the "cook cancels meal, item unavailable" fixed by having the cook look for another item or possibly locking items intended for cooking. Bug? Not really, but similar in magnitude to what you are suggesting.

AS of 31.10, I didn't see this at first. The second game I did see this issue. I had a brewer that was 3 tiles away from the kitchen with plenty of liquids (seed cooking was turned off) but the cook would bipass these barrels for solids that were 5 or more tiles away.

The problem seems to be due to liquid containers not being "seen" as available for cooking if they are not in a stockpile. If I make a stockpile with brewsky 2-3 tiles away from a kitchen, they routinely get incorporated into the meals. Anyone?

(0010849)
slink   
2010-07-22 14:10   
No liquids are being cooked for me. I have stored both Dwarven Syrup and Sewer Brew within 1 - 3 squares of three different kitchens. Both materials are marked to cook. All three kitchens are cycling through Easy, Fine, and Lavish meals. These meals are being made entirely from solid materials stored 10 or more squares from the kitchens.

31.10 SDL on WinXP SP3
(0010858)
kwieland   
2010-07-22 21:22   
(edited on: 2010-08-28 20:10)
EDITED AGAIN.
Previously:
I think I made some progress on this one. I embarked and had a lot of herbalists gather tons of food. I had the kitchen orders set that the plants would not be cooked, only brewed. However, the cooks were traveling 8-10 squares away to get multiple seeds, while the booze was only 3 tiles away. Then, since it was time to head inside, I allowed plants to be cooked. BAM. The cooks would get one seed and then use the booze.

So, for some reason, if you forbid cooking of plants, the brews made from them will not be used in cooking. If you enable plants for use for cooking, then immediately drinks will be used in cooking. Can someone try this?

Now:
I tried this again, and it didn't work. Namely, the cook went 10-15 tiles to get plants over drinks that were 5 tiles away. I'm not sure why, now. Every once in a while the cooks will incorporate liquids, though.

Latest: I think it might have to do with availability. Just as in old games, food had to be in stockpiles before dwarfs would eat it, I think the seeds also have to be stored. Does this jive with what others have seen?

(0013379)
Phrosty   
2010-10-15 11:46   
Still occurring as of 31.10.12. Regardless of the distance, as long as there is one more solid item, dwarves will prefer it over the liquid items. I was able to force them to use liquid items by forbidding all but one solid food item.
(0015181)
GauHelldragon   
2011-02-17 06:37   
I think the problem is that it seems to get the most recently created items. So you'll have a bunch of liquids that need to be cooked, you will make some solids, and then all the new solids will be used up without any of the old liquids being used.
(0015390)
joshannia   
2011-02-22 03:05   
Still occuring as of 0.31.18
(0016056)
kwieland   
2011-03-10 11:56   
I can confirm what GauHelldragon reported for .21 The method seems to be a last in first out system, rather than "whats nearby" and "make sure I get at least one solid". Distance doesn't seem to be relevant.
(0016628)
Kumquat   
2011-03-26 05:16   
This puts a big problem in the honey industry as jugs get filled with royal jelly and the only way to get it out of the jugs is to cook it.

Of course it is possible to churn out jugs on repeat and trade them away, but that is a suboptimal workaround. It doesn't get the jelly out of jugs.
(0019058)
UristDaVinci   
2011-11-30 17:53   
http://www.bay12forums.com/smf/index.php?topic=96982.msg2799237#msg2799237 [^]

"Sphalerite" discovered that ingredients in barrels get used before ingredients not in barrels. If all your foodstuffs are stored in barrels, the liquids won't get cooked until all the solids are gone.
(0023480)
Teddy   
2012-08-21 02:56   
This bug still remains in 34.11, meaning that I can't produce any honey as all the jugs my magma kilns manage to churn out are used to hold royal jelly.

(0026305)
joshannia   
2014-07-14 03:00   
Still persisting as of 0.40.03
(0031680)
cpman   
2015-01-03 21:40   
Still present in 40.23. My kitchen has a stockpile for royal jelly and dwarven syrup adjacent to it, but the cook takes meat from a stockpile about 30 tiles away to cook with instead.