mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
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:
@@ -14,7 +14,7 @@
|
||||
|
||||
var/fire_pressure // Used in fire checks/pressure checks.
|
||||
var/max_w_class = WEIGHT_CLASS_NORMAL // Hopper intake size.
|
||||
var/max_storage_space = 20 // Total internal storage size.
|
||||
var/max_storage_space = DEFAULT_LARGEBOX_STORAGE // Total internal storage size.
|
||||
var/obj/item/tank/tank = null // Tank of gas for use in firing the cannon.
|
||||
|
||||
var/obj/item/storage/item_storage
|
||||
|
||||
@@ -45,7 +45,8 @@ Firing pins as a rule can't be removed without replacing them, blame a really sh
|
||||
|
||||
/obj/item/firing_pin/update_icon()
|
||||
var/matrix/tf = matrix()
|
||||
if(istype(loc, /obj/item/storage))
|
||||
var/obj/item/storage/S = loc
|
||||
if(istype(S, /obj/item/storage) && !S.storage_slots)
|
||||
tf.Turn(-90) //Vertical for storing compactly
|
||||
tf.Translate(-1, 0) //Could do this with pixel_x but let's just update the appearance once.
|
||||
transform = tf
|
||||
|
||||
Reference in New Issue
Block a user