Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old March 2, 2012, 17:11   #1
Old Coach
Apprentice
 
Join Date: Feb 2009
Posts: 61
Old Coach is on a distinguished road
NPP Max items on floor?

I was clearing a young dragon level quest. There was loot all over the dungeon. I had many stacks of 23 items of loot piled here and there from the hoards of greedy wurms. When I went to another room and started slaying ever more of the wealthy beasts, the original piles of loot disappeared. Is there some limit to the amount of loot that can exists on any given level?
Old Coach is offline   Reply With Quote
Old March 2, 2012, 17:26   #2
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,446
Derakon is on a distinguished road
There is, yes. I seem to recall that the game will try to compact similar objects together into stacks though, rather than delete old items (or fail to drop new ones). So if you go back and examine the piles of dragon loot you should find stacks of items that you would ordinarily only find singly, like multiple scrolls of Word of Recall. After all, internally a stack is just a single object with a count greater than 1.
Derakon is offline   Reply With Quote
Old March 2, 2012, 18:22   #3
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Each level has a limite of items it can hold on the floor. IIRC it is 1024.

If it has to compact items, in addotion to what Derakon pointed out above, it will start with deleting objects that are set to squelch. Also, objects are automatically squelched when you walk over them.

They also could have been destroyed by dragon's breaths as well.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old March 2, 2012, 18:50   #4
Old Coach
Apprentice
 
Join Date: Feb 2009
Posts: 61
Old Coach is on a distinguished road
Hmmm. Well, I don't think I was up to 1024 items, and I am positive that no dragon breaths destroyed any. I don't remember seeing anything stacked into groups (like scrolls). I have taken a new young dragon level quest, so I'll look carefully to see what is going on this time.
Old Coach is offline   Reply With Quote
Old March 3, 2012, 14:13   #5
Old Coach
Apprentice
 
Join Date: Feb 2009
Posts: 61
Old Coach is on a distinguished road
I checked it out. As I killed more dragons and more treasure was dropped, the treasure on the other parts of the floor disappeared. This means that I definitely do NOT want to leave a bunch of my inventory on the floor when I enter a dungeon so that I can lose the extra weight and the speed penalty, as the items will vanish. I am certain that I never reached the 1024 item max, but I have no idea how many items were on the floor. Probably on the order of 250.
Old Coach is offline   Reply With Quote
Old March 3, 2012, 19:07   #6
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Do you by chance have a savefile in the middle of a dragon level? It would help if I could play through and see for myself.

Also, do you have a window open with the objects list? It should give you a list of every known object on the floor. You would know if stuff started dissappearing right away.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old March 3, 2012, 19:35   #7
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Objects are definitely being compacted. I checked, and the limit is only 512. Probably a holdover from 15 years ago when computers had much less memory and every byte was carefully counted. But this figure is totally inadequate for NPP themed levels and pits and nests.

I will raise this to 1024 or so.

If you want to do this in your game, go to a file in the *nppangband directory called *npp/lib/edit called "limits.txt". In that file, close to the bottom, there is this line:

# Maximum number of objects on the level
M:O:512

Change that to 1024 or greater and you should be fine.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband 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
npp floor interaction bug Old Coach Development 4 March 1, 2012 00:59
Green floor tiles Raggy Vanilla 12 June 20, 2011 15:02
trappers vs floor ChodTheWacko Vanilla 8 December 20, 2010 17:14
Feature request: known floor items at-a-glance vorondil Vanilla 2 January 2, 2009 19:43
[TOME] Is there a way to keep the white dots on the floor? Wraitheist Variants 3 April 28, 2008 17:23


All times are GMT +1. The time now is 01:26.


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