268 saves take 20.9mb which is bit inconvenient when sharing with other hosts.
piece of my save code:
client
proc
Load()
if(src.mob.save_file_1)
var/savefile/load
load = new ("Player Saves/[mob.ckey]/Save File 1.sav")
load["mob"] >> src.mob
load["x"] >> src.mob.x
load["y"] >> src.mob.y
load["z"] >> src.mob.z
if(src.mob.save_file_2)
var/savefile/load
load = new ("Player Saves/[mob.ckey]/Save File 2.sav")
load["mob"] >> src.mob
load["x"] >> src.mob.x
load["y"] >> src.mob.y
load["z"] >> src.mob.z
if(src.mob.save_file_3)
var/savefile/load
load = new ("Player Saves/[mob.ckey]/Save File 3.sav")
load["mob"] >> src.mob
load["x"] >> src.mob.x
load["y"] >> src.mob.y
load["z"] >> src.mob.z
Save()
if(!src)return
if(!src.mob)return
if(src.mob.save_file_1)
var/savefile/save
save = new ("Player Saves/[mob.ckey]/Save File 1.sav")
save["mob"] << src.mob
save["x"] << src.mob.x
save["y"] << src.mob.y
save["z"] << src.mob.z
if(src.mob.save_file_2)
var/savefile/save
save = new ("Player Saves/[mob.ckey]/Save File 2.sav")
save["mob"] << src.mob
save["x"] << src.mob.x
save["y"] << src.mob.y
save["z"] << src.mob.z
if(src.mob.save_file_3)
var/savefile/save
save = new ("Player Saves/[mob.ckey]/Save File 3.sav")
save["mob"] << src.mob
save["x"] << src.mob.x
save["y"] << src.mob.y
save["z"] << src.mob.z