turf
grass
icon = 'grass.dmi'
DblClick()
set src in oview(1)
if(usr.shovel_equipped)
view() << "[usr] digs a path."
new/turf/path(src.loc)
else
usr << "You need a shovel equipped!"
Problem description:
When I compile it it's fine, but it gives me a runtime-error about a bad loc whenever I try it out. The code seems fine to me. What should I do?
I would also suggest making the path an obj instead of a turf.