/var/mob/M
area
var/pulse=100
lighting
icon='Lightning.dmi'
layer=150
New()
:start
sleep(pulse)
flick("Strike",src)
for(M in world)
M<<LIGHTNING
pulse=rand(50,600)
goto start
Problem description:
It seems the area won't flick the icon_state. I'm not sure if areas are unable to flick or not, but if someone could point out the problem it would be lovely~
Note: LIGHTNING is a defined sound, which is working, for the record.
EDIT: Ok, no more late-night coding for me..