]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fixes behonkers, they now function like spitters and will attack via ai with behonk...
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Mon, 16 Oct 2023 05:29:14 +0000 (06:29 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2023 05:29:14 +0000 (23:29 -0600)
Resources/Prototypes/Body/Prototypes/behonker.yml [deleted file]
Resources/Prototypes/Entities/Mobs/NPCs/behonker.yml

diff --git a/Resources/Prototypes/Body/Prototypes/behonker.yml b/Resources/Prototypes/Body/Prototypes/behonker.yml
deleted file mode 100644 (file)
index 26289d5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-- type: body
-  id: Behonker
-  name: "behonker"
-  root: hand 1
-  slots:
-    hand 1:
-      part: LeftArmBorg
-      connections:
-      - hand 2
-    hand 2:
-      part: LeftArmBorg
index cb7b9f4c015501e65c8453fc8e22dc89fbdb0b6e..f833c2e8ed39171992942ad446f4c54b7d378b5b 100644 (file)
     - type: GhostTakeoverAvailable
     - type: HTN
       rootTask:
-        task: SimpleHostileCompound
+        task: SimpleRangedHostileCompound
+    - type: HitscanBatteryAmmoProvider
+      proto: RedLaser
+      fireCost: 62.5
+    - type: Battery
+      maxCharge: 1000
+      startingCharge: 1000
+    - type: BatterySelfRecharger
+      autoRecharge: true
+      autoRechargeRate: 40
+    - type: Gun
+      fireRate: 0.75
+      useKey: false
+      selectedMode: SemiAuto
+      availableModes:
+        - SemiAuto
+      soundGunshot: /Audio/Weapons/Guns/Gunshots/laser_clown.ogg
+    - type: SpamEmitSound
+      sound:
+        collection: BikeHorn
     - type: NpcFactionMember
       factions:
         - SimpleHostile
@@ -74,6 +93,8 @@
       spawned:
         - id: MaterialBananium1
           amount: 2
+        - id: WeaponBehonkerLaser
+          amount: 1
     - type: MeleeWeapon
       hidden: true
       soundHit:
           Radiation: 10
     - type: Input
       context: "human"
-    - type: Hands
-      showInHands: false
-    - type: Body
-      prototype: Behonker
 
 - type: entity
   name: behonker