muMLE/examples/woods/rules/r_attack_nac2.od
2024-11-13 10:07:16 +01:00

7 lines
171 B
Text

# Bear won't attack unless hungry
animalState:RAM_AnimalState {
condition = ```
get_type_name(this) == "BearState" and get_slot_value(this, "hunger") < 50
```;
}