init
This commit is contained in:
28
Prototypes/NPCs/test.yml
Normal file
28
Prototypes/NPCs/test.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
# SPDX-FileCopyrightText: 2022 metalgearsloth <metalgearsloth@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2024 degradka <69397649+degradka@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Selects a random pathfind point and tries to move there.
|
||||
- type: htnCompound
|
||||
id: MoveToPathfindPointCompound
|
||||
branches:
|
||||
- tasks:
|
||||
- !type:HTNPrimitiveTask
|
||||
operator: !type:PickPathfindPointOperator
|
||||
|
||||
- !type:HTNPrimitiveTask
|
||||
operator: !type:MoveToOperator
|
||||
pathfindInPlanning: false
|
||||
|
||||
|
||||
- type: entity
|
||||
id: MobPathfindDummy
|
||||
name: pathfind dummy
|
||||
suffix: NPC
|
||||
parent: MobSpiderAngryBase
|
||||
components:
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: MoveToPathfindPointCompound
|
||||
Reference in New Issue
Block a user