mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +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:
@@ -9,6 +9,7 @@
|
||||
drop_sound = 'sound/items/drop/herb.ogg'
|
||||
pickup_sound = 'sound/items/pickup/herb.ogg'
|
||||
|
||||
storage_slot_sort_by_name = TRUE
|
||||
var/plantname
|
||||
var/datum/seed/seed
|
||||
var/potency = -1
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
slot_l_hand_str = 'icons/mob/items/lefthand_grown.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/righthand_grown.dmi',
|
||||
)
|
||||
storage_slot_sort_by_name = TRUE
|
||||
var/plantname
|
||||
var/potency = 1
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ GLOBAL_LIST_EMPTY(plant_seed_sprites)
|
||||
icon_state = "random"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
|
||||
storage_slot_sort_by_name = TRUE
|
||||
var/seed_type
|
||||
var/datum/seed/seed
|
||||
var/modified = 0
|
||||
|
||||
@@ -15,9 +15,10 @@
|
||||
|
||||
/obj/item/wirecutters/clippers/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.
|
||||
tf.Translate(-1, 0) //Could do this with pixel_x but let's just update the appearance once.
|
||||
transform = tf
|
||||
|
||||
/obj/item/device/analyzer/plant_analyzer
|
||||
|
||||
Reference in New Issue
Block a user