Command reference

CommoditySpoilage

ItemBuilderbuilder

Command words
commodityspoilage commodspoil
Permission
Admin

Help on CommoditySpoilage

The commodityspoilage command is used to create, edit and view the rules that make commodity piles spoil over time. The valid subcommands and their syntaxes are as follows: commodityspoilage list [<filters>] - lists all commodity spoilage rules commodityspoilage show <id|name> - shows details about a commodity spoilage rule commodityspoilage new <name> - creates a new commodity spoilage rule commodityspoilage clone <old> <new> - clones an existing rule to a new rule commodityspoilage edit <id|name> - opens a rule for editing commodityspoilage close - closes the currently edited rule commodityspoilage set <field> <value> - changes the currently edited rule The editable fields are: set name <name> - renames the rule set desc <description> - sets the builder description set enabled [true|false] - toggles or sets whether the rule applies set priority <number> - sets match priority, with lower numbers winning ties set material <material|none> - sets or clears an exact material match set materialtag <tag|none> - sets or clears a material-tag match set tag <tag|none> - sets or clears an optional commodity pile tag set resultmaterial <material> - sets the material produced by spoilage set resulttag <tag|none> - sets or clears the output commodity pile tag set seconds <duration> - sets how long the commodity takes to spoil set echo <text|none> - sets or clears an optional room echo