init
This commit is contained in:
30
Prototypes/NPCs/generic.yml
Normal file
30
Prototypes/NPCs/generic.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
- type: htnCompound
|
||||
id: ClearActiveHandCompound
|
||||
branches:
|
||||
# Do nothing
|
||||
- preconditions:
|
||||
- !type:ActiveHandFreePrecondition
|
||||
tasks:
|
||||
- !type:HTNPrimitiveTask
|
||||
operator: !type:NoOperator
|
||||
|
||||
# Swap to another free hand
|
||||
- tasks:
|
||||
- !type:HTNPrimitiveTask
|
||||
operator: !type:SwapToFreeHandOperator
|
||||
|
||||
# TODO: Need to make sure this works with blackboard and handles storage + pockets + inventory slots
|
||||
# Put active hand into storage
|
||||
#- tasks:
|
||||
# - !type:HTNPrimitiveTask
|
||||
# operator: !type:StashActiveHandOperator
|
||||
|
||||
# Drop active hand
|
||||
- tasks:
|
||||
- !type:HTNPrimitiveTask
|
||||
operator: !type:DropOperator
|
||||
Reference in New Issue
Block a user