Ludeon Forums

RimWorld => Bugs => Topic started by: dickflyr on April 27, 2014, 01:23:15 AM

Title: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 01:23:15 AM
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

(http://i.imgur.com/I8SCLYE.jpg)
Title: Re: Bug? Second Cookstove not used
Post by: 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?
Title: Re: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 01:46:56 AM
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
(http://i.imgur.com/0qfoNn4.jpg)
Title: Re: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 01:52:30 AM
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.
Title: Re: Bug? Second Cookstove not used
Post by: Tynan on April 27, 2014, 02:08:59 AM
You're right, there is something strange going on. It seems to be position-related; they won't make stone blocks there either.
Title: Re: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 02:10:50 AM
Thanks, good luck!
Title: Re: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 02:20:54 AM
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.)
Title: Re: Bug? Second Cookstove not used
Post by: Tynan on April 27, 2014, 02:31:36 AM
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.
Title: Re: Bug? Second Cookstove not used
Post by: dickflyr on April 27, 2014, 10:59:57 AM
(http://img.pandawhale.com/104610-Jim-Carrey-dancing-orange-tuxe-EUSW.gif)
Title: Re: Bug? Second Cookstove not used
Post by: Geeves on April 27, 2014, 11:20:35 AM
That picture says it all.