From 57124692a90baf905a09b0efafedb7663556c7ff Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 4 May 2011 10:56:14 -0400 Subject: [PATCH] Update help file for @atrlock fixes #29 --- game/txt/hlp/cobra_cmd.hlp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index 93af391..7071aea 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -355,16 +355,17 @@ See also: @tel, ACTION LISTS See also: @atrlock, ATTRIBUTES, NON-STANDARD ATTRIBUTES & @atrlock - @atrlock[/read/write] / = . + @atrlock[/write] / = - Locks an attribute's read or write lock to a specified - 'lock key'. - - TODO: Detailed Explanations on Read & Write Locks. + Lock the specified attribute to the given key, which should be a normal + boolexp suitable for using with @lock. If the /write switch is given, then + set the write-lock on the attribute. Otherwise, set the read-lock. If no + key is given, then the lock will be cleared. + An object that passes the read-lock can read the attribute's value. An + object that passes the write-lock can set the attribute's value. See also: @atrchown, ATTRIBUTES, NON-STANDARD ATTRIBUTES, LOCKING - & @asuccess @asuccess = -- 2.30.2