//SAVING AND LOADING:
mob/proc
Save()
var/savefile/S = new("Savefiles/Players/[ckey].sav")
S["Friends"] << src.Friends
Load()
if(fexists("Savefiles/Players/[ckey].sav"))
var/savefile/S = new("Savefiles/Players/[ckey].sav")
S["Friends"] >> src.Friends
src << "Savefile found, and loaded."
Problem description:
Well, every time I save regular variables it saves perfectly. Along with loading perfectly. But.. When I try an save my
mob/var/list/Friends = list()
list. I get no runtime error, I just can't save or load the Friends list. I don't know exactly what is happening. I tried #define DEBUG
and got no feedback on the problem.The
mob/var/list/Friends = list()
code is filled like so: src.Friends.Add(player)
If you need further information please ask.
Have you changed them to verbs and tested them like that?