make macing/shield mechanic even more OP and add testserver
Some checks failed
Compile / gradle (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Justus Wolff
2026-03-05 15:44:16 +01:00
parent eab7fc2380
commit b553e36819
310 changed files with 90910 additions and 31 deletions

View 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