Bug? Second Cookstove not used

Started by dickflyr, April 27, 2014, 01:23:15 AM

Previous topic - Next topic

dickflyr

The cook stove on the right isn't being used.  It has active bills created, people designated as cooks, plenty of food, cook stove is active and it isn't blocked.  They just like to use the stove on the left.  I'm stumped.  Latest released version. 

Savegame is too big, try this dl link instead: https://www.dropbox.com/s/uo06qlnxbees2it/Bug%20-%20Right%20Cookstove%20broken.zip


Tynan

Have cooks who can make those meals (enough cooking skill)?

Not busy doing something else? Did you try setting their work priorities to only cooking?

Left stove is closer? They go to the closest stove.

Don't already have 10 simple meals? Did you try setting it to infinite?

Is the ingredient search radius set really small on the right stove's bills?
Tynan Sylvester - @TynanSylvester - Tynan's Blog

dickflyr

Quote from: Tynan on April 27, 2014, 01:31:55 AM
Have cooks who can make those meals (enough cooking skill)?

Not busy doing something else? Did you try setting their work priorities to only cooking?

Left stove is closer? They go to the closest stove.

Don't already have 10 simple meals? Did you try setting it to infinite?

Is the ingredient search radius set really small on the right stove's bills?
I have multiple cooks with enough skill to make lavish meals.  Lavish and Fine are set to just make 1x, I suspended the other cook stove's bills and it was still unused. Right Stove is closer to the door.

Goal is to have two cookstoves running at once instead of just one.  When one is used, the other cooks don't cook.

I attempted to right click on the right stove to set the next priority, nothing is available when I right click (there is on the other stove when it has an active bill)


Odd thing is, when I deleted the stove and moved it one block right it started working (see link below).  It's working now, but there was something about having the cookstove in that position that made it not work as far as I can tell.

https://www.dropbox.com/s/mj8njljllepc7jj/Bug%20-%20Right%20Cookstove%20fixed.zip

dickflyr

I spoke too soon, second cook stove still isn't working.  Both cookstoves have the same bill setups (make Lavish until 10, make simple until 2.)  There are no meals in stock.  I can right click and set priority to the left cookstove.  Right cookstove does not have anything come up.

Tynan

You're right, there is something strange going on. It seems to be position-related; they won't make stone blocks there either.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

dickflyr


dickflyr

Don't know if this helps, but when I started deleting the stuff behind it and started moving and adjusting the room around, the right cookstove was used for a bit (until I destroyed it.)

Tynan

Yeah I just solved this after some late-night debugging.

The bug is: It checks that the stove position has a path to the ingredient position. It should check from the stove's interaction square.

The bug occurs because the stove position is its middle square, which isn't walkable. When checking reachability from an unwalkable square, the system looks around for adjacent walkable squares to check from. It looks to the right first.

Easy fix; thanks for pointing this out. Boy my Saturdays are wild these days.
Tynan Sylvester - @TynanSylvester - Tynan's Blog


Geeves

You know it is bedtime when you open a file called GeneralEffecters.xml and the first 2 words you notice are: Butcher and Children.
==============
Learning to program is easy. Learning to put what is in your mind into programming code, now that is the hard part.