Karl Giesing closed issue #3: Mod: Open containers are still containers at Karl Giesing / 7D2D A21 Modlets

Karl Giesing
2024-06-23T04:22:18Z

In A21, many containers become "open" when fully looted. This is more than a visual cue, it also makes those "containers" become blocks with no inventory that cannot be interacted with.

There are several solutions:

Prevent fully looted containers from downgrading to their "open" counterparts - basically the behavior in A20. This will mean there will no longer be a visual cue for whether a container is empty or not. However it should be easy with just XML modifications.

When the player loots one of these containers, only swap to the "open" model (not the block); and when the player puts anything in its inventory, have it switch back to the "closed" model. This will retain the visual cue, but it will almost certainly require C# code.

Make the "open" counterparts be repairable to the "closed" containers. This is what another modder has done - but don't use his code! He hasn't given the rights to it.

Because traders now sell appliances, and furniture, this mod might not be the highest priority. But it will need to be determined how the appliances/furniture from traders behave.