evennia/game/gamesrc/parents/examples
Griatch a711e07b80 Added the capability of evennia commands to consist of more than one word. So the examples.red_button parent can now be pressed with the command 'push button' instead of 'pushbutton' as before. The variable COMMAND_MAXLEN in the config defines how many words your commands may maximum contain (don't set it higher than needed for efficiency reasons).
The main drawback of multi-word commands are that they can not have any switches; they are intended for in-game use (in states and on objects). Use normal one-word commands for administration and more complex commands with many options.
/Griatch
2009-10-18 19:29:18 +00:00
..
__init__.py Working on getting command tables implemented on individual objects. It's probably not a good idea to update to this revision in a 'production' environment yet. 2009-01-30 03:28:41 +00:00
custom_basicobject.py Some cleanup. Fixed all examples to match the changes in the states and help systems, also 2009-10-15 09:43:34 +00:00
custom_basicplayer.py Some cleanup. Fixed all examples to match the changes in the states and help systems, also 2009-10-15 09:43:34 +00:00
red_button.py Added the capability of evennia commands to consist of more than one word. So the examples.red_button parent can now be pressed with the command 'push button' instead of 'pushbutton' as before. The variable COMMAND_MAXLEN in the config defines how many words your commands may maximum contain (don't set it higher than needed for efficiency reasons). 2009-10-18 19:29:18 +00:00