-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About the actual limit of 4096 items per tile #35398
Comments
Changing items like rags to use stack size (like nails do) could be not a trivial task. You can compile game with increased limits in the meanwhile: Cataclysm-DDA/src/game_constants.h Lines 25 to 28 in 1bb08dd
|
It's not my intention to minimize the effort to apply this change. I just think that, if there's not a strong reason to have them as multiple objects, the game could greatly benefit with the change. Kevin gave a solid answer regarding the limit, I'm going to adapt for the moment, without changing it. |
You're actually mixing several issues in one, and that's not very good. |
Actually I have mixed nothing. Once I encountered the bug I searched for the reason behind it and discovered the thread I've linked on the top. Without the limit I wouldn't have made the suggestion to turn rags into a single stackable object. My suggestion could solve the matter and at the same time benefit the game. I've mentioned the bug as an alternative following the template. If the suggestion will be considered invalid, I'll close this thread and open another one about the bug. |
I once tried changing something to ammo type and it worked, it changed from separate items to stack on current save. I'm also encountering this limit. It's not hard when you are a hoarder :D |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
The sorting loop might have this bug, the remainder is unrelated. |
Cannot reproduce the activity looping part anymore. Because it has the check for free space on the target tile in the activity. |
ref. #20483
Is your feature request related to a problem? Please describe.
Lately I've been having an issue regarding the auto-sorting mechanic. I've amassed several hundreds rags, kevlar patches, leather patches and so on and I finally hit the 4096 items per tile limit. The dresser I've selected as storage for spare parts sits around 1500/2000 volume, but the sorting function simply goes on a loop because it can't put any more objects inside the pile. I have to manually stop the process and start removing stuff from the dresser and move it somewhere else.
Describe the solution you'd like
I know, I shouldn't be such a hoarder and I'm actively trying to stop picking stuff up. I've noticed however that items like nails, gold, silver and such are written in the code like a single object. Is there a specific reason you've chosen to not do the same with rags and such? I mean, do we really need to keep track of, for instance, the damage a piece of rag has received?
Describe alternatives you've considered
If you disagree with my suggestion, I believe it would be useful to take a look at the actual sorting function. The loop bug should be addressed, when the limit has been reached, the sorting should stop or at least skip that item and go to the next one. Also, It would be helpful to change the function to use other tiles, if available for sorting, for splitting stacks once the limit on a single tile has been reached. At the moment it just loops forever.
The text was updated successfully, but these errors were encountered: