Pick Up Your Trash
Trash handling tied to character traits: tidy characters dispose of it, slovenly ones drop it, and everyone else collects it.
- Filed under
- Mods
- Built with
- Ostranauts, JSON
- Year
- 2026
- Links
- SourceSteam Workshop
Using a hygiene pack or medical injector in Ostranauts leaves trash on the floor. Picking it up just to dispose of it felt tedious, so I tied the behavior to the tidy and slovenly traits already in the game.
What changes
- Tidy characters dispose of their trash automatically.
- Slovenly characters keep the original behavior of dropping it on the floor.
- Characters with neither trait collect it, using the game’s normal inventory stacking and overflow behavior.
A data mod
This uses native JSON records and does not need BepInEx. The mod changes which result action runs after an item is used. The original healing, cleaning, and consumption effects stay in place.
The three result actions check the character’s traits, then remove, leave, or collect the trash. Custom consumables with their own completion records need an explicit override to use the same behavior.
The source notes walk through the records and their conditions. I published the source so other people can change it or use it as a reference for their own mods.