mob
proc
Save() // Save character proc
var/FI=copytext(ckey,1,2)
var/savefile/F=new("Players/[FI]/[ckey][Slot].sav")
F["Gold"] << src.Gold
F["Name"] << src.Name
F["Icon"] << usr.icon
F["Slot"] << src.Slot
F["last_x"] << src.x
F["last_y"] << src.y
F["last_z"] << src.z
Load(S as num) // Load character
var/FI=copytext(ckey,1,2)
if(fexists("Players/[FI]/[ckey][S].sav"))
var/savefile/F=new("Players/[FI]/[ckey][S].sav")
var/last_x
var/last_y
var/last_z
F["Gold"] >> src.Gold
F["Name"] >> src.Name
F["Icon"] >> src.icon
F["Slot"] >> src.Slot
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
src.loc=locate(last_x, last_y, last_z)
Problem description:
My saving system seems to save and load everything except my users icon. Where am I messing up that is not allowing the icon to be loaded?