I have been trying a lot of things in my saving code to save verbs but it doesn't works: Here's a sample of my saving code:
save = new ("Player Saves/[usr.key]/Save File 1.sav")
save["mob"] << usr
save["verbs"] << usr.verbs
save["x"] << usr.x
save["y"] << usr.y
save["z"] << usr.z
load = new ("Player Saves/[usr.key]/Save File 1.sav")
load["mob"] >> usr
usr.verbs += verbs
load["x"] >> usr.x
load["y"] >> usr.y
load["z"] >> usr.z
I just tried to do many other things as well. But it still won't work. Sometimes a runtime error, sometime no load etc. Can someone please tell me how to REALLY load and save verbs?
P.S Please do not point me to a library. I really want to do it myself.