Item components
KeycardScanner
A [powered] keycard [signal generator] for access control
Builder help
You can use the following options with this command:
name <name> - renames the component
desc <description> - sets the description of the component
wattage <watts> - set power usage
discount <watts> - a wattage discount per quality
switchable - toggles whether players can switch this on
mountpower - toggles whether this machine draws power from its automation mount host when mounted
onemote <emote> - sets the emote when powered on. Use $0 for the machine.
offemote <emote> - sets the emote when powered down. Use $0 for the machine.
onprog <prog> - sets a prog to execute when the machine is powered on
offprog <prog> - sets a prog to execute when the machine is powered down
value <number> - sets the successful access signal value
duration <seconds> - sets how long a successful access signal remains active
selftarget none|<lock component> - optionally drives a built-in sibling lock directly
Notes:
Readers can be embedded directly in an item or installed in a compatible automation bay. Self-targeting is intended for a single built-in sibling lock; use normal signal automation and a microcontroller when several readers share one lock.
code add <code> - adds an initially accepted case-sensitive code
code remove <code> - removes an initially accepted code
code clear - removes all initially accepted codes