Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bolt stacking!  (Read 1262 times)

Nite/m4re

  • Bay Watcher
  • Too Deep
    • View Profile
Bolt stacking!
« on: January 16, 2008, 12:18:00 pm »

My fortress is cluttered with single bolt piles! It's annoying as marksdwarves will just fill their quivers with a single bolt! There should be an labor setting for item stacking.
Logged

Nanor

  • Bay Watcher
    • View Profile
    • http://games.thehavennet.org.uk
Re: Bolt stacking!
« Reply #1 on: January 16, 2008, 01:46:00 pm »

Definitely! This annoys me to no end! Also, you should have to mark what type of bolts you want quivered.
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Bolt stacking!
« Reply #2 on: January 16, 2008, 02:22:00 pm »

How can it be cluttered with single bolt piles if all fired and thrown objects are auto-marked as forbidden?

Anyways.

Do what I do and sell all the 1-bolts to the traders. However cheap, there is just no better use for them at the moment.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Tamren

  • Bay Watcher
  • Two dreams away
    • View Profile
Re: Bolt stacking!
« Reply #3 on: January 16, 2008, 02:34:00 pm »

There is a sort-of way around this. The way I do it is to use the pit trap to maintain bolts. Then gather those up and take em to a different archery range. This one is another pit trap but unlike the first the pit is filled with magma.

Its set up in such a way that the dwarves are locked inside with food and water and they stand on top of the bolt stockpiles. So even though they are firing them one at a time, its not *too* slow. And it lets me get a second shot out of each single bolt.

Oh and BTW I only do this on maps where wood is VERY scarce.

Logged
Fear not the insane man. For who are you to say he does not percieve the true reality?

Forumsdwarf

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #4 on: January 16, 2008, 02:35:00 pm »

Seconded.  There are numerous "hooks" where stacking could take place.

Collecting bolts into a quiver is one such place where stacking could easily be added.  Putting food into a stockpile or barrel is another.

Logged
"Let them eat XXtroutXX!" -Troas

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Bolt stacking!
« Reply #5 on: January 16, 2008, 02:40:00 pm »

That gives me a VERY nice idea...  about that quiver markup, and a simple way to implement it right about now...  I'll go post in my thread.  :D
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Capntastic

  • Bay Watcher
  • Greetings, mortals!
    • View Profile
    • A review and literature weblog I never update
Re: Bolt stacking!
« Reply #6 on: January 17, 2008, 10:19:00 am »

The way DF handles items makes stacking complex.   It'll happen eventually, of course.  Imagine how DF handles coins; each made of different metals, by different civs, and even places within the civ, in different years.  It makes abstracting a pile pretty tricky.
Logged

Whiskey Bob

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #7 on: January 17, 2008, 11:01:00 am »

I believe improved stacking (recombining/dividing/etc) is already in the works.  It should solve a lot of the current problems with stacks - and possibly cause some new ones  ;)
Logged

Sofaspud

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #8 on: January 18, 2008, 01:22:00 pm »

Capntastic: I'm not so sure it's as tricky as you think.  I don't know what model Toady is using (obviously), but if it's anything like, say, a relational database, then each individual coin only needs to retain an ID number that 'points' at the description.  To stack them, you create a new object that consists of X number of coins with the same ID, and destroy the coin objects.  A quick bit of walk-the-tree will clean up references to those original individual coin objects, if any exist.

But that all depends on how Toady manages objects in-game.  I mean, *I'd* handle it like the above, but that's not the only way it can be done.

(To sum up: stacking is trivially easy as long as the objects are abstracted properly.  When they are not is when you run into complications.)

Logged
Can't... stop... laughing...:<BR>"... but at least in DF if Elves chained themselves to trees it would just mean an extra ax stroke or two." --Forumsdwarf<BR>"Would the owner of the red GCS silk socks, please pick them the f*** up, you left your FPS void on." --MadJax

Align

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #9 on: January 18, 2008, 02:51:00 pm »

The whole point was that they are often unique but very similar.
Now, if you could make stacks of the main category regardless of details, like stacks of "roasts" or "coins", then the whole problem would be solved.
Logged
My stray dogs often chase fire imps back into the magma pipe and then continue fighting while burning and drowning in the lava. Truly their loyalty knows no bounds, but perhaps it should.

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Bolt stacking!
« Reply #10 on: January 18, 2008, 02:55:00 pm »

You wouldn't necessarily need stacking to fix the bolt issue. Just make it so that quivers accept X number of bolts instead of 1 stack, and then dwarves will gather up a whole bunch of stacks if they are separated into singles. This would also help with the problem of making bone bolts out of the smaller animals, since even if you make a bunch of 5 bolt stacks the dwarves will gather them and use the same amount.
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Bolt stacking!
« Reply #11 on: January 19, 2008, 04:17:00 pm »

.
« Last Edit: October 23, 2015, 10:30:16 pm by penguinofhonor »
Logged

Keldor

  • Bay Watcher
  • Blood for the blood god!
    • View Profile
Re: Bolt stacking!
« Reply #12 on: January 19, 2008, 10:03:00 pm »

What about mixed stacks?  Then a stack would just be a list of items, with various constraints on when dwarves can add to it (max stack size).  The dwarves could then treat the entire stack more or less like a container.
Logged
If ignorance is bliss, why are my dwarves all tantruming?

Bricktop

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #13 on: January 19, 2008, 10:56:00 pm »

quote:
What about mixed stacks? Then a stack would just be a list of items, with various constraints on when dwarves can add to it (max stack size). The dwarves could then treat the entire stack more or less like a container.


I think this would be a great idea! If the dwarves just created a 'stack' item whenever they needed to combine the coins. It could hold them in the same way that a barrel holds stuff (so you'd have a coin stack in the same way you have a meat barrel) and whenever a stack is empty it destroys itself.

Logged

numerobis

  • Bay Watcher
    • View Profile
Re: Bolt stacking!
« Reply #14 on: January 19, 2008, 11:08:00 pm »

quote:
Originally posted by Nite/m4re:
<STRONG>My fortress is cluttered with single bolt piles! It's annoying as marksdwarves will just fill their quivers with a single bolt! There should be an labor setting for item stacking.</STRONG>

Another lame work-around for now is to train your forge operator by melting all the single metal bolts (select the bolt; 'f' to claim it back, 'm' to mark it for melting, then set a forge to melting).  Occasionally it seems you even get a metal bar out of it, but I don't know when or why.

Logged