ID:139238
 
Code:
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

Because you're doing it wrong. You should forum search how to save and you'll discover the countless threads with the same answers to the same question/statement you have.