forked from KaBooMa/S1API
-
-
Notifications
You must be signed in to change notification settings - Fork 27
[FEATURE] Add managed trash-bag content wrappers #298
Copy link
Copy link
Open
Labels
LowVery minor issue, non gameplay hindering, fix all high prio firstVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
LowVery minor issue, non gameplay hindering, fix all high prio firstVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or requestNew feature or request
What would you like to see?
Add a managed wrapper and registry for existing native
TrashBaginstances.The initial API should expose:
TrashContentEntry-style managed values;Why would this help?
The trash-container API delivered in #240 exposes container contents and bagging, but the resulting world trash bag is still only accessible through native
ScheduleOne.Trash.TrashBagandTrashContent. Cleanup, hauling, recycler, employee-task, and UI mods need to inspect what a bag contains after it leaves a container.Extra Context (Optional)
Keep arbitrary content mutation, custom bag persistence, custom replication, and replacement bag prefabs out of the first version. Reuse existing S1API trash content value types where practical.
Validate bag creation from containers, contents snapshots, destruction, save reload, and host/client visibility separately on Mono and IL2CPP.