NPP Max items on floor?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Old Coach
    Apprentice
    • Feb 2009
    • 61

    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?
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #2
    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.

    Comment

    • nppangband
      NPPAngband Maintainer
      • Dec 2008
      • 926

      #3
      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

      Comment

      • Old Coach
        Apprentice
        • Feb 2009
        • 61

        #4
        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.

        Comment

        • Old Coach
          Apprentice
          • Feb 2009
          • 61

          #5
          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.

          Comment

          • nppangband
            NPPAngband Maintainer
            • Dec 2008
            • 926

            #6
            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

            Comment

            • nppangband
              NPPAngband Maintainer
              • Dec 2008
              • 926

              #7
              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

              Comment

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎