From e0928b60c450c9b29edd978f7e89901d106e0789 Mon Sep 17 00:00:00 2001 From: ErdGinalD Date: Wed, 1 Nov 2023 12:28:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=89=D0=B5=20=D0=B8=20=D1=81=D0=B0?= =?UTF-8?q?=D0=BC=20=D0=B5=D0=BC=D0=B0=D0=B3=20=D1=83=D0=B1=D0=B8=D1=80?= =?UTF-8?q?=D0=B0=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../code/items/awaymission_gun.dm | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm b/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm index fe7e643ee2cf..05c9bddac2a4 100644 --- a/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm +++ b/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm @@ -38,24 +38,6 @@ var/mob/M = loc M.unEquip(src) -/obj/item/gun/energy/laser/awaymission_aeg/emag_act(mob/user) - . = ..() - if(emagged) - return - if(user) - if(prob(50)) - user.visible_message(span_warning("От [name] летят искры!"), span_notice("Вы взломали [name], что привело к перезаписи протоколов безопасности. Устройство может быть использовано вне ограничений")) - playsound(loc, 'sound/effects/sparks4.ogg', 30, 1) - do_sparks(5, 1, src) - emagged = TRUE - selfcharge = TRUE - else - user.visible_message(span_warning("От [name] летят искры... Он сейчас взорвётся!"), span_notice("Ой... Что-то пошло не так!")) - do_sparks(5, 1, src) - update_mob() - explosion(loc, -1, 0, 2) - qdel(src) - // GUNS /obj/item/gun/energy/laser/awaymission_aeg/rnd