[FR] Items in Fridges, Bookshelves & Toy boxes Disappear on R-Residential
Hello!
I don't know what are the rules against that, but I wanted to open this topic as this issue was never solved, and is not currently listed on the new list of compiled issues. I also have additional information to bring about the root cause of that issue.
As this bug can have a lot of impact for people playing with rentals and losing stuff they bought/obtained through gameplay, I think that it should be solved. It also clutters lot with un-necessary objects that can't be accessed or deleted, bloating save-files (and we all know that's not good now).
To make it short: some items have the ability to contain stuff in their own inventory, with different ways of functioning:
- Fridges, Bookshelves and Toy boxes can contain items, and their inventory is shared across the lot for all items of the same type.
- Keepsake boxes can contain items, and their inventory is specific to the item, not shared with others.
In the case you have items in shared inventories (Fridges, Bookshelves and Toy boxes) in a residential rental unit, and you access the build mode for the whole rental (from the Manage Worlds screen), it deletes all the items that were contained in those inventories. Items tied to specific items (like in keepsake boxes) are not affected.
But that's where I discovered some new stuff: the item is technically not deleted. In the way the plex system works (it's the system that allow having multiple units in one lot, used by residential rentals), it's that it creates multiple zones, one for each unit. But all the objects on the lot are stored on the Zone Object Data from the first unit.
In order to know what inventory object belongs to which unit, it uses a inventory_plex_id attribute associated to each of those objects (it's not the case for regular objects, I think the fact they are positioned within a room belonging to the unit is enough, and stored items are just stored at very weird coordinates).
When editing a residential rental in build mode without selecting a unit, the items stored are not deleted, their inventory_plex_id attribute is just set to 0 like any regular object.
Because of that, when loading the unit, it's not possible to know that the items belongs to this unit as it doesn't have an id anymore.
Edit By Crinrict:
Archived thread had around 78 me toos