Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Stacks of stuff  (Read 990 times)

andy_t_roo

  • Bay Watcher
    • View Profile
Stacks of stuff
« on: December 09, 2011, 04:13:46 am »

From the latest Today One Post:
"The next thing is to allow picking up and also trading portions of a stack, since most food stacks in town are larger than you'd want to buy."

Would it be possible to consider automatic stacking of items in fortress mode also?

« Last Edit: December 09, 2011, 04:15:38 am by andy_t_roo »
Logged
Eagles may soar, but weasels don't get sucked into jet engines.
Hell if I know.  Pretty humourous suggestion, but utterly useless in the case of roleplaying, if indeed the whole game world was one whole huge ass field of fruit.

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: Stacks of stuff
« Reply #1 on: December 09, 2011, 06:20:09 am »

From the latest Today One Post:
"The next thing is to allow picking up and also trading portions of a stack, since most food stacks in town are larger than you'd want to buy."

Would it be possible to consider automatic stacking of items in fortress mode also?

Not really.

Items track lots of stuff - for example contaminants, crafter, decorations... theese have to be handles somehow when combining two stacks.

andy_t_roo

  • Bay Watcher
    • View Profile
Re: Stacks of stuff
« Reply #2 on: December 09, 2011, 06:51:23 am »

I was thinking in terms of things which already stack eg: food - even under the stringent condition of same item, same quality, same creator, the 2 half stacks of roast from your 1 cook could be merged, as could plants, which don't have an innate quality.
Logged
Eagles may soar, but weasels don't get sucked into jet engines.
Hell if I know.  Pretty humourous suggestion, but utterly useless in the case of roleplaying, if indeed the whole game world was one whole huge ass field of fruit.

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Stacks of stuff
« Reply #3 on: December 09, 2011, 07:56:52 am »

Zwei also meant items already stacking. Contaminants and owner are two further conditions that need to be handled with restacking - the game shouldn't attempt to restack coin stacks owned by different people, should handle what happens when poison-tipped bolts are stacked together with differently-conaminated bolts and clean bolts... The bottom line really is that breaking up stacks and recombining them are quite different processes for the game. In the first, it just needs to create a new item (stack), in the second, it needs to sort out a mess of possible conflicts, with the potential to drop some possibly-relevant information from either or all of the stacks.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: Stacks of stuff
« Reply #4 on: December 09, 2011, 09:15:42 am »

Zwei also meant items already stacking. Contaminants and owner are two further conditions that need to be handled with restacking - the game shouldn't attempt to restack coin stacks owned by different people, should handle what happens when poison-tipped bolts are stacked together with differently-conaminated bolts and clean bolts... The bottom line really is that breaking up stacks and recombining them are quite different processes for the game. In the first, it just needs to create a new item (stack), in the second, it needs to sort out a mess of possible conflicts, with the potential to drop some possibly-relevant information from either or all of the stacks.

Yes, this is exactly what I meant.

I am not sure about even simple things - plants and food itemas have rot-counter for example. Does it get reset? What do we do if someone vomited or bled over plump helmet plant [2]?

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Stacks of stuff
« Reply #5 on: December 09, 2011, 09:22:26 am »

"Restacking," as it's commonly called here, is an extremely popular suggestion. 

Here are some other threads from people that called it "stack combining."

This thread, like yours, talks about stacks and restacking in the context of food barrels.

This is also a dev item, which is easy to find if you search dev_single for "stack":

Quote
# Req112, ITEM AGGREGATES, (Future): Need fake item stacks that combine items that aren't identical. There are a number of associated difficulties. Identical items should also be combined into actual stacks. These currently exist but are never reformed once they are broken part.

And finally, it falls under the umbrella of "Improved Hauling," the #1 item on Eternal Suggestion Voting.
Logged