I currently have-
Move()
for(var/turf/T in get_step(src,src.dir))
var/turf/Water3/D=new(src.loc)
D.oldturf=T
..()
to look for the turfs
and-
New()
spawn(30)
new oldturf(src.loc)
to recreate the old turf to replace the water. The current variable I'm using to store the turf is-
var/oldturf=null
None of this seems to be working.. any ideas?
new oldturf(src.loc)
You want
new oldturf(src)
In the context of a turf, 'src.loc' means the /area it's inhabiting, so you're actually creating the turf in the bottom-left-most place of the area.