diff --git a/code/game/gamemodes/shadowling/special_shadowling_abilities.dm b/code/game/gamemodes/shadowling/special_shadowling_abilities.dm index 2c06168499e..2fac272afd5 100644 --- a/code/game/gamemodes/shadowling/special_shadowling_abilities.dm +++ b/code/game/gamemodes/shadowling/special_shadowling_abilities.dm @@ -143,7 +143,7 @@ var/list/possibleShadowlingNames = list("U'ruan", "Y`shej", "Nex", "Hel-uae", "N sleep(90) H.visible_message("[H]'s body begins to violently stretch and contort.", \ - "You begin to rend apart the final barries to godhood.") + "You begin to rend apart the final barriers to godhood.") sleep(40) to_chat(H, "Yes!") diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index fb160920fbe..56da9cf9b07 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -1368,8 +1368,7 @@ spawn(0) for(var/obj/machinery/light/L in area) if(prob(chance)) - L.on = 1 - L.broken() + L.broken(0, 1) stoplag() /obj/machinery/power/apc/proc/setsubsystem(val) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index 18a760f5f1d..7c702313ae4 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -514,14 +514,14 @@ status = LIGHT_EMPTY update() -/obj/machinery/light/proc/broken(skip_sound_and_sparks = 0) +/obj/machinery/light/proc/broken(skip_sound_and_sparks = 0, overloaded = 0) if(status == LIGHT_EMPTY || status == LIGHT_BROKEN) return if(!skip_sound_and_sparks) if(status == LIGHT_OK || status == LIGHT_BURNED) playsound(src.loc, 'sound/effects/Glasshit.ogg', 75, 1) - if(on) + if(on || overloaded) var/datum/effect/system/spark_spread/s = new /datum/effect/system/spark_spread s.set_up(3, 1, src) s.start()