fish-station/Content.Server/NPC/HTN
Centronias d3f85701f7
Adds HugBot (#37557)
* - hugbot
  - bdy with two arms because it needs two arms to hug
  - is constructable from:
    - box of hugs
    - proximity sensor
    - two borg arms
  - lots of voice lines
  - kinda like a medibot, it chases you down and then hugs you
    - except if it's emagged, then it punches you :)
    - it has a 2m cooldown per person by default

- MeleeAttackOperator
  - Read the doc, but it's an operator which makes the NPC hit a target exactly once assuming it's in range.
  - Used to make the hugbot attack
- RaiseEventForOwnerOperator
  - Read the doc, but it's an operator which raises an event on the owning NPC.
  - Used to make the hugbot hug extra code, specifically for the cooldown

- Changes to existing code:
  - `ComponentFilter : UtilityQueryFilter` gets `RetainWithComp` added which, as the name implies, retains entities with the specified comps rather than removing them. Basically, it lets you negate the filter.
  - `SpeakOperator : HTNOperator`'s `speech` field can use a `LocalizedDataSet` instead of just a locstring now
    - (I updated all of the existing usages for this)
  -

* two arms

* wait what if we just used mimebot arms so it doesn't look awful

* smort
2025-10-11 00:51:12 +00:00
..
Preconditions Adds HugBot (#37557) 2025-10-11 00:51:12 +00:00
PrimitiveTasks Adds HugBot (#37557) 2025-10-11 00:51:12 +00:00
HTNBranch.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
HTNComponent.cs Fix post-mapinit NPC exception (#40244) 2025-10-07 14:03:45 +00:00
HTNCompoundPrototype.cs Fix prototypes so they pass analyzer checks (#35435) 2025-02-24 15:21:59 +11:00
HTNCompoundTask.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
HTNPlan.cs Shooting NPCs and more (#18042) 2023-08-01 19:48:56 -05:00
HTNPlanJob.cs Fix HTN task ordering bug (#32909) 2025-04-17 22:42:31 +10:00
HTNPlanState.cs Shooting NPCs and more (#18042) 2023-08-01 19:48:56 -05:00
HTNSystem.cs Fix post-mapinit NPC exception (#40244) 2025-10-07 14:03:45 +00:00
HTNTask.cs Allow the creation of recursive HTNs (#30138) 2024-07-30 12:18:53 +10:00
IHTNCompound.cs Shooting NPCs and more (#18042) 2023-08-01 19:48:56 -05:00
IHtnConditionalShutdown.cs Shooting NPCs and more (#18042) 2023-08-01 19:48:56 -05:00