Make fuel tanks explodey again (#4670)
* make fuel tanks explodey again * tanks now take damage from lit welders,
This commit is contained in:
@@ -28,10 +28,22 @@
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTypeTrigger
|
||||
damageType: Heat
|
||||
damage: 5
|
||||
behaviors:
|
||||
#spill BEFORE exploding, so that one day explosions can ignite puddles
|
||||
- !type:SpillBehavior
|
||||
solution: tank
|
||||
- !type:ExplodeBehavior
|
||||
#note: only actually explodes if entity has ExplosiveComponent.
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 10
|
||||
behaviors:
|
||||
- !type:SpillBehavior
|
||||
solution: tank
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: SolutionContainerManager
|
||||
|
||||
@@ -12,6 +12,19 @@
|
||||
state: fueltank
|
||||
- type: ReagentTank
|
||||
tankType: Fuel
|
||||
- type: DamageOnToolInteract
|
||||
tools:
|
||||
- 16 # welding
|
||||
weldingDamage:
|
||||
types:
|
||||
Heat: 10
|
||||
- type: Explosive
|
||||
# The explosive component is independent of the stored liquid :/
|
||||
# I dream of a day where all grenades/explosives will be reagent dependent.
|
||||
devastationRange: 0
|
||||
heavyImpactRange: 2
|
||||
lightImpactRange: 6
|
||||
flashRange: 5
|
||||
|
||||
- type: entity
|
||||
id: WeldingFuelTankFull
|
||||
@@ -20,11 +33,6 @@
|
||||
suffix: Full
|
||||
description: A storage tank containing welding fuel.
|
||||
components:
|
||||
- type: Explosive
|
||||
devastationRange: 0
|
||||
heavyImpactRange: 2
|
||||
lightImpactRange: 6
|
||||
flashRange: 5
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
tank:
|
||||
|
||||
Reference in New Issue
Block a user