ID:262201
 
I want to make the world blind after using a certain skill, but when i try world.sight=1, it gives me this error:

Skills.dm:452:error:world.sight:undefined var

Megaman Universe.dmb - 21 error, 0 warnings (double-click on an error to jump to it)

WHat should I do
world.sight isn't a variable. mob.sight, however, is. You would use a for() list:

proc/Eye_For_An_Eye()//"An eye for an eye makes the whole world blind." -- Gandhi
for(var/mob/Player/P as mob in world)
P.sight=1