ID:172358
 
How do I use autosave with the world? Using
 var/tmp/savefile/F = new("world.sav")
F >> world
to load it in doesn't work because "error:world:cannot change constant value"
mob/verb/saveworld()
var/savefile/f=new("world.sav")
for(var/mob/M in world)
f["world"] << M

mob/verb/loadworld()
var/savefile/f=new("world.sav")
for(var/mob/M in world)
f["world"] >> M
In response to SSJ4_Gohan_Majin
I didn't mean mobs. I meant EVERYTHING (except mobs, actually)
In response to Sgeo
Sgeo wrote:
I didn't mean mobs. I meant EVERYTHING (except mobs, actually)

It would take ages and probably crash, i'd suggest Swapmaps to do something like this.