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

books.py
 
Books item type.

 
Modules
       
auxiliary
hooks
mud
mudsock
mudsys
olc
storage

 
Classes
       
BookData

 
class BookData
    Data for books - title and body.
 
  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__ = 'book'

 
Functions
       
__unload__()
remove all hooks.
book_desc_info(info)
appends books informations about an object to the description buffer
when person looks at it.
bookolc_chooser(sock, data, option)
figure out what field we want to edit, and display a prompt.
bookolc_menu(sock, data)
display our menu interface.
bookolc_parser(sock, item, choice, arg)
Set new values for book settings.
bookolc_to_proto(data)
return a script that will generate relevant info to create this item.
cmd_book(ch, cmd, arg)
Allow to read, write books.
finish_book_editor(sock, editor_output)
this function is passed to edit_text, and called after a socket exits the
text editor.

 
Data
        booktext = ''