| |
- __unload__()
- things that need to be detached when the module is un/reloaded
- build_who(ch=None)
- returns a formatted list of all the people currently online
- equipment_look_hook(info)
- displays a character's equipment when looked at
- erase_global(...)
- erase_global(name)
Delete a value from the global variable table.
- exit_look_hook(info)
- extract(...)
- extract(thing)
Extracts an object, character, or room from the game.
- format_string(...)
- format_string(text, indent=True, width=80)
Format a block of text to be of the specified width, possibly indenting
paragraphs.
- generic_find(...)
- Deprecated. Use mud.parse_args instead.
- get_global(...)
- get_global(name)
Return a non-persistent global variable, or None.
- get_greeting(...)
- get_greeting()
returns the mud's connection greeting.
- get_hour(...)
- get_hour()
Return the current in-game hour of day.
- get_motd(...)
- get_motd()
Returns the mud's message of the day.
- get_time(...)
- get_time()
Return time of day (morning, afternoon, evening, night).
- is_afternoon(...)
- True or False if it is afternoon.
- is_evening(...)
- True or False if it is evening.
- is_morning(...)
- True or False if it is morning.
- is_night(...)
- True or False if it is night.
- is_race(...)
- is_race(name)
Returns True or False if the string is a valid race name.
- ite(...)
- ite(logic_statement, if_statement, else_statement=None)
A functional form of if/then/else.
- keys_equal(...)
- keys_equal(key1, key2)
Returns whether two world database keys are equal, relative to the
locale (if any) that the current script is running in.
- list_one_exit(ch, ex, dir)
- list_one_furniture(ch, obj)
- list the contents of a piece of furniture to the character.
- list_races(...)
- list_races(player_only=False)
Return a list of available races. If player_only is True, list only the
races that players have access to.
- list_room_contents(ch, room)
- list_room_exits(ch, room, filter_compass=False)
- log_string(...)
- log_string(mssg)
Send a message to the mud's log.
- message(...)
- message(ch, vict, obj, vobj, show_invis, range, mssg)
Send a message via the mud messaging system using $ expansions. Range
can be 'to_room', 'to_char', 'to_vict', or 'to_world'.
- parse_args(...)
- parse_args(ch, show_usage_errors, cmd, args, format)
equivalent to parse_args written in C. See parse.h for information.
- room_look_hook(info)
- diplays info about the room contents
- set_global(...)
- set_global(name, val)
Sets a non-persistent global variable. Val can be any type.
- show_equipment(ch, tgt)
- shows ch tgt's equipment
|