mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Update lock docstring. Closes #1563.
This commit is contained in:
parent
7e1057e74e
commit
70dbaf8bf4
1 changed files with 4 additions and 4 deletions
|
|
@ -1807,13 +1807,13 @@ class CmdLock(ObjManipCommand):
|
|||
|
||||
For example:
|
||||
'get: id(25) or perm(Admin)'
|
||||
The 'get' access_type is checked by the get command and will
|
||||
an object locked with this string will only be possible to
|
||||
pick up by Admins or by object with id=25.
|
||||
The 'get' lock access_type is checked e.g. by the 'get' command.
|
||||
An object locked with this example lock will only be possible to pick up
|
||||
by Admins or by an object with id=25.
|
||||
|
||||
You can add several access_types after one another by separating
|
||||
them by ';', i.e:
|
||||
'get:id(25);delete:perm(Builder)'
|
||||
'get:id(25); delete:perm(Builder)'
|
||||
"""
|
||||
key = "@lock"
|
||||
aliases = ["@locks"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue