From c576402ea9e216f9b8f16b2766b2a9383bad2d01 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Mon, 23 Mar 2015 01:06:19 -0400 Subject: [PATCH] Fixes There Not Being a Best Emag Use --- code/modules/clothing/masks/gasmask.dm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index d3030eec675..f3b925c581b 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -149,6 +149,7 @@ icon_state = "sechailer" var/cooldown = 0 var/aggressiveness = 2 + var/safety = 1 ignore_maskadjust = 0 species_fit = list() action_button_name = "HALT!" @@ -203,6 +204,13 @@ /obj/item/clothing/mask/gas/sechailer/attack_self() halt() +/obj/item/clothing/mask/gas/sechailer/emag_act(mob/user as mob) + if(safety) + safety = 0 + user << "You silently fry [src]'s vocal circuit with the cryptographic sequencer." + else + return + /obj/item/clothing/mask/gas/sechailer/verb/halt() set category = "Object" set name = "HALT" @@ -216,6 +224,12 @@ if(cooldown < world.time - 35) // A cooldown, to stop people being jerks + if(!safety) + phrase_text = "FUCK YOUR CUNT YOU SHIT EATING COCKSUCKER MAN EAT A DONG FUCKING ASS RAMMING SHIT FUCK EAT PENISES IN YOUR FUCK FACE AND SHIT OUT ABORTIONS OF FUCK AND DO SHIT IN YOUR ASS YOU COCK FUCK SHIT MONKEY FUCK ASS WANKER FROM THE DEPTHS OF SHIT." + usr.visible_message("[usr]'s Compli-o-Nator: [phrase_text]") + playsound(src.loc, 'sound/voice/binsult.ogg', 100, 0, 4) + cooldown = world.time + return switch(aggressiveness) // checks if the user has unlocked the restricted phrases if(1) phrase = rand(1,5) // set the upper limit as the phrase above the first 'bad cop' phrase, the mask will only play 'nice' phrases