Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: new task - organize stockpile  (Read 1012 times)

PaulMurrayCbr

  • Bay Watcher
    • View Profile
new task - organize stockpile
« on: May 02, 2013, 09:30:19 pm »

If dwarves are idle, a bottom-of-the pile task could be to organize stockpile, to move similar goods next to one another. There's a fair bit of scope for developing an existing algorithm, here - one that tends to create regions of items without generating needless churn.
Rearrange stockpile would have an option in the options page controlling whether or not dwarves would rearrange between stockpiles or only within a stockpile; to arrange by material, type, quality; to have a maximum radius in which they'd look for suitable pairs of items (including a void - no item at all) to swap.
Logged

Criperum

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #1 on: May 03, 2013, 01:04:13 am »

I think it'll be even better if arrangement touches bins (store similar items in bins), barrels, bags (arrange booze, seeds etc)
Logged

weenog

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #2 on: May 03, 2013, 01:40:52 am »

Sorting my plant barrels by specific plant type would be nice.  It's always annoying getting dye plants I never use mixed in with the brewing supplies.
Logged
Listen up: making a thing a ‼thing‼ doesn't make it more awesome or extreme.  It simply indicates the thing is on fire.  Get it right or look like a silly poser.

It's useful to keep a ‼torch‼ handy.

Iceblaster

  • Bay Watcher
  • Now with 50% less in-jokes!
    • View Profile
Re: new task - organize stockpile
« Reply #3 on: May 03, 2013, 11:56:44 am »

I support this idea... as long as you can decide if you wanted them to, as I have no problems with the current set up

sweitx

  • Bay Watcher
  • Sun Berry McSunshine
    • View Profile
Re: new task - organize stockpile
« Reply #4 on: May 03, 2013, 12:53:26 pm »

I'm not sure I follow, don't we already have ability to organize stockpile by setting it to only store specific types of items?
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.

Starver

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #5 on: May 03, 2013, 01:32:11 pm »

I think it'll be even better if arrangement touches bins (store similar items in bins), barrels, bags (arrange booze, seeds etc)
Tangential to the original suggestion, can we have "Earring Bins" and "Ring Bins", by name, as and when they stop being a "(Mixed) Goods Bin".  Already tradeable seed-bags come with such a descriptor, all it takes is "lowest possible level of description"[1], which could even lead to "Masterwork Ring Bin" as a descriptor.  (Also, with the seed bags, I could imagine a "Rope-Reed seed bag barrel".)

Anyway, yes you can do (hence why I want the above) the following...

I'm not sure I follow, don't we already have ability to organize stockpile by setting it to only store specific types of items?

...although pre-sorting within an initial mixed superset-stockpile could indeed be useful, ready for when you split things up.  (The quickest way I already know of at the moment is set everything in a mixed stockpile to be Dumped, then ensuring there's subset-stockpiles set up ready for when you de-forbid them again.  There's probably a better way, especially now we have "take/give" settings on stockpiles, but I've used that feature less than I ought to have[2].)


[1] Or possibly "Amulets and Crowns bin" where there's (say) no more than two (or three, but certainly <=50%) of the possible sub-categories of the highest "coverall" level of description.  But somewhere along the line "Armour bin" > "Footwear bin" > "High Boots bin", as options, as applies to the contents...

[2] Mostly for shuffling construction materials closer and closer to where I'm building things from them.
Logged

Gargomaxthalus

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #6 on: May 24, 2013, 05:46:02 am »

I think it'll be even better if arrangement touches bins (store similar items in bins), barrels, bags (arrange booze, seeds etc)
Tangential to the original suggestion, can we have "Earring Bins" and "Ring Bins", by name, as and when they stop being a "(Mixed) Goods Bin".  Already tradeable seed-bags come with such a descriptor, all it takes is "lowest possible level of description"[1], which could even lead to "Masterwork Ring Bin" as a descriptor.  (Also, with the seed bags, I could imagine a "Rope-Reed seed bag barrel".)

Anyway, yes you can do (hence why I want the above) the following...

I'm not sure I follow, don't we already have ability to organize stockpile by setting it to only store specific types of items?

...although pre-sorting within an initial mixed superset-stockpile could indeed be useful, ready for when you split things up.  (The quickest way I already know of at the moment is set everything in a mixed stockpile to be Dumped, then ensuring there's subset-stockpiles set up ready for when you de-forbid them again.  There's probably a better way, especially now we have "take/give" settings on stockpiles, but I've used that feature less than I ought to have[2].)


[1] Or possibly "Amulets and Crowns bin" where there's (say) no more than two (or three, but certainly <=50%) of the possible sub-categories of the highest "coverall" level of description.  But somewhere along the line "Armour bin" > "Footwear bin" > "High Boots bin", as options, as applies to the contents...

[2] Mostly for shuffling construction materials closer and closer to where I'm building things from them.

[2] is resolved with give take (you can set up convenient chains of stockpiles all the way from the Circus to the highest sky tile if you feel a need) and, as far as the main idea goes, it's definitely something that has a high chance of happening it's merely a matter of when The Great Armok The Toad gets around to it. Of course we are talking about a modification to Fortress Mode, as opposed to a new feature, and a new build  is steadily taking shape so it could be relatively soon as long as it's made clear to the powers that be, that there is a large demand for this.
Logged
Well lets see... at least half of what I say is complete bullshit. Hell the other half tends to be pretty sketchy...

OOOOHHHH,JUST SHUT UP AND LISTEN TO WHAT I HAVE TO SAY AND MAYBE I'LL GO AWAY!!!!!!!!!!

javascript:void(0)
javascript:void(0)

Blue_Dwarf

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #7 on: May 26, 2013, 09:34:32 pm »

Sorting my plant barrels by specific plant type would be nice.  It's always annoying getting dye plants I never use mixed in with the brewing supplies.

There is an option in o->m, "mix food/no mix" that does just that.
Logged
Crafting Statistics 42.06Farming Statistics

Blue Dwarf has been happy lately. He did some !!science!! recently. He admired a fine forum post lately. He was enraged by a forum troll recently. He was upset by the delayed release of the new version of Dwarf Fortress lately. He took joy in planning a noble's death recently.

Silverionmox

  • Bay Watcher
    • View Profile
Re: new task - organize stockpile
« Reply #8 on: May 28, 2013, 04:01:37 pm »

I'm not sure I follow, don't we already have ability to organize stockpile by setting it to only store specific types of items?
That only applies to *new* stuff. The old stuff won't be taken out of the wrong stockpile - it will only be taken into the right stockpile.

In addition, you may have several partially empty barrels. It would make sense to consolidate all the dregs in one barrel, so you free up the rest for more urgent uses.
Logged
Dwarf Fortress cured my savescumming.