mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Locking a storage item now locks you out of other storage items inside it. (#90243)
## About The Pull Request This PR introduces the `set_locked()` proc, which I'll also need for something else later. ## Why It's Good For The Game I could still interact with the storage of a box I placed into a secure safe after I locked the latter. ## Changelog 🆑 fix: Locking a storage item now locks you out of other storage items inside it. /🆑
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
max_specific_storage = WEIGHT_CLASS_GIGANTIC,
|
||||
max_total_storage = 20,
|
||||
)
|
||||
atom_storage.locked = STORAGE_FULLY_LOCKED
|
||||
atom_storage.set_locked(STORAGE_FULLY_LOCKED)
|
||||
|
||||
/obj/item/wallframe/secure_safe/after_attach(obj/attached_to)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user