Borg Bag Fixes and Refactors (#20578)

Fixes #19603
Fixes #20558

- bugfix: "Fixes plant bags - now uses storage_slot system, along with
other bag subtypes."
  - bugfix: "Borgs can interact with tables again."
  - refactor: "Refactors make_exact_fit to be a binary variable."
- refactor: "Refactors storage items to use make_exact_fit instead of
arbitrary max_storage_space values."
- refactor: "Refactors storage items to use defines for storage space."
  - bugfix: "Fixes monkey cube boxes having superfluous overlay."
  - rscadd: "Updates the progress bar toggle message."
- qol: "Objects that rotated 90 degrees in storage no longer rotate in
storage slots."
 
<img width="732" alt="dreamseeker_qRVkIlYN78"
src="https://github.com/user-attachments/assets/1226ed22-52c1-4965-a1b4-2290e56a2ab3"
/>
This commit is contained in:
Wowzewow (Wezzy)
2025-03-12 09:12:27 +00:00
committed by GitHub
parent 696eae5d7b
commit f046ebe584
39 changed files with 183 additions and 137 deletions
@@ -151,7 +151,7 @@
storage_type = "packaging"
starts_with = list(/obj/item/reagent_containers/food/snacks/vkrexitaffy = 6)
can_hold = list(/obj/item/reagent_containers/food/snacks/vkrexitaffy)
max_storage_space = 6
make_exact_fit = TRUE
use_sound = 'sound/items/storage/wrapper.ogg'
drop_sound = 'sound/items/drop/wrapper.ogg'
@@ -383,7 +383,7 @@
storage_type = "packaging"
starts_with = list(/obj/item/reagent_containers/food/snacks/cookiesnack = 6)
can_hold = list(/obj/item/reagent_containers/food/snacks/cookiesnack)
max_storage_space = 6
make_exact_fit = TRUE
use_sound = 'sound/items/storage/wrapper.ogg'
drop_sound = 'sound/items/drop/wrapper.ogg'
@@ -417,7 +417,7 @@
w_class = WEIGHT_CLASS_TINY
starts_with = list(/obj/item/clothing/mask/chewable/candy/gum = 5)
can_hold = list(/obj/item/clothing/mask/chewable/candy/gum, /obj/item/trash/spitgum)
max_storage_space = 5
make_exact_fit = TRUE
use_sound = 'sound/items/storage/wrapper.ogg'
drop_sound = 'sound/items/drop/wrapper.ogg'
@@ -456,7 +456,7 @@
w_class = WEIGHT_CLASS_TINY
starts_with = list(/obj/item/reagent_containers/food/snacks/mint/admints = 6)
can_hold = list(/obj/item/reagent_containers/food/snacks/mint/admints)
max_storage_space = 6
make_exact_fit = TRUE
use_sound = 'sound/items/storage/wrapper.ogg'
drop_sound = 'sound/items/drop/wrapper.ogg'
@@ -809,7 +809,7 @@
storage_type = "packaging"
starts_with = list(/obj/item/reagent_containers/food/snacks/foy = 6)
can_hold = list(/obj/item/reagent_containers/food/snacks/foy)
max_storage_space = 6
make_exact_fit = TRUE
use_sound = 'sound/items/storage/wrapper.ogg'
drop_sound = 'sound/items/drop/wrapper.ogg'