Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Priority stockpile  (Read 7002 times)

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Priority stockpile
« on: July 31, 2009, 02:50:57 am »

I would like to so some stockpile magic:

Say, I have carpentry with small 3x3 wood supply room next to it to cut down carpenters downtime.

I also have big 10x10 wood stockpile near entrance to fortress to collect chopped down wood.

What happens is that dwarves prefer to put stuff to closest stockpile, which is big "buffer stockpile" and that leaves small production stockpile mostly empty unless i deforest wood to point where buffer stockpile is full.

Ideally, dwarves would prefer small stockpile near workshop and even move wood to it from bigger, lower priority stockpile.

Idea is to have fast small "L1 cache" stockpile which is fed by bigger, slower "L2 cache" stockpile which collects supplies.

So, is there way to do this? Other than removing and replacing "L2" stockpile every so often?

I would like to use similar feature for lots of stuff (for example, central kitchen with big food stockpile with small food 1 or 2 tile stockpiles with higher priority all over the place - i.e. near patrol points or near important 24/7 industry positions). Or say having small 1 tile ammo stockpiles near archery posts that get resupplied from central ammo factory. I just have this vision of civilians running arrows, lunches and booze to my brave military dorfs.

Idea is to have big buffer to which excess production goes and maintain well supplied endpoints at all times.

----

Also, I have several stockpile types that I use pretty much all the time - booze only food stockpile for example, ranged weapon only weapon stockpile ... is there feature to save such presets? Or some macro library to create them automatically?

Jim Groovester

  • Bay Watcher
  • 1P
    • View Profile
Re: Priority stockpile
« Reply #1 on: July 31, 2009, 03:26:11 am »

I'd just move the carpenter's shop to your big stockpile.

The thing about having tiny resource stockpiles next to your workshops is that the maximum amount of hauling jobs generated by the stockpile will be the amount of tiles in your stockpile, in this case nine. Now, a carpenter, especially a legendary one, can blow throw nine pieces of wood faster than your dwarves can haul it back, and since there will only ever be nine dwarves hauling the wood to that stockpile, you lose productivity, as your carpenter has to go to the big stockpile to get resources because the tiny one is always empty.

So it's far better to have large stockpiles next to workshops, to keep the your workers at a constant rate of work. If you do this too much, though, your haulers won't be able to keep up, leading to things like food rotting in the kitchen.

There aren't any stockpile presets, unfortunately.
Logged
I understood nothing, contributed nothing, but still got to win, so good game everybody else.

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: Priority stockpile
« Reply #2 on: July 31, 2009, 03:47:44 am »

I like to have big "master" wood stockpile outside, which is unsafe site, and its purpose being purely as storage of freshly felled trees. Having shop nearby would means that additional trouble would be required to keep carpenter safe and well provisioned with booze-food. Possibly even having to make him apartment nearby. And hauling jobs are not really saved because now his products need to be hauled inside.

As far as efficiency goes, 3x3 is not my only stockpile near shop, ashery and bowyery and craftsdwarfs workshop are all nearby and each has 3x3 stockpile too, making wood supply nearby quite good, unless all those are running at same time.

---

Anyhow, even if it might not be best idea to supply workshop like this, i would still like to resully endpoints like this because i just can not build craft workshop on battlements and making him work throughout battle.

Firnagzen

  • Bay Watcher
  • [CURIOUSBEAST_INSANE]
    • View Profile
Re: Priority stockpile
« Reply #3 on: July 31, 2009, 04:22:55 am »

(q)uery your non master stockpile, and tell it to (t)ake from your master stockpile.
Logged
Christ, are you dwarves or are you elves? If you think Hell has too many demons, then you kill them till the population reaches an acceptable number.

Quatch

  • Bay Watcher
  • [CURIOUSBEAST_ GRADSTUDENT]
    • View Profile
    • Twitch? Sometimes..
Re: Priority stockpile
« Reply #4 on: July 31, 2009, 09:16:36 am »

Although I think you are limited to a maximum of one draw per source. That is, if you have one master stockpile, and you assign a small one to draw from it, and try to set up a second small to draw from the same big one, the first small one will loose its draw order.
Logged
SAVE THE PHILOSOPHER!
>>KillerClowns: It's faster to write "!!science!!" than any of the synonyms: "mad science", "dwarven science", or "crimes against the laws of god and man".
>>Orius: I plan my forts with some degree of paranoia.  It's kept me somewhat safe.

Psychoceramics

  • Bay Watcher
    • View Profile
Re: Priority stockpile
« Reply #5 on: July 31, 2009, 12:01:54 pm »

Although I think you are limited to a maximum of one draw per source. That is, if you have one master stockpile, and you assign a small one to draw from it, and try to set up a second small to draw from the same big one, the first small one will loose its draw order.

this is correct. You have to chain them together to get it to work

small one --> small one --> small one --> large one
Logged

TKTom

  • Bay Watcher
    • View Profile
Re: Priority stockpile
« Reply #6 on: August 05, 2009, 03:10:46 pm »

 Dwarfs place into the nearest stockpile. Does that take into account the traffic rating of areas (which, I believe, adds tiles to the distance calculation during pathing) ?

 If that is taken into account, a solution is obvious: ensure that dwarfs can move around stockpiles easily and then give the main stockpile a very high (over 9000) traffic rating. They would then place items in the smaller stockpiles until they are filled, as they are so small that would happen quickly. That's not ideal, as the stockpile won't "call" items to it.

 Why is there this one stockpile "give" limit? Is that going to be changed any time soon?
Logged