dr. satellite I'm EMAG (#35662)

This commit is contained in:
81Denton
2018-02-16 07:38:49 +01:00
committed by CitadelStationBot
parent 757df53aa3
commit 42979ee771
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -167,4 +167,4 @@
return
playsound(src, "sparks", 75, 1)
obj_flags |= EMAGGED
to_chat(user, "<span class='notice'>You you disable the security protocols.</span>")
to_chat(user, "<span class='notice'>You disable the security protocols.</span>")
+2 -1
View File
@@ -170,9 +170,10 @@
if(active && (obj_flags & EMAGGED))
change_meteor_chance(0.5)
/obj/machinery/satellite/meteor_shield/emag_act()
/obj/machinery/satellite/meteor_shield/emag_act(mob/user)
if(obj_flags & EMAGGED)
return
obj_flags |= EMAGGED
to_chat(user, "<span class='notice'>You scramble the satellite's controller, increasing the chance of meteor strikes.</span>")
if(active)
change_meteor_chance(2)