1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html><head><title>Python: inform</title>
- </head><body bgcolor="#f0f0f8">
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
- <tr bgcolor="#7799ee">
- <td valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>inform</strong></big></big></font></td
- ><td align=right valign=bottom
- ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/hollis/Desktop/nakedmud/lib/pymodules/inform.py">/Users/hollis/Desktop/nakedmud/lib/pymodules/inform.py</a></font></td></tr></table>
- <p><tt>inform.py<br>
- <br>
- Python's mirror of C's inform.c -- contains various functions that perform<br>
- informative duties. Examining places/things, displaying proper names, etc...</tt></p>
- <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#aa55cc">
- <td colspan=3 valign=bottom> <br>
- <font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
-
- <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
- <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="char.html">char</a><br>
- <a href="display.html">display</a><br>
- </td><td width="25%" valign=top><a href="hooks.html">hooks</a><br>
- <a href="mud.html">mud</a><br>
- </td><td width="25%" valign=top><a href="mudsock.html">mudsock</a><br>
- <a href="string.html">string</a><br>
- </td><td width="25%" valign=top><a href="utils.html">utils</a><br>
- </td></tr></table></td></tr></table><p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#eeaa77">
- <td colspan=3 valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
-
- <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
- <td width="100%"><dl><dt><a name="-__unload__"><strong>__unload__</strong></a>()</dt><dd><tt>things that need to be detached when the module is un/reloaded</tt></dd></dl>
- <dl><dt><a name="-build_who"><strong>build_who</strong></a>(ch<font color="#909090">=None</font>)</dt><dd><tt>returns a formatted list of all the people currently online</tt></dd></dl>
- <dl><dt><a name="-equipment_look_hook"><strong>equipment_look_hook</strong></a>(info)</dt><dd><tt>displays a character's equipment when looked at</tt></dd></dl>
- <dl><dt><a name="-exit_look_hook"><strong>exit_look_hook</strong></a>(info)</dt></dl>
- <dl><dt><a name="-list_one_exit"><strong>list_one_exit</strong></a>(ch, ex, dir)</dt></dl>
- <dl><dt><a name="-list_one_furniture"><strong>list_one_furniture</strong></a>(ch, obj)</dt><dd><tt>list the contents of a piece of furniture to the character.</tt></dd></dl>
- <dl><dt><a name="-list_room_contents"><strong>list_room_contents</strong></a>(ch, room)</dt></dl>
- <dl><dt><a name="-list_room_exits"><strong>list_room_exits</strong></a>(ch, room, filter_compass<font color="#909090">=False</font>)</dt></dl>
- <dl><dt><a name="-room_look_hook"><strong>room_look_hook</strong></a>(info)</dt><dd><tt>diplays info about the room contents</tt></dd></dl>
- <dl><dt><a name="-show_equipment"><strong>show_equipment</strong></a>(ch, tgt)</dt><dd><tt>shows ch tgt's equipment</tt></dd></dl>
- </td></tr></table><p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#55aa55">
- <td colspan=3 valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
-
- <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
- <td width="100%"><strong>cardinal_dirs</strong> = ['north', 'south', 'east', 'west']<br>
- <strong>compass_dirs</strong> = ['north', 'south', 'east', 'west', 'northwest', 'northeast', 'southwest', 'southeast']</td></tr></table>
- </body></html>
|