big_tree //http://www.woodweb.com/cgi-bin/calculators/calc.pl
icon = 'Tree.dmi'
icon_state = "base"
density = 1
layer = OBJ_LAYER
New(_x,_y,_z)
weight = rand(500,1200)
src.overlays += new/obj/item/organic/big_tree_top
src.loc = locate(_x,_y,_z)
big_tree_top
icon = 'tree_top.dmi'
icon_state = "base_right"
density = 0
pixel_y = 32
pixel_x = -64
layer = MOB_LAYER+1
New()
src.pixel_y = 32
src.pixel_x = -64
Problem description:
When I move around on the map the overlays seem to flicker... I'm not sure if i'm using the correct layer? how do I keep the overlays on the objs from popping in and out so that it's a static view?
Thanks!