ID:140538
 
Code:
area
layerup1
var/turf/T
for(T in oview(0)
T.layer = 3


Problem description:

I may be going about this the wrong way, but I need to use an area to get a turf's layer higher. Is there any possible way for me to do this? Or will I have to take the icon and seperate it from the larger image to make it's layer higher?
You cannot place procedural code outside of a function. You would have to create a means for the area to do this.
area/layerup1
proc/setTurfLayersTo3()
for(var/turf/T in contents)
T.layer = 3

Then you would have to execute it somewhere. Possibly in world/New() or in the area's own New() (not sure if the turfs that will be in it are created by the time the area's New() is called)