Item components
ElectronicLock
A [lock] [signal consumer] that responds automatically to a sibling signal source component
You can use the following options with this component:
name <name> - renames the component
desc <description> - sets the description of the component
type <type> - sets the lock type that is used to match keys.
pick <difficulty> - sets the difficulty to pick the lock on this container.
force <difficulty> - sets the difficulty to forcibly open the lock on this container
lock <emote> - sets the emote when locked. $0 is locker, $1 is container, $2 is key.
unlock <emote> - sets the emote when unlocked. $0 is locker, $1 is container, $2 is key.
olock <emote> - sets the emote for the other side of a container when locked. $0 is locker, $1 is container, $2 is key.
ounlock <emote> - sets the emote for the other side of a container when unlocked. $0 is locker, $1 is container, $2 is key.
locknoactor <emote> - sets the emote when locked by prog. $0 is the container.
unlocknoactor <emote> - sets the emote when unlocked by prog. $0 is the container.
source <component> - the signal source component prototype name or id whose default signal endpoint drives this lock
threshold <number> - the numeric threshold used to determine when the lock is active
invert - toggles whether the lock activates above or below the threshold
You can use the following options with this component:
name <name> - renames the component
desc <description> - sets the description of the component
type <type> - sets the lock type that is used to match keys.
pick <difficulty> - sets the difficulty to pick the lock on this container.
force <difficulty> - sets the difficulty to forcibly open the lock on this container
lock <emote> - sets the emote when locked. $0 is locker, $1 is container, $2 is key.
unlock <emote> - sets the emote when unlocked. $0 is locker, $1 is container, $2 is key.
olock <emote> - sets the emote for the other side of a container when locked. $0 is locker, $1 is container, $2 is key.
ounlock <emote> - sets the emote for the other side of a container when unlocked. $0 is locker, $1 is container, $2 is key.
locknoactor <emote> - sets the emote when locked by prog. $0 is the container.
unlocknoactor <emote> - sets the emote when unlocked by prog. $0 is the container.
source <component> - the signal source component prototype name or id whose default signal endpoint drives this lock
threshold <number> - the numeric threshold used to determine when the lock is active
invert - toggles whether the lock activates above or below the threshold