Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: workflow and workshops  (Read 866 times)

Bo-Rufus CMVII

  • Bay Watcher
    • View Profile
workflow and workshops
« on: January 08, 2014, 07:40:15 am »

As best I can tell, workflow jobs won't start unless you already have that job added for some workshop.  Does that effectively mean that you have to have a dedicated workshop for every workflow constraint?
Logged

Garath

  • Bay Watcher
  • Helping to deforest the world
    • View Profile
Re: workflow and workshops
« Reply #1 on: January 08, 2014, 07:58:36 am »

there are also orders that check your stocks and when you have fewer than X of item Y (set your own number on X and choose item Y) it will automatically generate the jobs
Logged
Quote from: Urist Imiknorris
Jam a door with its corpse and let all the goblins in. Hey, nobody said it had to be a weapon against your enemies.
Quote from: Frogwarrior
And then everyone melted.

guitarxe

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #2 on: January 08, 2014, 09:55:38 am »

From what I've figured, for each job that you want Workflow to manage, you need to have a job set on repeat in a workshop. You don't need a separate workshop for each one, you can just set more jobs in the same workshop on repeat, and they will be automatically suspended/resumed by workflow depending on the criteria you put in. Of course if you need more than 10 jobs from one workshop, you would need more, since only 10 jobs fit.

Since they are suspended when not being actively produced, they don't really interfere with just random production that you queue up from the manager from time to time, but you might still want a dedicated workshop for workflow and another separate one for one-off orders if you find yourself waiting too long for those barrels to reach their max count until you can make more beds, for example.
Logged
Feeling down? Click Here!

jcochran

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #3 on: January 08, 2014, 11:28:36 am »

He's absolutely correct, you can have multiple workflow jobs in a single workshop and things run smoothly. Now that can mean just having 1 workshop, or if you have a lot of workflow jobs, quite a few workshops. For instance, I have 4 clothes maker's shops, in order to be able to manage all the jobs I have setup for clothing manufacturing. (Each clothing item has 3 jobs on repeat. One each for cloth, silk, yarn. Also Each clothing item has only 1 workflow limit specified. For instance,

workflow amount ARMOR:ITEM_ARMOR_ROBE/CLOTH,SILK,YARN 100 10

I'm interested in keeping an inventory of 100 robes. I really don't care if they're cloth, silk, or yarn. Just want a 100 of 'em. So I have 3 jobs queued up for each of cloth, silk, yarn in order to take advantage of whatever type of cloth I have on hand.
Logged

Lochar

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #4 on: January 08, 2014, 06:10:18 pm »

I have just started messing with some of the Df hack commands. I am curious, for the above example of robes, does that script save always or have to be implemented each new startup?
Logged

EvilBob22

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #5 on: January 08, 2014, 06:21:30 pm »

It saves in your save game folder.  So, you only have to re-enter it when you start a new fort.
Logged
I will run the experiment to completion anyway, however. Even if the only reason why there is a punctured equilibrium in the fortress is because I have been brutally butchering babies
EDIT: I just remembered that dwarves can't equip halberds. That might explain why the squads that use them always die.

jcochran

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #6 on: January 08, 2014, 06:29:19 pm »

Also, some of the dfhack commands automatically start every time you load your fortress, and some require you to manually start them each time.

workflow - Remembers all your limits. Automatically starts up every fortress load. Don't have to do a thing unless you make a new fortress.
seedwatch - Remembers all your limits. However, needs to be manually started each time you load your fortress.
workNow - Gotta start it each time you load your fortress.
Logged

VerdantSF

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #7 on: January 09, 2014, 12:27:10 pm »

seedwatch - Remembers all your limits. However, needs to be manually started each time you load your fortress.

I eventually had to stop using this.  I would forget to activate it and not notice until several key crops had all been cooked away.

kingubu

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #8 on: January 09, 2014, 07:45:41 pm »

Workflow stores settings in the world history.

So a second fort in the same world will have the same workflow as the first.
Logged

Lochar

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #9 on: January 12, 2014, 10:28:08 pm »

Is there a decent list/guide somewhere for this?

Am messing around and been able to figure out some of the basics, but still cant figure out soap, tried as bar//soap but not sure if needs to know wether oil or tallow and not sure the combo. Also would like to see what else can do.

(edit) got soap, for some reason it was simpler than thought, but still trying to figure out things like socks. I tried the above example but I guess socks is different syntax.
« Last Edit: January 12, 2014, 10:57:32 pm by Lochar »
Logged

Uggh

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #10 on: January 13, 2014, 07:16:33 am »

It's stored in world data and even if you create a new world there is a process described somewhere to export/import workflow settings.
Logged

Lochar

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #11 on: January 13, 2014, 11:38:18 am »

Thanks, I actually didn't realize the dfhack read me had 2 links and one of them had a syntax list. But will have to play around with it. Seems Pants is for bottoms but didn't like trousers.
Logged

Bo-Rufus CMVII

  • Bay Watcher
    • View Profile
Re: workflow and workshops
« Reply #12 on: January 17, 2014, 06:19:28 pm »

Use gui/workflow status to create a job, then use workflow list-commands to see what it calls the thing.

Trousers are PANTS:ITEM_PANTS_PANTS.
Logged