Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old September 27, 2011, 19:39   #1
fruviad
Apprentice
 
Join Date: Jan 2011
Posts: 53
fruviad is on a distinguished road
Setting a maximum stack value?

Putting this forward as a possible enhancement request.

It would be nice have the ability to set a maximum number of items you wish to carry for a given type of item that you possess. This maximum would be independently configured for each item type.

For example, consider a rogue with some "Magic for Beginners" spellbooks and non-magical arrows.

The non-magical arrow maximum could be set to 60. If the character has 45 arrows, has "auto-pickup" enabled, and finds 40 non-magical arrows, then 15 of the newly discovered arrows would be added to the inventory, maxing out at 60 arrows in the inventory, with 25 still on the floor.

The "Magic for Beginners" books slot, on the other hand, would be set to a smaller maximum...4, perhaps. The character who has 2 spellbooks would automatically add a newly-discovered spellbook to their inventory, whereas the character with 4 of these spellbooks would ignore additional spellbooks they might encounter.

This would be a nice option, as it would prevent one from inadvertently collecting 15-20 pounds of spellbooks (or other items) during a dungeon crawl. (Those extra spellbooks don't seem like much when you see them on the floor, but they add up to a lot of weight.)
fruviad is offline   Reply With Quote
Old September 27, 2011, 21:04   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Nice idea - added it to ticket #586, where I discovered that UnAngband already has this functionality ...
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 27, 2011, 21:19   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,401
Donated: $60
Nick will become famous soon enough
I had just come up with this idea too - it must be in the air.

Gets rid of the old "99 mushrooms takes up the same space as 99 suits of plate mail" problem.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old September 27, 2011, 21:53   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Nick View Post
I had just come up with this idea too - it must be in the air.

Gets rid of the old "99 mushrooms takes up the same space as 99 suits of plate mail" problem.
Well, the OP is talking about player-defined maxima, which is present in Un. I think you're talking about splitting MAX_STACK_SIZE by tval, or similar, which is just evil ;-)
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 27, 2011, 22:39   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,401
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Magnate View Post
Well, the OP is talking about player-defined maxima, which is present in Un. I think you're talking about splitting MAX_STACK_SIZE by tval, or similar, which is just evil ;-)
Oh yeah, I see. But evil? I see it as the answer to supply of consumables - there's infinite stock of them, but you can only carry a limited number.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old September 28, 2011, 00:20   #6
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,020
fizzix is on a distinguished road
I agree with Nick here. Although when it comes down to it, you're really only punishing warriors.
fizzix is offline   Reply With Quote
Old September 28, 2011, 01:00   #7
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,024
Derakon is on a distinguished road
Depends. What if the max stack size on books was 1?
Derakon is offline   Reply With Quote
Old September 28, 2011, 08:22   #8
BreathesFire
Rookie
 
Join Date: Aug 2011
Posts: 9
BreathesFire is on a distinguished road
I've got space for 99 CCW but a CSW ain't one.


I would be very entertained if parallel stacking was removed and inventory items were restricted by physical volume rather than uniqueness. This way you can limit supplies, but allow more diverse consumables. Maybe warriors could hold larger packs too!
BreathesFire is offline   Reply With Quote
Old September 28, 2011, 10:47   #9
Shockbolt
Knight
 
Shockbolt's Avatar
 
Join Date: Jan 2011
Location: Norway
Posts: 632
Shockbolt is on a distinguished road
Send a message via MSN to Shockbolt
A graphical inventory tile system would fix that

Quote:
Originally Posted by BreathesFire View Post
I've got space for 99 CCW but a CSW ain't one.


I would be very entertained if parallel stacking was removed and inventory items were restricted by physical volume rather than uniqueness. This way you can limit supplies, but allow more diverse consumables. Maybe warriors could hold larger packs too!
__________________
http://www.rpgartkits.com/
Fantasy art kits for personal and commercial use. Commercial use requires a Developer license, also available through my website.
Shockbolt is offline   Reply With Quote
Old September 28, 2011, 14:36   #10
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,020
fizzix is on a distinguished road
Quote:
Originally Posted by BreathesFire View Post
I've got space for 99 CCW but a CSW ain't one.


I would be very entertained if parallel stacking was removed and inventory items were restricted by physical volume rather than uniqueness. This way you can limit supplies, but allow more diverse consumables. Maybe warriors could hold larger packs too!
I've thought about this too. I even came up with the idea that wearing certain armor should allow you to carry extra weapons (by strapping them on the back). However, I think the player would spend way too much time arranging inventory only to have everything fall to the floor when they test-wield a robe.
fizzix is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
difficulty setting: no stores fizzix Vanilla 7 September 28, 2011 14:28
Graphic setting CTD SerPounce Vanilla 0 April 25, 2011 23:50
Setting traps barna10 Variants 1 August 16, 2010 11:16
Stack items when dropping Derakon Vanilla 10 July 22, 2010 19:56
Setting... Fendell Orcbane AAR 9 May 22, 2010 06:17


All times are GMT +1. The time now is 08:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.