Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: stockpile selection  (Read 516 times)

Uggh

  • Bay Watcher
    • View Profile
stockpile selection
« on: January 30, 2013, 10:56:16 am »

If multiple stockpiles are eligible, which one is chosen?

I created some underground farms and a small specialized stockpile immediately on the level above to store only the four brewable subterranean crops. Another much larger general food stockpile is located a bit further away but also one level above the farms. This stockpile accepts the same plants but also other types of food.
As you might have guessed, most of the harvested plants is brought to the distant general stockpile. The closer one is not completely ignored but receives only a very small fraction.

Are the mechanics behind this known?


Logged

Zealord

  • Bay Watcher
  • [BIOME_SUPPORT:SUBURBS]
    • View Profile
Re: stockpile selection
« Reply #1 on: January 30, 2013, 10:59:49 am »

Check what links are made. (e.g. give to stockpile, give to workshop) Normally, the closest one is chosen. If they don't something's wrong with the settings or something like that.

It has to do with shared barrels as well if I recall correctly.
Logged
This is great.

Uggh

  • Bay Watcher
    • View Profile
Re: stockpile selection
« Reply #2 on: January 30, 2013, 11:14:54 am »

No links...
The small stockpile does not accept barrels and even without putting them into barrels the dwarves prefer to deliver to the distant one.
Logged

FuzzyZergling

  • Bay Watcher
  • Zergin' erry day.
    • View Profile
Re: stockpile selection
« Reply #3 on: January 31, 2013, 02:33:58 am »

I think it puts them in whichever one was created first, but I could be wrong.
Logged

Merendel

  • Bay Watcher
    • View Profile
Re: stockpile selection
« Reply #4 on: January 31, 2013, 03:18:52 am »

No links...
The small stockpile does not accept barrels and even without putting them into barrels the dwarves prefer to deliver to the distant one.

Thats your problem dwarves always prefer to put items in barrels/bins particularly if theres already one with that type of item in it.  I've had to flat out forbid seeds in my general stockpile because they will steal the seeds out of the farmers stockpile with no barrles and put them in the general food stockpile in a barrle.
Logged

MasterShizzle

  • Bay Watcher
  • Constantly in a fey mood
    • View Profile
Re: stockpile selection
« Reply #5 on: January 31, 2013, 07:09:11 pm »

I think it might just be a proximity thing. Z-levels are treated as one "step" away from anything, no matter what their actual walking cost is. If the main food stockpile is directly above your farms, it could be that the dwarves think it's a "closer" pile, even though the actual walking distance is further than your intended plant stockpile. It's like if a mason needs to get a stone for a project, and he can choose either A, B, or C:
Code: [Select]
###############
     C
    #
    #
    #
    #      B
    #
   A# @<-- Mason
###############
The mason here will consider A to be the "closest" stone, even though it takes the most number of steps to get there. I think the same logic applies to stockpiles. One z-level is only one "step", regardless of the actual pathing, so a pile directly above your farms is considered 1 space away, regardless of your staircase setup.
Logged
Boss is throwing a tantrum!
MasterShizzle cancels Play Dwarf Fortress: interrupted by Boss

Minecraft's fine, your computer just sucks.