obj
verb
Get()
set src in view(1)
usr << "You picked up [src.name]."
Move(usr)
Problem description:
Whenever i pick up an item, the verb still appears, i want to make it so that "Get" is not an option when the item is in my inventory.
ID:145114
Jun 11 2006, 5:08 pm
|
|
Code:
obj Problem description: Whenever i pick up an item, the verb still appears, i want to make it so that "Get" is not an option when the item is in my inventory. |
Jun 11 2006, 5:40 pm
|
|
I think you do that by make it an obj verb maybe?
|
In response to Evidence
|
|
it is...
|
In response to Rickoshay
|
|
Why should the item be deleted when the player was just told that \he picked it up?
|
In response to Artemio
|
|
becoz del(src) deletes the thing yes but if he reads zilals tut again he'll under he needs to make a Del proc
|
In response to Rickoshay
|
|
Rickoshay, yes it does delete it, but why should it. Jeez. That's was Art said.
Easiest thing to do mob/verb/pickup(/obj/apple/a in get_step(usr,usr.dir)) |