|Related Guide Page||https://guide.denizenscript.com/guides/basics/mechanisms.html|
|Short Description||Adjusts an object's mechanism.|
|Full Description||Many object tag types contains options and properties that need to be adjusted. Denizen employs a mechanism
interface to deal with those adjustments. To easily accomplish this, use this command with a valid object
mechanism, and sometimes accompanying value.
Specify "def:<name>" as an input to adjust a definition and automatically save the result back to the definition.
You can optionally adjust a MapTag of mechanisms to values.
To adjust an item in an inventory, use inventory, as '- inventory adjust slot:<#> <mechanism>:<value>'.
Note that that is only for items, not actual inventories.
To adjust an actual InventoryTag mechanism, you should still use the normal 'adjust' command, not 'inventory adjust'.
|Synonyms (Search Aid)||mechanism|