adds destructible to power structures (#8536)
This commit is contained in:
@@ -45,6 +45,9 @@
|
|||||||
supplyRampTolerance: 500
|
supplyRampTolerance: 500
|
||||||
- type: Anchorable
|
- type: Anchorable
|
||||||
- type: Pullable
|
- type: Pullable
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
|
|||||||
@@ -69,3 +69,25 @@
|
|||||||
supplyRampTolerance: 1000
|
supplyRampTolerance: 1000
|
||||||
supplyRampRate: 500
|
supplyRampRate: 500
|
||||||
- type: WallMount
|
- type: WallMount
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 200
|
||||||
|
behaviors: #excess damage, don't spawn entities.
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
SheetSteel1:
|
||||||
|
min: 1
|
||||||
|
max: 1
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
|||||||
@@ -138,6 +138,9 @@
|
|||||||
maxChargeRate: 5000
|
maxChargeRate: 5000
|
||||||
supplyRampTolerance: 5000
|
supplyRampTolerance: 5000
|
||||||
supplyRampRate: 1000
|
supplyRampRate: 1000
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
@@ -146,9 +149,15 @@
|
|||||||
behaviors:
|
behaviors:
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: ["Destruction"]
|
acts: ["Destruction"]
|
||||||
|
- !type:ExplodeBehavior
|
||||||
- !type:PlaySoundBehavior
|
- !type:PlaySoundBehavior
|
||||||
sound:
|
sound:
|
||||||
path: /Audio/Effects/metalbreak.ogg
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- type: Explosive
|
||||||
|
explosionType: Default
|
||||||
|
maxIntensity: 50
|
||||||
|
intensitySlope: 2
|
||||||
|
totalIntensity: 100
|
||||||
|
|
||||||
# Substations in use
|
# Substations in use
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user