fish-station/Content.Server/NPC/HTN/PrimitiveTasks/Operators
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
..
Combat Adds HugBot (#37557) 2025-10-11 00:51:12 +00:00
Interactions HandsSystem Refactor (#38438) 2025-06-25 15:13:03 +02:00
Math Clean up new HTNs tasks (#28469) 2024-06-01 13:46:35 -04:00
Specific Adds HugBot (#37557) 2025-10-11 00:51:12 +00:00
Test Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
MoveToOperator.cs NPC Warnings cleanup (#36189) 2025-04-02 17:12:25 -07:00
NoOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
PickAccessibleComponentOperator.cs CompFactory updates (#37559) 2025-05-20 01:08:55 -04:00
PickAccessibleOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
PickRandomRotationOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
PlaySoundOperator.cs Added new HTN operations and preconditions (#27486) 2024-05-08 12:18:03 +03:00
RandomOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
RotateToTargetOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
SayKeyOperator.cs Clean up new HTNs tasks (#28469) 2024-06-01 13:46:35 -04:00
SpeakOperator.cs Adds HugBot (#37557) 2025-10-11 00:51:12 +00:00
UtilityOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
WaitOperator.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00