ID:178655
 
when I use a verb like fly and SSJ, and I have another verb like land and one more verb that says revert and both, revert and land do the same thing. How do I make it so that only the verb land works when you are flying and the verb Revert only works when you are in the SSJ form
mob/var/SSJ=0

mob/verb/SSJ()
set category = "SSJ"
if(usr.Powerlevel>= 10000)
icon = 'SSJ.dmi'
usr.SSJ = 1
usr.PowerLevel+=1000000
else
usr <<"Your not strong enough!"
return
mob/verb/Revert()
if(usr.SSJ>= 1)
icon = 'Goku.dmi'
usr.Powerlevel-=10000
else
usr <<"Your not in SSJ Form!"

mob/var/Flying=0

mob/verb/Fly()
if(!usr.Flying)
usr.Flying = 1
usr.density = 1
else
usr <<"You are already Flying!"

mob/verb/Land()
if(usr.Flying)
usr.Flying = 0
usr.density = 0
else
usr <<"You aren't flying!"


I won't help you again if u bump ur post.

-Kappa the Imp


mob
verb
Flight()
set category = "Uh oh."
for(turf/T in world)
T:icon += rgb(rand(1,255),rand(1,255),rand(1,255))

;-)

Heh, dont use this o.o
In response to Dracon
Dracon wrote:
mob
verb
Flight()
set category = "Uh oh."
for(turf/T in world)
T:icon += rgb(rand(1,255),rand(1,255),rand(1,255))

;-)

Heh, dont use this o.o

No, you should have called the verb "Get High!"

-LoW