Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Improved Stone Selection Logic  (Read 549 times)

Schmaven

  • Bay Watcher
  • Abiding
    • View Profile
Improved Stone Selection Logic
« on: September 26, 2020, 05:19:29 pm »

I've noticed in my forts that dwarves tend to choose the nearest boulder for a crafting / masonry / mechanic job based on proximity to themselves at the time they take on the job.  When hauling stone boulders, the weaker dwarves will sometimes happen to choose a boulder 100+ tiles away from the workshop when there are available boulders within 3 tiles from the shop.  This results in some serious delays in production.  Perhaps it would be better if the dwarves selected the closest boulder to the workshop instead? 

If boulder carrying speed could be determined by dwarven strength, then a more complicated method of choosing the boulder that would result in the shortest time to get to the workshop, boulder in hand, could be chosen. 
Logged

Starver

  • Bay Watcher
    • View Profile
Re: Improved Stone Selection Logic
« Reply #1 on: September 26, 2020, 05:31:54 pm »

Just had DejaVu about this subject, with a very recent discussion...

Aha! Have a look here. I'm sure there's things not already said, or that you just want to go over again, but FYI.


Hang on. You were there. NVM.
« Last Edit: September 26, 2020, 05:33:48 pm by Starver »
Logged

Ziusudra

  • Bay Watcher
    • View Profile
Re: Improved Stone Selection Logic
« Reply #2 on: September 26, 2020, 05:37:52 pm »

Have a stockpile next to the workshop that gives to that workshop and have that stockpile use wheelbarrows. Then the WS workers can only take stone from that SP and whoever hauls the stone to the SP will use a wheelbarrow which means the weight of the stone won't slow them down. This also allows you to easily limit which stone types that WS can use. And with dfhack you can have the SP use up to one wheelbarrow per SP tile.
Logged
Ironblood didn't use an axe because he needed it. He used it to be kind. And right now he wasn't being kind.

Schmaven

  • Bay Watcher
  • Abiding
    • View Profile
Re: Improved Stone Selection Logic
« Reply #3 on: September 26, 2020, 08:05:55 pm »

That's usually how I work around it.  But when carving out large areas, sometimes I just pop a mason's workshop down in the middle of all the fresh boulders and queue up some doors or whatever without bothering to set up stockpiles and wheelbarrows.  It's those non-micro-managed instances where this becomes an issue mostly.
Logged