mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
The Crate Animatening, A.K.A. I hate Crate Trigonometry (#13339)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
/obj/structure/closet/crate/secure/loot
|
||||
name = "abandoned crate"
|
||||
desc = "What could be inside?"
|
||||
icon_state = "securecrate"
|
||||
icon_opened = "securecrateopen"
|
||||
icon_closed = "securecrate"
|
||||
var/list/code = list()
|
||||
var/list/lastattempt = list()
|
||||
var/attempts = 15
|
||||
@@ -162,7 +159,8 @@
|
||||
else if(check_input(input))
|
||||
to_chat(user, SPAN_NOTICE("The crate unlocks!"))
|
||||
playsound(user, 'sound/machines/lockreset.ogg', 50, 1)
|
||||
set_locked(FALSE)
|
||||
locked = FALSE
|
||||
update_icon()
|
||||
else
|
||||
visible_message(SPAN_WARNING("A red light on \the [src]'s control panel flashes briefly."))
|
||||
attempts--
|
||||
|
||||
@@ -2,12 +2,7 @@
|
||||
|
||||
/obj/structure/closet/secure_closet/miner
|
||||
name = "shaft miner locker"
|
||||
icon_state = "miningsec1"
|
||||
icon_closed = "miningsec"
|
||||
icon_locked = "miningsec1"
|
||||
icon_opened = "miningsecopen"
|
||||
icon_broken = "miningsecbroken"
|
||||
icon_off = "miningsecoff"
|
||||
icon_state = "mining"
|
||||
req_access = list(access_mining)
|
||||
|
||||
/obj/structure/closet/secure_closet/miner/fill()
|
||||
|
||||
Reference in New Issue
Block a user