[Tinymux] A few Requests/Suggestions
Sean Hunter
downloadcom at dagnabit.org
Tue Jan 17 22:52:43 EST 2006
Just a few requests and suggestions:
regrep() and friends(regrepi, regrepall, regrepalli) from PennMUSH. I've
written up my own version but I have doubts as to how efficient/etc the
code is.
A mush option to display the name of objects when you look at them, even
if they're not examinable to you. For instance change:
int can_see_thing = Examinable(player, thing);
In look_simple to:
int can_see_thing = Examinable(player, thing) ||
(mudconf.alwaysshowname && !Dark(thing));
(unparse_object already just returns the name with no flags/DBref if
it's not examinable)
An option to allow @Nameformat to be used on things/players/exits when
looked at (Only useful with the above option). This would be useful for
expanding something like a roomformat to objects as well. Probably with
the default of off, and it would only effect the name when shown using
'look' and nothing else (as that's what @moniker is for).
For hooks where the command is definitely going to be executed (before,
after) pass in as an argument the evaluated argument to the hook.
Guessing based on %m is kinda iffy/dangerous and there are some cases
that it's useful to know what the arguments would be.
lcon() for mortals should probably follow the reality levels rules and
not list people the player can't see.
-- Sean
More information about the Tinymux
mailing list