Fix flares to last their full intended duration + 1 minute (#7605)

Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
Fishfish458
2022-04-18 16:44:05 -06:00
committed by GitHub
parent afb999fb50
commit 530dd4193b

View File

@@ -13,7 +13,7 @@
- type: ExpendableLight - type: ExpendableLight
spentName: spent flare spentName: spent flare
spentDesc: It looks like this flare has burnt out. What a bummer. spentDesc: It looks like this flare has burnt out. What a bummer.
glowDuration: 165 glowDuration: 225
fadeOutDuration: 15 fadeOutDuration: 15
iconStateOn: flare_unlit iconStateOn: flare_unlit
iconStateSpent: flare_spent iconStateSpent: flare_spent
@@ -47,6 +47,7 @@
color: "#FF8080" color: "#FF8080"
radius: 1.0 radius: 1.0
energy: 9.0 energy: 9.0
netsync: false
- type: LightBehaviour - type: LightBehaviour
behaviours: behaviours:
- !type:RandomizeBehaviour # immediately make it bright and flickery - !type:RandomizeBehaviour # immediately make it bright and flickery
@@ -61,7 +62,7 @@
- !type:FadeBehaviour # have the radius start small and get larger as it starts to burn - !type:FadeBehaviour # have the radius start small and get larger as it starts to burn
id: turn_on id: turn_on
interpolate: Linear interpolate: Linear
maxDuration: 45.0 #duration of light maxDuration: 45.0
startValue: 2.5 startValue: 2.5
endValue: 10.0 endValue: 10.0
property: Radius property: Radius
@@ -78,6 +79,6 @@
id: fade_out id: fade_out
interpolate: Linear interpolate: Linear
maxDuration: 15.0 maxDuration: 15.0
startValue: 8.0 startValue: 10.0
endValue: 1.0 endValue: 1.0
property: Radius property: Radius