fixes behonkers, they now function like spitters and will attack via ai with behonk laser. (#21003)

This commit is contained in:
brainfood1183
2023-10-16 06:29:14 +01:00
committed by GitHub
parent 27b9c35c57
commit 3ecaa6523e
2 changed files with 22 additions and 16 deletions

View File

@@ -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

View File

@@ -13,7 +13,26 @@
- 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:
@@ -92,10 +113,6 @@
Radiation: 10
- type: Input
context: "human"
- type: Hands
showInHands: false
- type: Body
prototype: Behonker
- type: entity
name: behonker