add examples
This commit is contained in:
parent
8504ba52f6
commit
42757ddc4f
35 changed files with 1104 additions and 609 deletions
7
examples/woods/rules/r_attack_nac2.od
Normal file
7
examples/woods/rules/r_attack_nac2.od
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Bear won't attack unless hungry
|
||||
|
||||
animalState:RAM_AnimalState {
|
||||
condition = ```
|
||||
get_type_name(this) == "BearState" and get_slot_value(this, "hunger") < 50
|
||||
```;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue