Trees won't show up in Developer Help
|
|
obj/wooden_hatchet icon='wooden hatchet.dmi' icon_state="wooden hatchet" verb Use() set src in usr for(var/turf/Tree/t in oview(1)) if(t) if(t.icon_state=="chopped") usr<<"Oh my! This tree is already chopped down!" return if(t.icon_state=="unchopped") t.icon_state="chopped" usr.contents+=new/obj/raw/log usr<<"You chopped down the tree for wood!" return usr<<"Oh no! There are no nearby trees!"
|
I made the tree icon and put the stump in the same icon file with the state name of both icons, but now everytime I go to the map, it doesn't show the trees, Why?
|