char_gen.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html><head><title>Python: char_gen</title>
  3. </head><body bgcolor="#f0f0f8">
  4. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
  5. <tr bgcolor="#7799ee">
  6. <td valign=bottom>&nbsp;<br>
  7. <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>char_gen</strong></big></big></font></td
  8. ><td align=right valign=bottom
  9. ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/hollis/Desktop/nakedmud/lib/pymodules/char_gen.py">/Users/hollis/Desktop/nakedmud/lib/pymodules/char_gen.py</a></font></td></tr></table>
  10. <p><tt>char_gen.py<br>
  11. &nbsp;<br>
  12. The&nbsp;basic&nbsp;character&nbsp;generation&nbsp;module.&nbsp;Allows&nbsp;accounts&nbsp;to&nbsp;create&nbsp;new&nbsp;characters<br>
  13. with&nbsp;basic&nbsp;selection&nbsp;for&nbsp;name,&nbsp;sex,&nbsp;and&nbsp;race.</tt></p>
  14. <p>
  15. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  16. <tr bgcolor="#aa55cc">
  17. <td colspan=3 valign=bottom>&nbsp;<br>
  18. <font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
  19. <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  20. <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="char.html">char</a><br>
  21. <a href="hooks.html">hooks</a><br>
  22. </td><td width="25%" valign=top><a href="mud.html">mud</a><br>
  23. <a href="mudsys.html">mudsys</a><br>
  24. </td><td width="25%" valign=top><a href="socket.html">socket</a><br>
  25. </td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
  26. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  27. <tr bgcolor="#eeaa77">
  28. <td colspan=3 valign=bottom>&nbsp;<br>
  29. <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
  30. <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  31. <td width="100%"><dl><dt><a name="-__unload__"><strong>__unload__</strong></a>()</dt><dd><tt>removes&nbsp;the&nbsp;hooks&nbsp;for&nbsp;character&nbsp;generation</tt></dd></dl>
  32. <dl><dt><a name="-cg_finish_handler"><strong>cg_finish_handler</strong></a>(sock, arg)</dt></dl>
  33. <dl><dt><a name="-cg_finish_prompt"><strong>cg_finish_prompt</strong></a>(sock)</dt></dl>
  34. <dl><dt><a name="-cg_name_handler"><strong>cg_name_handler</strong></a>(sock, arg)</dt></dl>
  35. <dl><dt><a name="-cg_name_prompt"><strong>cg_name_prompt</strong></a>(sock)</dt></dl>
  36. <dl><dt><a name="-cg_race_handler"><strong>cg_race_handler</strong></a>(sock, arg)</dt></dl>
  37. <dl><dt><a name="-cg_race_prompt"><strong>cg_race_prompt</strong></a>(sock)</dt></dl>
  38. <dl><dt><a name="-cg_sex_handler"><strong>cg_sex_handler</strong></a>(sock, arg)</dt></dl>
  39. <dl><dt><a name="-cg_sex_prompt"><strong>cg_sex_prompt</strong></a>(sock)</dt></dl>
  40. <dl><dt><a name="-char_gen_hook"><strong>char_gen_hook</strong></a>(info)</dt><dd><tt>Put&nbsp;a&nbsp;socket&nbsp;into&nbsp;the&nbsp;character&nbsp;generation&nbsp;menu&nbsp;when&nbsp;character&nbsp;generation<br>
  41. hooks&nbsp;are&nbsp;called.</tt></dd></dl>
  42. <dl><dt><a name="-check_char_name"><strong>check_char_name</strong></a>(arg)</dt><dd><tt>checks&nbsp;to&nbsp;make&nbsp;sure&nbsp;the&nbsp;character&nbsp;name&nbsp;is&nbsp;valid.&nbsp;Names&nbsp;are&nbsp;valid&nbsp;if&nbsp;they<br>
  43. are&nbsp;greater&nbsp;than&nbsp;2&nbsp;characters,&nbsp;less&nbsp;than&nbsp;13,&nbsp;and&nbsp;comprise&nbsp;only&nbsp;alpha<br>
  44. characters.</tt></dd></dl>
  45. <dl><dt><a name="-guest_gen_hook"><strong>guest_gen_hook</strong></a>(info)</dt></dl>
  46. </td></tr></table>
  47. </body></html>