make macing/shield mechanic even more OP and add testserver
Some checks failed
Compile / gradle (ubuntu-latest) (push) Has been cancelled
Some checks failed
Compile / gradle (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
21
testserv/plugins/Citizens/templates/citizens/templates.yml
Normal file
21
testserv/plugins/Citizens/templates/citizens/templates.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
example:
|
||||
commands:
|
||||
on_template_apply:
|
||||
- say --range 15 Hello!
|
||||
- npc command add say Hello again!
|
||||
behavior_tree_example:
|
||||
traits:
|
||||
-
|
||||
name: behavior
|
||||
tree:
|
||||
sequence:
|
||||
- if `npc.spawned`:
|
||||
- cooldown patrol 10s
|
||||
- loop `memory.get('patrol_count', 0) < 3`:
|
||||
- print Patrolling area `memory.get('patrol_count', 0)`
|
||||
- walkto `npc.x + 5` `npc.y` `npc.z`
|
||||
- wait 2s
|
||||
- walkto `npc.x - 5` `npc.y` `npc.z`
|
||||
- set patrol_count `memory.get('patrol_count', 0) + 1`
|
||||
- print Patrol complete!
|
||||
- forget patrol_count
|
||||
Reference in New Issue
Block a user