Skip to content

Core/Player: Equipping bags logic is not correct #31917

Description

@imstuckbro

Description

You should be able to replace a bag you have with another that have same or greater size as long as the new bag is not placed in any of the old one slot, even if old bag have items in it.

Proof: https://youtu.be/OMRPLqCbWzA?list=PLV2pwP80QXZKO7CPg_abdW7GFYxtBbsyn&t=5399
https://www.youtube.com/watch?v=v0BPUXwqpeg&t=4015s

Expected behaviour

You should be able to replace a bag you have with another that have same or greater size as long as the new bag is not placed in any of the old one slot, even if old bag have items in it.

Steps to reproduce the problem

.additem 4496 then equip it
put a item let's say your hearthstone inside this bag
.additem 4240 (make sure you have this bag in default inventory bag not in the previous (4496) bag
try to replace 4240 with old 4496 bag, notice you can't

Branch

3.3.5

TC rev. hash/commit

91e9194

Operating system

Windows 11

Custom changes

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions