1
DF Suggestions / Re: New workshop toggle "Wait"
« on: March 13, 2013, 04:58:04 pm »It's still kind of spammy, at least in the background. It breaks the model of jobs being posted once and then sitting until a dwarf decides to handle them, since the job needs to constantly check whether resources are available for it. From what I assume, repeated tasks work the way they do now for a very good reason.
The main problem would occur when a workshop is left with only jobs that are waiting for materials. If programmed incorrectly, such a workshop would get into a recursive loop that locks up the entire game. (That's likely to get fixed quickly.) Even if programmed optimally, FPS will take a hit every time you have such a workshop and at least one idle dwarf enabled to perform each job in the queue.
Isn't this basically equivalent to the way that stockpiles work now? A stockpile with free space will intermittently check to see if there's an item it can store; if it finds a storable item, it creates a hauling job to bring the item to the stockpile. Having a workshop with nothing but Wait jobs shouldn't cause any more lag than is caused by having a furniture stockpile on a map with no furniture.