Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Need help with Work Orders for pig tail cloth  (Read 6364 times)

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #15 on: January 06, 2017, 10:43:00 am »

That job plugin you mentioned was one of the autolabor variants, iirc. Fair note; the modern labor-manager fork in 43.05 is still in development by lethosor's words on reddit.

Workflow suspends and unsuspends repeating jobs in workshops and prevents their removal on cancellation due lack of materials or whatnot.
Not needing a manager, counting by quality, applying to all fitting jobs (so you can always produce trousers, as long as you have any kind of cloth or leather in stock) fitting a condition and with job-material managing the details of detailless jobs like prepared meals with desired ingredients are it's advantages over the manager.

Meanwhile, manager's advantages would be ability to check for sufficient materials (reduces cancellation spam), checking for multiple conditions on single job, checking for more unusual conditions like melt-designated items (tbh, I'm not sure what some of the traits even mean), easier macro-ability and ability to address multiple shops easier. For an example of potential use of those advantages would be setting up a macro that sets up work orders to check and produce any and all of the 72 booze types if possible to and not present.

Mostali

  • Bay Watcher
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #16 on: January 06, 2017, 12:37:07 pm »

I'm not using the manager because I haven't found any single thing it can do properly.

I use work order automation for nearly everything, including my clothing industry.

edited to add context
« Last Edit: January 06, 2017, 01:12:05 pm by Mostali »
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #17 on: January 06, 2017, 01:41:23 pm »

I'm afraid the thing I used might have been workflow, as I used it to suspend rather than delete repeat jobs when out of resources. I don't want tools that mess around with who works with what, as that would lead me to become utterly confused, as well as even greater problems with getting critical issues dealt with in a timely manner.

72 booze types? I believe there are 76 (20 tree fruits, mead, and the remainder being shrub based).
Logged

mikekchar

  • Bay Watcher
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #18 on: January 06, 2017, 07:11:04 pm »

I think it's totally fair if you have a system that works for you to stick with it ;-)

I love the manager system, though, which is why I don't want to discourage people from trying it.  Like Mostali, I use it for absolutely everything that I can (I'm a bit annoyed by the lye problem and now I have to make that by hand :-P).  Obtusely (and perhaps a bit in keeping with the DT thread), I enjoy the puzzles it creates for trying to automate workflow.  I think 90% of the impossible situations could be solved by having conditions on individual stockpiles (more than, less than, empty and full).   This would even be closer to JIT manufacturing workflows in real life.  Even sorting on quality works exactly like that in real life -- people inspect parts and put them into two piles.  Having a "blessed" way to destroy things would be nice too.  My father did pottery in his spare time when I was a kid and the group he worked with destroyed 90% of the things they made -- only the top, top quality items made it through the other end (apart from the pieces that I stole from the destruction pile and are still treasured possessions of mine to this day ;-) ).

The other problems are fairly easy to fix too, I think.  If size was a trait, then there would be no problem (although it would be nice to also have stockpiles based on size...).  In some ways, I think it would be great to overhaul both the stockpile menus and the work order menus to harmonise them a bit.  Of course, that's a fairly big overhaul.

I'd love automation for shearing, milking, wood cutting, herb gathering and silk gathering.  Probably all except the wood cutting would be relatively easy.  For wood cutting, it would be cool to designate trees to chop down and then generate a cut job for the required type of tree when stocks got low, for instance.  I suppose you could even do the same thing for mining.

But I'm getting off topic.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #19 on: January 07, 2017, 01:39:02 am »

@PatrickLundall: Correct you are on 76, checking Booze page. Double-checking my booze counter, it has 71 plants...Which says "Oops. That hurts that data collection."

And yes, that suspending on repeat jobs is definitely workflow. Doesn't mess with who does what, though - that is autolabor & it's forks like labor-manager.

Also, nvm on this with just manager:
For an example of potential use of those advantages would be setting up a macro that sets up work orders to check and produce any and all of the 72 booze types if possible to and not present.
You need job-details or stockpile link to set the "brew drink from plant" to use a given thing >_>
And stockpile link will just allow you cancel spam instead of overproduction; don't see an easier way to do it than having 8 stills each with their own workflow/job-item material job list.

asdf

Wish all these tools would work seamlessly together.

@mikekchar: Stockflow does work with conditions on fullness of stockpiles, though sadly the work orders it gives don't have the v.43 features.

There is autochop for automation of woodcutting from whole map or a burrow, though it has caused issues for some alongside normal tree cutting or not-cutting iirc. Haven't used myself yet, for tree cutting for me boils down determining location of orchard, if any, and then cutting everything else.

Silk gathering, not sure what's the problem with vanilla systems - other than the default auto collect venturing your weavers into danger. If using a silk farm, remember that you can use burrows to restrict looms to only collect webs from them.

Plant gathering is more problematic, but perhaps still solvable with some logic; the plant gathering zones will automate gathering plants when there are any available, but for stopping gathering of plants you'd need to remove access (easy, just use pressure plate and job that makes dwarf walk over it when stocks are high), preferably without stranding any haulers or gatherers mid-autumn harvest (Dunno - got any undead?)

Alternatively, there is repeat command for using getOne script PatrickLundall shared in DT thread for harvesting all booze and thread fruits + autofarm to maintain stocks of plants.
« Last Edit: January 07, 2017, 01:44:26 am by Fleeting Frames »
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #20 on: January 07, 2017, 04:48:48 am »

In my booze quest I have actually had all 76 kinds of booze simultaneously, although briefly. I used a PSV world that had 9 biomes in the 9 world tiles of the embark and its surrounding tiles, hacked all regions to contain all plants that are legal in the regions before accepting the generated world, and hacked the region so that my embark got all of the 9 biomes. Over time I managed to collect all booze producing shrubs from the embark, and eventually saplings matured to give me all trees except bananas, which I managed to buy from the elves. Papayas and dates are problematic, though, as they only seem to grow on the stem, so they have a very low yield, which tends to be stolen by dorfs before they reach the still.

You can't use the getone script on repeat for automated plant collection as it's written, because its purpose it to ultimately give you a seed of each type of shrub of interest so you can farm them. However, it wouldn't be too difficult to change it to check stocks of the plant/fruit rather than the existence of seeds. Also note that it's geared at booze/thread production, so it ignores all shrubs that can "just" be eaten, and it also skips papyrus sedge (for papyrus production).
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #21 on: January 07, 2017, 09:19:57 am »

Yeah, I meant combined with autofarm for a reason :P starting farming as seeds become available and stopping as food becomes plentiful.

Impressive accomplishment, though I'm not sure the theoretical 100% can be reached without modding raws or world (like you did), as RNGs are not true randoms. I've yet to break 90% coverage when looking around, though I've gotten close enough that I think I've rarely done it when I didn't check. 

Libash_Thunderhead

  • Bay Watcher
    • View Profile
Re: Need help with Work Orders for pig tail cloth
« Reply #22 on: January 07, 2017, 09:38:43 am »

I don't bother setting the details. And I have both plenty of booze and cloth.

My workshop orders:

brew from plants  5, check daily
brewable plants >=10
empty barrels >=10


process plant 5, check daily
fiber plants >=10


Edit*
The numbers can be different, it depends on the population caps I set.
« Last Edit: January 07, 2017, 09:40:26 am by Libash_Thunderhead »
Logged
Pages: 1 [2]