Item components

FileSignalGenerator

item component · builder

A [powered] [signal generator] that emits a numeric value read from a backing file

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
filename <name> - sets the backing signal file name
initial <text> - sets the initial file contents for new items
public - toggles whether new items expose the file publicly over FTP
capacity <bytes> - sets the storage capacity of the backing file system

Notes:

This powered signal generator reads a numeric value from its configured file and emits that value on the default signal endpoint while switched on and powered.
The file can then be edited locally with the programming item command or remotely through the existing computer file-transfer tools when the parent host advertises FTP.

← Back to Item components