Secure safe, secure briefcase, and vaults improvements (#93085)

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
Tim
2025-10-20 15:19:58 +02:00
committed by GitHub
co-authored by SmArtKar
parent f2529991f2
commit 0ee962c4b4
7 changed files with 253 additions and 21 deletions
+8 -1
View File
@@ -85,10 +85,17 @@
icon_state = "secure"
base_icon_state = "secure"
inhand_icon_state = "sec-case"
var/stored_lock_code
/obj/item/storage/briefcase/secure/Initialize(mapload)
. = ..()
AddComponent(/datum/component/lockable_storage)
AddComponent(/datum/component/lockable_storage, stored_lock_code)
RegisterSignal(src, COMSIG_LOCKABLE_STORAGE_SET_CODE, PROC_REF(update_lock_code))
/obj/item/storage/briefcase/secure/proc/update_lock_code(obj/item/storage/briefcase/secure/briefacase, new_code)
SIGNAL_HANDLER
stored_lock_code = new_code
/// Base container used for gimmick disks.
/obj/item/storage/briefcase/secure/digital_storage