Reduces spam from new event system. (#7355)

This commit is contained in:
Neerti
2020-07-22 06:04:38 -04:00
committed by VirgoBot
parent ebcfd0cc35
commit 2aaca96081
2 changed files with 6 additions and 6 deletions
@@ -77,7 +77,7 @@
// This will actually protect it from further damage.
if(prob(25))
A.energy_fail(rand(60, 120))
log_debug("ELECTRICAL EVENT: Disabled \the [A]'s power for a temporary amount of time.")
// log_debug("ELECTRICAL EVENT: Disabled \the [A]'s power for a temporary amount of time.")
playsound(A, 'sound/machines/defib_success.ogg', 50, 1)
apcs_disabled++
return
@@ -85,7 +85,7 @@
// Decent chance to overload lighting circuit.
if(prob(30))
A.overload_lighting()
log_debug("ELECTRICAL EVENT: Overloaded \the [A]'s lighting.")
// log_debug("ELECTRICAL EVENT: Overloaded \the [A]'s lighting.")
playsound(A, 'sound/effects/lightningshock.ogg', 50, 1)
apcs_overloaded++
@@ -93,7 +93,7 @@
if(prob(5))
A.emagged = TRUE
A.update_icon()
log_debug("ELECTRICAL EVENT: Emagged \the [A].")
// log_debug("ELECTRICAL EVENT: Emagged \the [A].")
playsound(A, 'sound/machines/chime.ogg', 50, 1)
apcs_emagged++