Denizen Script Mechanisms

Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.

Showing 1 out of 634 mechanisms...
Related Tags<EntityTag.anger_at[<entity>]> Returns a warden's anger level at a specific entity.
DescriptionIncreases a warden's anger towards a specific entity.
The input map needs to have the following keys:
- "entity", the entity to increase anger for.
- "anger", the amount of anger to add.
See Mechanism:EntityTag.clear_anger for clearing anger.
See Mechanism:EntityTag.anger_at for setting it.
# Use to increase a warden's anger at a specific entity by 20.
- adjust <[warden]> increase_anger:[entity=<[entity]>;anger=20]