<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: char_gen</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>char_gen</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/mud/nakedmud-mod/lib/pymodules/char_gen.py">/mud/nakedmud-mod/lib/pymodules/char_gen.py</a></font></td></tr></table> <p><tt>char_gen.py<br> <br> The basic character generation module. Allows accounts to create new characters<br> with basic selection for name, sex, and race.</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="hooks.html">hooks</a><br> </td><td width="25%" valign=top><a href="mud.html">mud</a><br> <a href="mudsys.html">mudsys</a><br> </td><td width="25%" valign=top><a href="socket.html">socket</a><br> </td><td width="25%" valign=top></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>removes the hooks for character generation</tt></dd></dl> <dl><dt><a name="-cg_finish_handler"><strong>cg_finish_handler</strong></a>(sock, arg)</dt></dl> <dl><dt><a name="-cg_finish_prompt"><strong>cg_finish_prompt</strong></a>(sock)</dt></dl> <dl><dt><a name="-cg_name_handler"><strong>cg_name_handler</strong></a>(sock, arg)</dt></dl> <dl><dt><a name="-cg_name_prompt"><strong>cg_name_prompt</strong></a>(sock)</dt></dl> <dl><dt><a name="-cg_race_handler"><strong>cg_race_handler</strong></a>(sock, arg)</dt></dl> <dl><dt><a name="-cg_race_prompt"><strong>cg_race_prompt</strong></a>(sock)</dt></dl> <dl><dt><a name="-cg_sex_handler"><strong>cg_sex_handler</strong></a>(sock, arg)</dt></dl> <dl><dt><a name="-cg_sex_prompt"><strong>cg_sex_prompt</strong></a>(sock)</dt></dl> <dl><dt><a name="-char_gen_hook"><strong>char_gen_hook</strong></a>(info)</dt><dd><tt>Put a socket into the character generation menu when character generation<br> hooks are called.</tt></dd></dl> <dl><dt><a name="-check_char_name"><strong>check_char_name</strong></a>(arg)</dt><dd><tt>checks to make sure the character name is valid. Names are valid if they<br> are greater than 2 characters, less than 13, and comprise only alpha<br> characters.</tt></dd></dl> <dl><dt><a name="-guest_gen_hook"><strong>guest_gen_hook</strong></a>(info)</dt></dl> </td></tr></table> </body></html>