Explosion refactor fixes pt1 (#7375)

This commit is contained in:
Leon Friedrich
2022-04-05 19:22:35 +12:00
committed by GitHub
parent 722a408c41
commit 311450864c
15 changed files with 239 additions and 78 deletions

View File

@@ -1004,10 +1004,9 @@
beepInterval: 1
- type: Explosive
explosionType: Default
devastationRange: 1
heavyImpactRange: 2
lightImpactRange: 3
flashRange: 6
maxIntensity: 15
intensitySlope: 5
totalIntensity: 120
- type: ExplodeOnTrigger
- type: entity

View File

@@ -30,9 +30,10 @@
state: payload-explosive-armed
- type: Explosive
explosionType: Default
devastationRange: 0
heavyImpactRange: 2
lightImpactRange: 4
# same as the standard grenade, but those numbers were also just picked out of a hat.
maxIntensity: 10
intensitySlope: 3
totalIntensity: 120 # about a ~4 tile radius
flashRange: 7
- type: ExplodeOnTrigger
- type: Destructible

View File

@@ -191,6 +191,7 @@
maxIntensity: 40
intensitySlope: 6
totalIntensity: 200
maxTileBreak: 1
- type: PointLight
radius: 3.5
color: orange
@@ -209,10 +210,10 @@
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default
devastationRange: 0
heavyImpactRange: 0
lightImpactRange: 1
flashRange: 10
maxIntensity: 2 # max 30 per tile
intensitySlope: 1
totalIntensity: 4 # 60 total damage to distribute over tiles
maxTileBreak: 1
- type: PointLight
radius: 3.5
color: orange

View File

@@ -96,10 +96,9 @@
- type: Explosive
explosionType: Default
# About a 3-3.5 tile radius, strong enough to break reinforced walls near centre.
# Currently a big spacing hazzard.
totalIntensity: 800
intensitySlope: 15
maxIntensity: 45
maxTileBreak: 1 # for destroying walls, not spacing the hallway
- type: ExplodeOnTrigger
- type: Damageable
damageContainer: Inorganic

View File

@@ -63,10 +63,10 @@
- !type:ExplodeBehavior
- type: Explosive
explosionType: Default
devastationRange: 1
heavyImpactRange: 3
lightImpactRange: 5
flashRange: 6
# Same as AME, but numbers still picked from a hat.
maxIntensity: 100
intensitySlope: 2
totalIntensity: 200
# Base Wallmount Generator