The Crate Animatening, A.K.A. I hate Crate Trigonometry (#13339)

This commit is contained in:
Wowzewow (Wezzy)
2022-04-30 13:04:15 +08:00
committed by GitHub
parent 74db3d4d24
commit a65ef5cd26
91 changed files with 1250 additions and 2023 deletions

View File

@@ -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--

View File

@@ -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()