Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Shoot Up Small Stacks First  (Read 551 times)

Forumsdwarf

  • Bay Watcher
    • View Profile
Shoot Up Small Stacks First
« on: February 07, 2008, 04:02:00 am »

Apologies if this is already the case, but Marksdwarves in training should use up the smallest stacks of practice ammo first.
In a siege they should go for the largest.
Logged
"Let them eat XXtroutXX!" -Troas

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Shoot Up Small Stacks First
« Reply #1 on: February 07, 2008, 03:44:00 pm »

And how should they decide, in a siege, between a stack of ten bolts sitting right next to them and a stack of fifty sitting a hundred tiles away?

I'm sure something satisfactory will happen around the same time as restacking goes in...  :)

Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Forumsdwarf

  • Bay Watcher
    • View Profile
Re: Shoot Up Small Stacks First
« Reply #2 on: February 07, 2008, 10:16:00 pm »

Restacking would definitely be a far more optimal solution to the problem than anything I've suggested.
Logged
"Let them eat XXtroutXX!" -Troas

numerobis

  • Bay Watcher
    • View Profile
Re: Shoot Up Small Stacks First
« Reply #3 on: February 07, 2008, 11:50:00 pm »

Really we only just need that quivers are allowed to take multiple kinds of bolts, as many other containers already allow.
Logged

Cosmonot

  • Bay Watcher
    • View Profile
Re: Shoot Up Small Stacks First
« Reply #4 on: February 08, 2008, 03:47:00 pm »

What's holding back restacking, anyway? It doesn't seem like it should be that complicated to implement.
Logged
Kobolds carry copper crossbows.

Puzzlemaker

  • Bay Watcher
    • View Profile
Re: Shoot Up Small Stacks First
« Reply #5 on: February 08, 2008, 03:55:00 pm »

quote:
Originally posted by Cosmonot:
<STRONG>What's holding back restacking, anyway? It doesn't seem like it should be that complicated to implement.</STRONG>

Often in coding, things that should be simple are not.

There are different qualities, how do you handle that?

What about different bolt materials?

To combine two stacks, you need to destroy one, and add it to the other.  How can you handle destroying something without causing problems, like dwarves trying to use a stack that isn't there?

Logged
The mark of the immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one.