Server-only component YAML cleanup (#26836)

* First pass cleaning up server-only YAML errors.

* Second pass
This commit is contained in:
Tayrtahn
2024-04-09 00:20:49 -04:00
committed by GitHub
parent e64288a8fe
commit a0de0ab1f8
51 changed files with 48 additions and 111 deletions

View File

@@ -70,12 +70,11 @@
# Tries to melee attack our target.
- type: htnCompound
id: MeleeAttackTargetCompound
preconditions:
- !type:KeyExistsPrecondition
key: Target
branches:
# Move to melee range and hit them
- tasks:
- preconditions:
- !type:KeyExistsPrecondition
key: Target
tasks:
- !type:HTNPrimitiveTask
operator: !type:MoveToOperator
shutdownState: PlanFinished
@@ -104,11 +103,11 @@
- type: htnCompound
id: MeleeAttackOrderedTargetCompound
preconditions:
- !type:KeyExistsPrecondition
key: Target
branches:
- tasks:
- preconditions:
- !type:KeyExistsPrecondition
key: Target
tasks:
- !type:HTNPrimitiveTask
operator: !type:MoveToOperator
shutdownState: PlanFinished