obtain_loyalty

Checks the total amount of loyalty owned by the entity. Triggers whenever the entity gains some loyalty.

Format

obtain_loyalty
└─ amount - Int Bound
  ├─ min - Integer
  └─ max - Integer

Example

Triggers when the entity has under 50 total loyalty.

{
    "trigger": "mineminenomi:obtain_loyalty",
    "conditions": {
        "loyalty": {
            "amount": {
                "max": 50
            }
        }
    }
}
Last change: 2024-09-22