Skip to content

bags change #237

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

Closed
wants to merge 1 commit into from
Closed

Conversation

DragonWrangler1
Copy link

this pr will allow players to stack bags when in the main inventory, so they take up less room.

@SmallJoker
Copy link
Member

I can see your motivation but bags are a such powerful item that they should not be made easier to obtain and store than they already are. They deliberately were registered as tools because that function automatically sets the stack size to 1.

@fluxionary
Copy link

i'm personally in favor of stackable bags, but it's not sufficient to just change them to craftitems and be done with it. you also need to ensure that the bag slots only ever end up with single bags inside them - it would be confusing to have 99 bags in a slot and only be able to "use" one of them for storage.

@SmallJoker
Copy link
Member

it would be confusing to have 99 bags in a slot and only be able to "use" one of them for storage.

Player inventory callbacks can limit the maximal stack size per move action. There is no issue in that regard.

@DragonWrangler1
Copy link
Author

fluxionary: I already tested and each of the 4 bag slots only allow for one bag in them.

@SmallJoker
Copy link
Member

Thank you for your contribution. However, the bags are not supposed to be stackable to not make them easier to obtain than they already are. The registration as tool was intentional.

@SmallJoker SmallJoker closed this Dec 24, 2023
@fluxionary
Copy link

would this proposal have a chance if it was a non-default setting?

@SmallJoker
Copy link
Member

Perhaps. I can imagine this being a 5-liner PR (in Lua) if done correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants