From c7e2123b5995b0afa6f791225e752b2afaf70028 Mon Sep 17 00:00:00 2001 From: Kar4es Date: Fri, 17 Nov 2023 22:34:02 +0700 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2=D0=B0?= =?UTF-8?q?=D0=BA=D0=B0=D0=BD=D1=82=D0=BD=D1=8B=D0=B9.=20=D0=AD=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D0=B3=20-=20=D1=82=D1=8B=20=D0=BD=D0=B0?= =?UTF-8?q?=D1=88=D0=B5=20=D0=B1=D1=83=D0=B4=D1=83=D1=89=D0=B5=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/objects/code/key.dm | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/modular_ss220/objects/code/key.dm b/modular_ss220/objects/code/key.dm index e38f204590df..bb54d10f7201 100644 --- a/modular_ss220/objects/code/key.dm +++ b/modular_ss220/objects/code/key.dm @@ -90,36 +90,6 @@ icon_state = "com" additional_access = list(ACCESS_HEADS) -/obj/item/door_remote/key/vacant - name = "\proper ключ от свободного офиса" - desc = "Выкидной ключ темно-синего цвета." - icon_state = "closed" - /// key ready to use? - var/ready = FALSE - additional_access = list (ACCESS_VACANT_STORE) - -/obj/item/door_remote/key/vacant/attack_self(mob/user) - if(cooldown > world.time) - return - if(!ready) - to_chat(user, span_warning ("Ты вытаскиваешь ключ!")) - flick("opens", src) - icon_state = "open" - ready = TRUE - cooldown = world.time + 2 SECONDS - else - to_chat(user, span_warning ("Ты складываешь ключ!")) - flick("closes", src) - icon_state = "closed" - ready = FALSE - cooldown = world.time + 2 SECONDS - -/obj/item/door_remote/key/vacant/afterattack(obj/machinery/door/airlock/attacked_airlock, mob/user) - if(!ready) - to_chat(user, span_danger ("Сперва нужно вытащить ключ!")) - return - . = ..() - /obj/item/storage/box/keys name = "коробка с ключами" desc = "Коробка с ключами к отделам. Имеют неполный доступ к шлюзам."