Download Game! Currently 67 players and visitors. Last logged in:BlnkPristormGunkByleth

BatMUD Forums > Bs > Re: eqnumber

 
 
#1
24 Aug 2005 11:12
 
 
Coolguy wrote:
would be nice to have a command which would list the numbers associated with
your gear, both worn and inv, when you have multiple instances of an equipment
type, would be useful when trying to sort keep lists, etc

example
Quote:
eqnumber ring
ring 1 - ring of crap ring 2 - Ring of wonders ring 3 - infravision ring

also would be nice if mounts didnt balk at entering obc, regardless of having
ride underground on or not. serves no purpose and makes parties mad when
running to areas

The reason why this very useful command, and ones like it, have not yet been
made is because the code makes it somewhere between tricky and undoable. Let
I think he simply meant a command that would list items matching giving id and
display the id with number and name/short desc.

Ie. 'eqnumber ring' would list all items with id 'ring' (ruby ring, diamond
ring, nose-ring etc) as:
ring 1 - sparking ruby ring
ring 2 - diamond ring
ring 3 - a bloody nose-ring

forearch (ob : id(user_given_id)) { write(user_given_id+" "+(++i)+":
"+ob->query_name()+"
");}
or something of such simplicity.

Cheers,
-T

 
Rating:
3
Votes:
3
 
 
Twomi
293d, 7h, 26m, 23s old
Level:
90