right now they can only build on certain parts of the map i was wondering if there was a way to make it so they could only build 9 spaces away from the obj/flag
obj/pp
icon = 'obj.dmi'
icon_state = "pp"
density = 1
verb/Build()
if(usr.x >=55)
usr<<"You cannot build so close to the ore"
return
else
if(usr.z ==2)
switch(input("Put Power Plant here?") in list ("Yes","No"))
if("Yes")
new/obj/cym(usr.loc)
usr<<"Here is your New Power Plant"
del(src)
if("No")
usr<<"Maybe you will find a better spot!"
else
usr<<"You cannot build in the city"