]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed Honkbot/jonkbot honking like crazy, gave honkbot/jonkbot standard idle ai....
authorsuperjj18 <gagnonjake@gmail.com>
Sun, 14 Apr 2024 02:51:24 +0000 (22:51 -0400)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2024 02:51:24 +0000 (22:51 -0400)
* Fixed Honkbot/jonkbot honking like crazy, gave honkbot/jonkbot standard idle ai.

* Update Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml
Resources/Prototypes/NPCs/honkbot.yml [new file with mode: 0644]

index 5263fefd44cba17c4e778e1b6043643a68a39b70..9489fda5f0bcac3ec4a385e7a4c0aeab8ffcedac 100644 (file)
   description: Horrifying.
   components:
   - type: SpamEmitSound
+    minInterval: 2
+    maxInterval: 12
     sound:
       collection: BikeHorn
   - type: Sprite
     sprite: Mobs/Silicon/Bots/honkbot.rsi
     state: honkbot
+  - type: HTN
+    rootTask:
+      task: HonkbotCompound
   - type: Slippery
     launchForwardsMultiplier: 2
   - type: Speech
diff --git a/Resources/Prototypes/NPCs/honkbot.yml b/Resources/Prototypes/NPCs/honkbot.yml
new file mode 100644 (file)
index 0000000..c9c925a
--- /dev/null
@@ -0,0 +1,6 @@
+- type: htnCompound
+  id: HonkbotCompound
+  branches:
+    - tasks:
+        - !type:HTNCompoundTask
+          task: IdleCompound