char_gen
index
/home/thindil/Projekty/anaria/server/lib/pymodules/char_gen.py

char_gen.py
 
The basic character generation module. Allows accounts to create new characters
with basic selection for name, sex, and race.

 
Modules
       
char
hooks
mud
mudsys
random
socket

 
Functions
       
__unload__()
removes the hooks for character generation
cg_confirm_handler(sock, arg)
Confirm selected race handler.
cg_confirm_prompt(sock)
Confirm selected race prompt.
cg_finish_handler(sock, arg)
cg_finish_prompt(sock)
cg_name_handler(sock, arg)
cg_name_prompt(sock)
cg_race_handler(sock, arg)
cg_race_prompt(sock)
cg_sex_handler(sock, arg)
cg_sex_prompt(sock)
char_gen_hook(info)
Put a socket into the character generation menu when character generation
hooks are called.
check_char_name(arg)
checks to make sure the character name is valid. Names are valid if they
are greater than 2 characters, less than 13, and comprise only alpha
characters.
guest_gen_hook(info)