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

rest.py
 
Recovering health points and fatigue during time and bed item type for faster
recovering.

 
Modules
       
auxiliary
char
event
hooks
math
mud
mudsock
mudsys
olc
storage
utils

 
Classes
       
BedData

 
class BedData
    Data for bed.
 
  Methods defined here:
__init__(self, set=None)
Standard class constructor.
copy(self)
copyTo(self, to)
store(self)

Data and other attributes defined here:
__item_type__ = 'bed'

 
Functions
       
__unload__()
things that need to be detached when the module is un/reloaded
bedolc_chooser(sock, data, option)
figure out what we want to edit, and display a prompt.
bedolc_menu(sock, data)
display our menu interface.
bedolc_parser(sock, data, choice, arg)
parse out what we want to change a specified field to.
bedolc_to_proto(data)
return a script that will generate relevant info to create this item.
cmd_immortal(ch, cmd, arg)
Command set or unset immortal flag on wizard.
condition_event(owner, void, info)
Event raise hunger and thirst of character
condition_hook(info)
raise hunger and thirst over time
resting_event(owner, void, info)
Function recover health points and fatigure over time
resting_hook(info)
start resting over time