ID:150079
 
ok, I have a very big problem with procs that requires more than a yes or no answer.

Before I tell you anything else I get no errors in this code.

How come I am able to put in the "Special" Proc "verbs += Specailthing" when it works and "verbs += /mob/proc/exSpecial" when my code for the Teach is to give them a new move. I get the moves for the "Specail stuff" but I don't get the move for "BringDownPower".

I would realy appreciate it if someone helped me out.

mob
proc
Specialthing()
usr << "You are very special"
exSpecial()
usr << "You are not very special now"
Special()
if(usr.power <= 100)
verbs += Specialthing
verbs += /mob/proc/exSpecial
else
usr << "You cant get special"
BringDownPower()
usr.Power -= 10
mob
Teach
icon = ect.dmi
verb
set src in oview(1)
var/learn = input("What would you like to learn?") in list ("Bring Down Power")
switch(learn)
if("Bring Down Power")
usr << "You learned something new"
verbs += /mob/proc/BringDownPower
You're forgeting usr in "verbs+=/mob/proc/BringDownPower" it should be usr.verbs+=/mob/proc/BringDownPower.
In response to Nadrew
thanks it works great now