ID:270959
 
how would i make a player get a new verb after a variable was made true
like if canfly =1 , mob gets the verb fly?
Add the verb to the verbs list (look it up if you don't know about it) when canfly becomes true. For example:

mob/verb/Learn_Flying()
canfly = 1
//add the verb here
In response to DeathAwaitsU
mob
proc
Drive()
if(usr.ldrive == 1)

set category = "Drive"

if(usr.lbrave == 1)
src.verbs += "Brave"

proc
Brave()
src.verbs += "Brave"
usr.overlays +="Brave"


verb
fullfill()
usr.ldrive =1
usr.lbrave =1

Thats what i put so far
i dont know what to do
In response to ATS Studios
There is no point in using ==1 on a boolean variable (1 or 0).
You should be using if(variable) instead of ==1, and if(!variable) instead of ==0. It will lead to more robust code.
In response to Xx Dark Wizard xX
so
would i write
if(ldrive =1)
//insert drive overlays here?
In response to ATS Studios
no you would write...

if(!drive)