mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Comprehensive cleanup of storage datum, replaces the weakrefs with just refs (because they were managed already) (#26357)
* Comprehensive cleanup of storage datum, replaces the weakrefs with just refs (because they were managed already) * fixes --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: jjpark-kb <mccorvey.norman@gmail.com>
This commit is contained in:
co-authored by
MrMelbert
jjpark-kb
parent
62e62fdff0
commit
138d1324b8
@@ -60,7 +60,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/secure_safe/caps_spare, 32)
|
||||
|
||||
/obj/structure/secure_safe/caps_spare/Initialize(mapload)
|
||||
. = ..()
|
||||
atom_storage.set_holdable(can_hold_list = list(/obj/item/card/id))
|
||||
atom_storage.set_holdable(/obj/item/card/id)
|
||||
AddComponent(/datum/component/lockable_storage, \
|
||||
lock_code = SSid_access.spare_id_safe_code, \
|
||||
can_hack_open = FALSE, \
|
||||
|
||||
@@ -11,11 +11,9 @@
|
||||
|
||||
/obj/structure/toiletbong/Initialize(mapload)
|
||||
. = ..()
|
||||
create_storage()
|
||||
create_storage(max_total_storage = 100, max_slots = 12, canhold = /obj/item/food)
|
||||
atom_storage.attack_hand_interact = FALSE
|
||||
atom_storage.set_holdable(list(/obj/item/food/))
|
||||
atom_storage.max_total_storage = 100
|
||||
atom_storage.max_slots = 12
|
||||
|
||||
weed_overlay = mutable_appearance('icons/obj/watercloset.dmi', "toiletbong_overlay")
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user