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:
Ghom
2025-04-07 07:49:39 +02:00
committed by GitHub
parent e048849169
commit a2e141c859
9 changed files with 33 additions and 37 deletions
+1 -1
View File
@@ -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)
. = ..()