evennia/contrib
2011-05-12 21:51:11 +00:00
..
__init__.py Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165. 2011-05-12 21:51:11 +00:00
lineeditor.py Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165. 2011-05-12 21:51:11 +00:00
menusystem.py Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165. 2011-05-12 21:51:11 +00:00
README Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165. 2011-05-12 21:51:11 +00:00
talking_npc.py Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165. 2011-05-12 21:51:11 +00:00

'Contrib' folder
----------------

This folder contains 'contributions': extra snippets of code that are
potentially very useful for the game coder but which are considered
too game-specific to be a part of the main Evennia game server.  These
modules are not used unless you explicitly import them.

If you want to edit, tweak or expand on this code you should copy the
things you want from here into game/gamesrc and change them there.

* Evennia MenuSystem (Griatch 2011) - A base set of classes and
      cmdsets for creating in-game multiple-choice menus in
      Evennia. The menu tree can be of any depth.  Menu options can be
      numbered or given custom keys, and each option can execute
      code. Also contains a yes/no question generator function. This
      is intended to be used by commands and presents a y/n question
      to the user for accepting an action. Includes a simple new
      command 'menu' for testing and debugging.

* Evennia Lineeditor (Griatch 2011) - A powerful line-by-line editor
      for editing text in-game. Mimics the command names of the famous
      VI text editor. Supports undo/redo, search/replace,
      regex-searches, buffer formatting, indenting etc. It comes with
      its own help system. (Makes minute use of the MenuSystem module
      to show a y/n question if quitting without having
      saved). Includes a basic command '@edit' for activating the
      editor.

* Talking_NPC (Griatch 2011) - An example of a simple NPC object that
     you can strike up a menu-driven converstaion with. Uses the
     MenuSystem to allow conversation options. The npc object defines
     a command 'talk' for starting the (brief) conversation.