Disposable turret explodes when empty (#18175)
* turret go boom * fix ammo * universal function name * Also explodes when destroyed * comment added * Triggerwhenemptycomponent added * comment adjusted * Updated uplink description * Moved to own event file * file namespace * rerun tests --------- Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
This commit is contained in:
@@ -143,14 +143,7 @@
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
WeaponTurretSyndicateBroken:
|
||||
min: 1
|
||||
max: 1
|
||||
- !type:TriggerBehavior
|
||||
- type: Gun
|
||||
fireRate: 2
|
||||
selectedMode: FullAuto
|
||||
@@ -168,6 +161,14 @@
|
||||
- type: Repairable
|
||||
qualityNeeded: "Anchoring"
|
||||
doAfterDelay: 3
|
||||
- type: TriggerWhenEmpty
|
||||
- type: ExplodeOnTrigger
|
||||
- type: Explosive
|
||||
explosionType: Default
|
||||
maxIntensity: 10
|
||||
intensitySlope: 1.5
|
||||
totalIntensity: 30
|
||||
canCreateVacuum: false
|
||||
|
||||
- type: entity
|
||||
parent: BaseWeaponTurret
|
||||
|
||||
Reference in New Issue
Block a user