Explosion refactor TEST MERG (#6995)
* Explosions * fix yaml typo and prevent silly UI inputs * oop Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
This commit is contained in:
@@ -88,13 +88,11 @@
|
||||
amount: 1
|
||||
effects:
|
||||
- !type:ExplosionReactionEffect
|
||||
#Ranges used when 1 potassium + 1 water react (A unit reaction)
|
||||
devastationRange: 0.025
|
||||
heavyImpactRange: 0.05
|
||||
lightImpactRange: 0.075
|
||||
flashRange: 0.1
|
||||
scaled: true #Scaled proportionally to amount of potassium and water
|
||||
maxScale: 20 #Explosion strength stops scaling at 20 potassium + 20 water
|
||||
explosionType: Default
|
||||
maxIntensity: 1 # at most 15 damage per tile
|
||||
intensityPerUnit: 0.5 # 50+50 reagent for maximum explosion
|
||||
intensitySlope: 2
|
||||
maxTotalIntensity: 25
|
||||
|
||||
- type: reaction
|
||||
id: Smoke
|
||||
|
||||
@@ -37,12 +37,14 @@
|
||||
amount: 3
|
||||
effects:
|
||||
# TODO electro's pretty explosions PR make this big and firey!!
|
||||
# Welp its fiery now (low damage). Someone else needs to come in and define how big it should get & how it compares to potassium
|
||||
# TODO solution temperature!!
|
||||
- !type:ExplosionReactionEffect
|
||||
devastationRange: 0
|
||||
heavyImpactRange: 0
|
||||
lightImpactRange: 2
|
||||
scaled: false
|
||||
explosionType: Default # 15 damage per intensity
|
||||
maxIntensity: 2 # at most 30 damage per tile.
|
||||
intensityPerUnit: 2 # 80 total input reagent units for max size
|
||||
intensitySlope: 1
|
||||
maxTotalIntensity: 40
|
||||
- !type:PopupMessage
|
||||
messages: [ "clf3-explosion" ]
|
||||
type: Pvs
|
||||
|
||||
Reference in New Issue
Block a user