I have it so it gives me a vebr when I double click a certain object but, I don't think it's done so I can save it. I recall trying to fix it awhile ago but, it didn't work as expected so, I'm asking for help on how to save verbs that are given to you by double clicking an object.
What I have so far:
Object code--
obj/grandfireballicon
name = "Grand Fireball Technique: . Techpoint cost: 1"
icon = 'fire element.dmi'
DblClick()
if(usr.techpoints >= 1)
usr.techpoints -= 1
usr << "Grand Fireball Technique chosen"
new/mob/tech/verb/grand_fireball_technique(usr)
else
usr << "Out of tech points!"
I also have this in my save proc-
mob
var
saveverbs
proc
Saveproc()
src.saveverbs=src.verbs
var/savefile/F = new("players/[src.key]/[name].sav")
Thanks in advance for any help.