In my game you either get a certain level and you get spells or if you learn them from a scroll and when you get the spell it adds the verb but the verb doesnt get saved if you logout then back in, even if you save. Is there a way to make my save proc save the chars verbs, heres my coding for save and load:
mob
proc
SaveChar(mob/M as mob)
var/savefile/F = new("players/[src.key]/[src.key].sav")
F["name"] << name
F["X"] << src.x
F["Y"] << src.y
F["Z"] << src.z
F["Mob"] << src.client.mob
Load(mob/M as mob)
var/savefile/F = new("players/[src.key]/[src.key].sav")
var/X
var/Y
var/Z
var/mob/newmob = new()
F["name"] >> name
F["X"] >> X
F["Y"] >> Y
F["Z"] >> Z
F["Mob"] >> newmob
newmob.loc = locate(X,Y,Z)
del(src)
</<></<></<></<></< >
ID:175376
![]() Apr 29 2003, 11:21 am
|
|
F["verbs"] << src.verbs
F["verbs"] >> src.verbs