evennia/src
Griatch 66095a0b16 Implemented locks.
The main command to use is @lock, which accept three types of locks at the moment, and three types of keys:
 Locks: DefaultLock, UseLock, EnterLock
 Keys: ObjectIDs, Groups, Permissions
This offers the most useful functionality - stopping people from picking up things, blocking exits and stopping
anyone from using an object.
If the attributes lock_msg, use_lock_msg and enter_lock_msg are defined on the locked object, these will be used
as error messages instead of a standard one (so "the door is locked" instead of "you cannot traverse that exit").

Behind the scenes, there is a new module, src/locks.py that defines Keys and Locks. A Locks object is a collection
of Lock types. This is stored in the LOCKS attribute on objects. Each Lock contains a set of Keys that might be
of mixed type and which the player must match in order to pass the lock.
/Griatch
2009-10-05 20:04:15 +00:00
..
channels - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
commands Implemented locks. 2009-10-05 20:04:15 +00:00
config Added @mvattr command as per MUX (Issue 25). Cleaned up @set to give better feedback. Some minor cleanups. 2009-08-29 17:41:00 +00:00
genperms - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
helpsys - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
imc2 - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
irc - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
objects Implemented locks. 2009-10-05 20:04:15 +00:00
script_parents Implemented locks. 2009-10-05 20:04:15 +00:00
util Added extrapolated "name_exists" function. 2009-01-13 07:21:41 +00:00
__init__.py Committin a 'working' checkpoint before I break more stuff. 2008-06-15 19:06:31 +00:00
alias_mgr.py Add the home command. 2009-04-06 22:07:41 +00:00
ansi.py Added a command batch processor to Evennia. The @batchprocess is a super-user only command that reads normal Evennia-commands 2009-09-04 08:01:43 +00:00
cmdhandler.py Implemented locks. 2009-10-05 20:04:15 +00:00
cmdtable.py * Updated and expanded the State system; the API changed a bit. You now have to first *create* the state using 2009-08-16 01:18:58 +00:00
comsys.py - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
config_defaults.py - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
defines_global.py Implemented locks. 2009-10-05 20:04:15 +00:00
events.py * Implemented @chperm - a command for viewing and setting individual permissions on a user without using the admin interface. I consider expanding this later with a group handling method as well (@chgroup). The command supports viewing all permissions available in the game, viewing those set on a user, add and delete a permission. No refactoring of the permission models (moving them into their respective application) has been done yet. 2009-10-01 23:28:58 +00:00
exceptions_generic.py Committin a 'working' checkpoint before I break more stuff. 2008-06-15 19:06:31 +00:00
flags.py Fixed startup.bat to work again since the creation of the 'src' folder. Forgot to update the path. Also updated Windows 'Getting Started' guide on evennia.com to be more verbose. 2008-12-14 00:02:11 +00:00
initial_setup.py - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
locks.py Implemented locks. 2009-10-05 20:04:15 +00:00
logger.py Addition of a re-usable CommandTable class. We still have two global command tables that are now instances of this class. Game developers will use methods on CommandTable to add their own commands without modifying the base server code. 2008-12-14 01:49:37 +00:00
scheduler.py * Implemented @chperm - a command for viewing and setting individual permissions on a user without using the admin interface. I consider expanding this later with a group handling method as well (@chgroup). The command supports viewing all permissions available in the game, viewing those set on a user, add and delete a permission. No refactoring of the permission models (moving them into their respective application) has been done yet. 2009-10-01 23:28:58 +00:00
scripthandler.py - Made many small bugfixes to the @parent and @create functions as well as their underlying methods. 2009-04-25 20:51:12 +00:00
server.py * Fixed bug in @reload that had modules reload in random order (causing custom user modules to not overwrite default ones properly). 2009-09-28 20:45:36 +00:00
session.py - Implemented permission system management inside the game 2009-10-03 14:40:34 +00:00
session_mgr.py Finally transition away from those horrid channel attributes for tracking channel memberships. We'll see about doing away with them altogether if it's possible efficiently. 2009-06-04 03:42:19 +00:00
statetable.py Minor fix of an argument typo as well as making an example more compacent with the wiki. 2009-08-16 09:09:55 +00:00