Lock command: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ |
{{Command |
||
|rp=No |
|||
[[page type is::command| ]] |
|||
|combat=No |
|||
{{Cat|Commands}} |
|||
|magic=No |
|||
|settings=No |
|||
|systems=Yes |
|||
|description=Secures a closed door, window, container or other lockable object, sometimes with a matching key. |
|||
|messaging='''LOCK <target> WITH <key>'''<br /> |
|||
''You see'': You hear a sharp metallic "snap" as you turn the key.<br /> |
|||
'''LOCK <keyless door>'''<br /> |
|||
''You see'': You lock the <door>.<br /> |
|||
''Others see'': <Name> locks the <door>.<br /> |
|||
'''LOCK <buttoned container>'''<br /> |
|||
''You see'': You securely button your <container>.<br /> |
|||
''Others see'': <Name> securely buttons <his/her> <container>.<br /> |
|||
'''LOCK <open target>'''<br /> |
|||
''You see'': You might want to close it first.<br /> |
|||
'''LOCK <already locked target>'''<br /> |
|||
''You see'': That's already locked.<br /> |
|||
''or'': That appears to be locked already.<br /> |
|||
''or, for a keyless door'': It's already locked.<br /> |
|||
'''LOCK <target> WITH <wrong key>'''<br /> |
|||
''You see'': It doesn't fit.<br /> |
|||
''or'': The key doesn't seem to fit.<br /> |
|||
'''LOCK <target> WITH <key not held>'''<br /> |
|||
''You see'': But you're not holding the <key>.<br /> |
|||
}} |
|||
==Syntax== |
|||
*{{tt|LOCK <object>}} |
|||
: Locks an object that has keyless or object-specific locking behavior. |
|||
*{{tt|LOCK <object> WITH <key>}} |
|||
: Locks a closed object with a matching key held in either hand. |
|||
==Notes== |
|||
* The object must be closed before it can be locked. |
|||
* When a keyless linked door is locked, its other side is locked as well and a person there hears a soft click. |
|||
* Some objects use custom behavior and messaging. For example, certain containers lock by being buttoned closed. |
|||
==See Also== |
|||
* {{com|close}} |
|||
* {{com|unlock}} |
|||
* {{com|latch}} |
|||
* {{com|pick}} |
|||
{{RefAl}} |
|||
Latest revision as of 10:47, 22 September 2026
| Secures a closed door, window, container or other lockable object, sometimes with a matching key. |
| LOCK <target> WITH <key> You see: You hear a sharp metallic "snap" as you turn the key. LOCK <keyless door> LOCK <buttoned container> LOCK <open target> LOCK <already locked target> LOCK <target> WITH <wrong key> LOCK <target> WITH <key not held> |
Syntax
- LOCK <OBJECT>
- Locks an object that has keyless or object-specific locking behavior.
- LOCK <OBJECT> WITH <KEY>
- Locks a closed object with a matching key held in either hand.
Notes
- The object must be closed before it can be locked.
- When a keyless linked door is locked, its other side is locked as well and a person there hears a soft click.
- Some objects use custom behavior and messaging. For example, certain containers lock by being buttoned closed.
See Also