Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Workshop queue improvment  (Read 531 times)

Impaler[WrG]

  • Bay Watcher
  • Khazad Project Leader
    • View Profile
Workshop queue improvment
« on: July 27, 2008, 09:27:54 am »

Currently work shops can have two kinds of orders 'singleton' orders which are done once and then removed from the list and 'repeat' orders (created by pressing 'r') which are repeated forever or until resources run out at which point they are removed.

Firstly add quantity to all the singleton orders, this would be done by pressing '+' for a singleton order which would put a counter at the front of the Order line like so "X/Y Barrel" X being the current count of production and Y the goal.  Pressing +/- changes the goal quantity allowing easy increase/decrease partway through production.  When the complete these multi orders clear themselves from the list just like singletons.

Second add a new 'monthly' order option activated by pressing 'm', monthly order status is mutually exclusive with repeat so you see an M in place of the R.  Monthly orders can be multi or singleton and do not clear themselves upon completion, instead they darken or get a check mark to indicate their done for the month, at the start of the new month they turn back on and the queue processes them from top to bottom.  Monthly and repeat orders can be mixed but any monthly order below a repeat order will never be executed (as would any singleton order in the current system which should be indicated somehow).  Monthly orders with quantity can be increased and decreased with +/- and increasing the quantity will un-check the items completion for the month if it had already been completed so the new order will go right into production if its higher on the list then the current task/

Lastly a 'loop' option activated with 'l', Loop is again mutually exclusive with monthly and repeat.  Loop is similar to repeat but more flexible, loop orders have quantities like singletons but don't clear themselves when done.  If any loop orders are present the queue atuomaticaly loops back to the begining upon reaching the bottom and the loop orders get processed again and again in order.  Loop orders can be mixed with singletons and monthly orders without the issue that repeat causes, In fact loop might be able to replace repeat entirely.

I think this would be a far more flexible and useful system then what currently exists, one could produce some very nuanced commands like "1 bed (monthly), 1 bin (loop), 2 barrel (loop)" to get a steady production of several items in a desired ratio.
Logged
Khazad the Isometric Fortress Engine
Extract forts from DF, load and save them to file and view them in full 3D

Khazad Home Thread
Khazad v0.0.5 Download

Draco18s

  • Bay Watcher
    • View Profile
Re: Workshop queue improvment
« Reply #1 on: July 27, 2008, 02:54:12 pm »

So....

barrel (loop 2)

is the same as....

barrel (repeat)
barrel (repeat)

...but it takes up one line?
Logged

sweitx

  • Bay Watcher
  • Sun Berry McSunshine
    • View Profile
Re: Workshop queue improvment
« Reply #2 on: July 27, 2008, 03:43:03 pm »

Hm... I agree with this, but for job managers.  Since coordinate production should involve a lot of manager's time.
Current system...

Urist McManager: "Okay, I need you to make 3 barrels for each month."
Urist McBarrelMaker: "Why don't I make them all at once?"
Urist McManager: "No, we don't have enough..."
Urist McBarrelMaker: "Oops, out of wood.  I'm done call me later."
Urist McBinMaker: "Manager?  I need wood to make bin."
Urist McManaged has died:  Suicide.
Logged
One of the toads decided to go for a swim in the moat - presumably because he could path through the moat to my dwarves. He is not charging in, just loitering in the moat.

The toad is having a nice relaxing swim.
The goblin mounted on his back, however, is drowning.

irmo

  • Bay Watcher
    • View Profile
Re: Workshop queue improvment
« Reply #3 on: July 27, 2008, 06:59:04 pm »

Lastly a 'loop' option activated with 'l', Loop is again mutually exclusive with monthly and repeat.  Loop is similar to repeat but more flexible, loop orders have quantities like singletons but don't clear themselves when done.  If any loop orders are present the queue atuomaticaly loops back to the begining upon reaching the bottom and the loop orders get processed again and again in order.  Loop orders can be mixed with singletons and monthly orders without the issue that repeat causes, In fact loop might be able to replace repeat entirely.

That's how repeat works.
Logged