obj/var
Buildable = 0
mob/proc/Buildz(var/obj/O)
if(O.Buildable==1)
usr<<"you cant build here"
return
else
...
mob
Build
verb
Wall()
set name = "Wall"
set category = "Build"
Buildz()
new/obj/Wall(usr.loc)
Sidewalk()
set name = "Sidewalk"
set category = "Build"
Buildz()
new/obj/S_Walk(usr.loc)
obj
Wall
icon = 'turfs.dmi'
icon_state = "Wall"
density = 1
S_Walk
icon = 'turfs.dmi'
icon_state = "S-Walk"
Buildable=1
density = 0
Problem description:
how do i make it to where you cant build on the sidewalk