mob
proc
SaveMob()
var/savefile/S = new("Saves/[src.ckey]")
S["Inventory"] << src.contents
Write(S)
Load()
if(fexists("savefile/[usr.ckey].sav"))//if an existing save file exists in the folder located in the game folder
var/savefile/S = new("savefile/[src.ckey]") // it creates a new save file
src.Read(S) //it reads it
S["Inventory"] >> src.contents
else //if no save file was found
usr << "No Save File" //outputs message to the user
return//returns
Problem description:
DONT SAVE OR LOAD FOR SOME REASON