I can't test this at the moment, but I'd like to know... if I create a datum and give it a "name" var, and then I create a verb that lets the user choose from a list of datums, will the pop-up list contain the datum names or datum types?
For example:
flob
var/name
mob/verb/test_flob(flob/F in ListAvailableFlobs())
usr << "You chose [F.name], which is type [F.type]."
ID:149941
Jan 22 2002, 8:00 am
|
|
In response to Lummox JR
|
|
I'm gonna go out on a limb and say it will use the name if it can, the type if there's no name var. I think that's probably right. Well, I'll try it tonight! |
In response to Lummox JR
|
|
Lummox JR wrote:
Gughunter wrote: You're right! BYOND noticed the presence of a "name" var and used it in the verb popups. Hooray! |
I honestly can't remember if I've done this with a datum yet, but I've done lots of other stuff with datums so I'm gonna go out on a limb and say it will use the name if it can, the type if there's no name var. At least it probably couldn't hurt anything to test the theory.
Lummox JR