In response to SoulGamesProductions
Best response
proc
MapSave()
if(mapenabled)
var/amount=0
fdel("MapSave")
var/savefile/F=new("MapSave")
var/list/L=new/list
for(var/turf/build/A)
L.Add(A)
amount+=1
F<<L
world<<"Map Saved ([amount])"
MapLoad()
if(fexists("MapSave"))
var/savefile/F=new("MapSave")
var/list/L=new/list
F>>L





I dont know how to indent on here lol.
In response to KuroChi
Code goes inside <dm> ... </dm> tags. But we've alreay gone over in depth why saving and loading turfs directly is not a good idea.
In response to KuroChi
oh it showed me how I can do,but lists are pretty bad because they cant save the location of title,so when I load the map all turfs goes to just one place
@edit : I tried so hard but it seem I cant use loc = locate with turfs only with mobs and obj, there dont has a way to move turfs?
In response to Lummox JR
Ah I see, sorry, I didn't read it in detail, just thought i'd post what works for me.
I never have problems with this one.
In response to KuroChi
Ohhhhh I just saw your coode edited,now it works!
Thanks everyone, I learned from all helps.
Page: 1 2