Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PORT] Having a robot chest/legs no longer makes you drop all items u…
…pon losing your jumpsuit (#2489) * Having a robot chest/legs no longer makes you drop all items upon losing your jumpsuit (#80673) ## About The Pull Request See name, losing your jumpsuit with a robot chest/legs no longer spills your stuff over the floor ## Why It's Good For The Game Having a robot chest allows you to use the belt and ID inventory slots, with legs adding pockets respectively, even when you don't have a jumpsuit. Losing it probably shouldn't drop all your stuff when the slots for it are still valid. ## Changelog No idea if this is a qol, fix, add, or balance change. Feel free to edit this to whichever one it's supposed to be :cl: fix: Having an inorganic chest/legs no longer makes you drop your ID, belt or pocketed stuff upon losing your jumpsuit /:cl: * Futureproofs the nodrop check added in #80673 (#80722) ## About The Pull Request See #80673 I took a nap and got an idea how to make it better, so here we are Less snowflake code, very robust, very good Technically runs way more checks so it is slower but eh I believe it's worth it in this case Fully tested, it works as it should ## Changelog :cl: code: The check that prevents your stuff from dropping when you have robotic parts is now more robust /:cl: --------- Co-authored-by: Waterpig <[email protected]>
- Loading branch information