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 17:12:27 +08:00
committed by GitHub
parent 696eae5d7b
commit f046ebe584
39 changed files with 183 additions and 137 deletions
@@ -231,6 +231,7 @@
/obj/item/screwdriver,
/obj/item/device/multitool
)
make_exact_fit = TRUE
/obj/item/storage/bag/circuits/basic/fill()
new /obj/item/storage/bag/circuits/mini/arithmetic(src)
@@ -251,7 +252,6 @@
new /obj/item/device/multitool(src)
new /obj/item/screwdriver(src)
new /obj/item/crowbar(src)
make_exact_fit()
/obj/item/storage/bag/circuits/all/fill()
..()
@@ -276,7 +276,6 @@
new /obj/item/device/integrated_electronics/wirer(src)
new /obj/item/device/integrated_electronics/debugger(src)
new /obj/item/crowbar(src)
make_exact_fit()
/obj/item/storage/bag/circuits/mini
name = "circuit box"
@@ -298,8 +297,6 @@
for (var/i in 1 to 4)
new IC.type(src)
make_exact_fit()
/obj/item/storage/bag/circuits/mini/arithmetic
name = "arithmetic circuit box"
desc = "Warning: Contains math."