space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.57k stars 3.18k forks source link

StartingGear placed in duplicate slots drops on the ground #29899

Open Plykiya opened 2 months ago

Plykiya commented 2 months ago

Description

For example, a character with the short-sighted trait but is also a lawyer will attempt to start with both glasses and a briefcase in their left hand.

Ideally, duplicate items of this nature are attempted to be put into the character's bag, and if it doesn't fit in the bag, dropped on the ground.

Apparently this behavior does not apply to pocket slots as they can be properly overriden.

Reproduction

Screenshots

Additional context

Errant-4 commented 2 months ago

I fear this will bring back the "things disappear from the backpack on spawn" issue that was eating emergency tanks, when survival boxes were moved into loadouts. It was never fully diagnosed why that happened instead of them dropping on the ground. The issue never happened locally, even in Release configuration

IProduceWidgets commented 1 month ago

I think a better solution would be to integrate loadouts into the trait, so that if you select it you automagically get a pair of glasses selected in your loadout.