proc/saveturf()
var/savefile/save
save = new("turfs.sav")
var{lastx; lasty; lastz}
var/build_turf
for(var/turf/House/T in world)
save["type"] << build_turf
save["x"] << lastx
save["y"] << lasty
save["z"] << lastz
save["variables"] << T
proc/saveturf()
var/savefile/load
load = new("turfs.sav")
var{lastx; lasty; lastz}
var/build_turf
for(var/turf/House/T)
load["type"] >> build_turf
load["x"] >> lastx
load["y"] >> lasty
load["z"] >> lastz
load["variables"] >> T
mob/verb/Build()
new/turf/House/floor(usr.loc)
saveturf()
I got the load under my host login. I'm not understanding why it won't load and save. Any help?
RaeKwon
proc/saveturf()
var/savefile/load
load = new("turfs.sav")
var{lastx; lasty; lastz}
var/build_turf
for(var/turf/House/T)
load["type"] >> build_turf
load["x"] >> lastx
load["y"] >> lasty
load["z"] >> lastz
load["variables"] >> T
is this it.. if it is i think you need to change the proc/saveturf() to proc/loadturf()
but like i sayed im no coder