ID:175692
![]() Mar 19 2003, 3:45 pm
|
|
For example, I might want the ability "Cook Pizza" only to appear if you are of class "cook".
|
I beleive
Login() if(src.race == "cook") src.verbs+= blah blah blah would be a better thing to tell me. |
Jotdaniel wrote:
I beleive blah blah blah isnt my idea of "a better thing". you need to let the man who posted the question know what you have to do.. src.verbs += new/mob/cook/verb/cookpizza() You would also need mob/Login() |
Demonskata630 wrote:
> src.verbs += new/mob/cook/verb/cookpizza() Well, you didn't do it right, either.
src.verbs += /mob/cook/verb/cookpizza
If you're gonna get on someone about something, make sure it's at least close to valid. |
I would like to know what gets rid of the "new" i put in that piece. I've always done that, and it's worked fine.
|
I probably do it a different way than everyone else, but this works.
--Demon