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

prompt.py
 
Show prompt to user with informations about character.
At this moment show only health and fatigue status.

 
Modules
       
char
hooks
mud
mudsys
odmiana
socket

 
Functions
       
__unload__()
deatach module from server
encode_text(text, encoding)
Encode selected text.
encoding_hook(info)
Change text encoding if needed.
fatigue_status(ch)
function check fatigue status of player and return
text to show.
health_status(ch)
function check health status of player and return
text to show.
inbound_hook(info)
Change text encoding of incoming text if needed.
new_prompt(sock)
Function override default prompt.
show_prompt_hook(info)
Change text encoding in prompt if needed.