client/proc/Save()
var/savefile/F = new("SAVE.sav")
F["x"] << src.mob.x
F["y"] << src.mob.y
F["z"] << src.mob.z
F["src"] << src.mob
client/proc/Load()
var/savefile/F = new("SAVE.sav")
var/last_x
var/last_y
var/last_z
F["x"] >> last_x
F["y"] >> last_y
F["z"] >> last_z
F["src"] >> src.mob
Move(locate(last_x,last_y,last_z))
And now, look at this(it's a test for the saving system):
mob/NPC
icon = 'npc.dmi'
Click()//call the click() proc
usr.verbs += new/mob/proc/Test
mob/proc/Test()
src <<"Test!"
Now, when I log out, the verb is gone. How would I fix this?
Kappa the Imp