Skip to main content

Saturation Level (Entity Condition Type)

Compares the entity's saturation level with a number. Saturation is the hidden value that decides how full the entity is, and so how long it takes before its food level starts going down.

Type ID: apoli:saturation_level

note

This condition only works on players.

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the player's saturation level is compared with compare_to.
compare_toFloatrequiredThe number the saturation level is compared with.

Examples

"condition": {
    "type": "apoli:saturation_level",
    "comparison": "==",
    "compare_to": 0
}

This checks whether the player's saturation has run out.