From 4cfd189efd0e2ce43fc284af2be0da7179527341 Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Sun, 16 Mar 2025 00:34:09 -0400 Subject: [PATCH] Allow the janitor belt to hold one trash bag (#3184) ## About The Pull Request Allow the janibelt to hold a maximum of one trash bag. ## Why It's Good For The Game ![image](https://github.com/user-attachments/assets/ecadd19f-4283-4bff-8e5a-0142241dc169) Mike wanted this and it seems like good QOL and if you don't support this you're basically saying you hate Mike so it's up to you. ## Proof Of Testing
Screenshots/Videos ![image](https://github.com/user-attachments/assets/4fbdf564-cfdf-439d-8f96-8dfefa119504)
## Changelog :cl: add: the janitor's belt can now hold a trash bag. just one /:cl: Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com> --- code/game/objects/items/storage/belt.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm index fec8d187089..93ade7689de 100644 --- a/code/game/objects/items/storage/belt.dm +++ b/code/game/objects/items/storage/belt.dm @@ -700,6 +700,14 @@ . = ..() atom_storage.max_slots = 6 atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL // Set to this so the light replacer can fit. + // BUBBER EDIT BEGIN - Trash bag on da belt + var/static/list/exception_cache = typecacheof(list( + /obj/item/storage/bag/trash, + )) + atom_storage.exception_hold = exception_cache + atom_storage.exception_max = 1 + atom_storage.allow_big_nesting = TRUE + // BUBBER EDIT END - Trash bag on da belt atom_storage.set_holdable(list( /obj/item/access_key, /obj/item/assembly/mousetrap,