mob
var/invetory[0]
Write(savefile/F)
saved_x = x
saved_y = y
saved_z = z
F["Inventory"] << src.inventory
..()
Read(savefile/F)
F["Inventory"] >> src.inventory
..()
Move(locate(saved_x,saved_y,saved_z))
Logout()
world << "[src.name] has logged out."
var/savefile/F = new("Save/[src.ckey].sav")
Write(F)
del src
mob
proc
//SAVING/LOADINg
Save()
var/savefile/F = new("Save/[src.ckey].sav")
Write(F)
return
Load()
var/savefile/F = new("Save/[src.ckey].sav")
Read(F)
return
I believe that the problem is that the list I'm trying to save is composed of objects.
I've been trying to make this work for so long.... any help would be greatly appreciated.
im not sure, maybe im totally off