[NO GBP] Fixes sswardrobe not deleting modsuit parts after failing to stash them (#93901)

## About The Pull Request

Should fix https://github.com/tgstation/tgstation/issues/93897

This implements a restock blacklist for SSwardrobe. If an item type is
in the blacklist, then SSwardrobe will never try to restock that item,
instead just deleting them.

## Why It's Good For The Game

Fixes ever-expanding pile of modsuits in nullspace, and lets modsuits
actually be wardrobed properly

## Changelog

🆑
fix: fixes an where modsuits would accumulate in nullspace over the
course of a round
/🆑
This commit is contained in:
Bloop
2025-11-18 22:52:07 -05:00
committed by GitHub
parent 6a82647fee
commit 8b66328e4d
4 changed files with 15 additions and 9 deletions
-1
View File
@@ -126,7 +126,6 @@
part.set_armor(armor_type)
part.resistance_flags = resistance_flags
part.flags_1 |= atom_flags //flags like initialization or admin spawning are here, so we cant set, have to add
part.item_flags |= DO_NOT_WARDROBE
part.heat_protection = NONE
part.cold_protection = NONE
part.max_heat_protection_temperature = max_heat_protection_temperature