Revenant changes XVIII

Made the abilities easier to tweak and somewhat less copypasta. They're still for() loops though.
Check the changelog for additional details.
This commit is contained in:
Nerd Lord
2015-11-05 18:50:51 -05:00
parent 4b9e7e4f35
commit 0f23809346
8 changed files with 216 additions and 166 deletions
@@ -402,8 +402,8 @@
locked = 0
desc += " It appears to be broken."
update_icon()
for(var/mob/O in viewers(user, 3))
O.show_message("<span class='warning'>The locker has been broken by [user] with an electromagnetic card!</span>", 1, "You hear a faint electrical spark.", 2)
if(user)
visible_message("<span class='warning'>The [name] has been broken by [user] with an electromagnetic card!</span>", "<span class='italics'>You hear a faint electrical spark.</span>")
overlays += "sparking"
spawn(4) //overlays don't support flick so we have to cheat
update_icon()