Item components

MotionSensor

item component · builder

A [powered] [signal generator] that emits a timed signal when it witnesses configured movement

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> - the signal value emitted while the sensor is active
duration <seconds> - how long the sensor remains active after motion is detected
size <size> - the minimum target size category that can trigger the sensor
mode <any|begin|enter|stop> - which witnessed movement events trigger the sensor

Notes:

This sensor only emits a signal while it is switched on and receiving power.

← Back to Item components