I have this error called : Save undefined proc
but i have my proc defined here it is:
proc
Save()
var/savefile/F = new("players/[src.ckey].sav")//define savefile
F["name"] << name//input the users name into the savefile
F["X"] << src.x//okay so heres where the x/y/zs come in this just saves the users current locatin..pretty simple ;)
F["Y"] << src.y
F["Z"] << src.z
There it is its from simple saving by Kros then i want this to happen:
obj/Priest
icon='NPCs.dmi'
icon_state="Priest"
name = "Priest"
density=1
verb
Talk()
set src in oview(2)
alert ("Priest: Hello ")
switch(input("How may I help you?")in list("Revive","Heal","Save","Donation","","Cancel"))//This asks the user in a input box if he/she wants to buy somthing
if("Revive")
usr<<" *Priest says some words and [usr] is healed* Priest : Now that will be 10 G
..()
if("Heal") usr<<" * Priest says some words you do not understand* Priest: You have now been healed, go child of god.
..()
if("Save")
usr<<" *Priest blesses you with words in a different language*"
Save()
usr<<sound('levelup.wav')
usr<<" You have been Saved!"
..()
if("Donation")
usr<<" Priest : Ah! You wish to Donate dimes to the creator!"
..()
if("Cancel")
..()//This Calls Normal Action//
</<></<></<></<></< sound>
