I can figure out how to make some of my verbs bunch up.
Code:
verb/boot(M as mob)
world << "[usr] gives [M] the boot!"
del (M)
verb/teleport(mob/M as mob in world)
usr.loc = M.loc
Say(msg as text)
view() << "[usr] says, \"[msg]\""
Shout(msg as text)
world << "[usr] shouts, \"[msg]\""
Whisper(msg as text)
view(1) << "[usr] whispers, \"[msg]\""
Tell(M as mob in world, msg as text)
M << "[usr] tells you, \"[msg]\""
Get()
set src in oview(0)
usr << "You get [src]"
Move(usr)
Drop()
usr << "You drop [src]"
Move(usr.loc)
ID:180744
![]() Feb 28 2001, 5:19 am
|
|
You can? Good! So, what's the problem? :)
Anyway, you probably want to do something like this.
mob
verb
grab()
//code here...
drop()
//code here...
get()
//code here...
Or you could also do it this way.
mob/verb/grab()
//code here...
mob/verb/drop()
//code here...