Fix flares to last their full intended duration + 1 minute (#7605)
Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
- type: ExpendableLight
|
||||
spentName: spent flare
|
||||
spentDesc: It looks like this flare has burnt out. What a bummer.
|
||||
glowDuration: 165
|
||||
glowDuration: 225
|
||||
fadeOutDuration: 15
|
||||
iconStateOn: flare_unlit
|
||||
iconStateSpent: flare_spent
|
||||
@@ -47,6 +47,7 @@
|
||||
color: "#FF8080"
|
||||
radius: 1.0
|
||||
energy: 9.0
|
||||
netsync: false
|
||||
- type: LightBehaviour
|
||||
behaviours:
|
||||
- !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
|
||||
id: turn_on
|
||||
interpolate: Linear
|
||||
maxDuration: 45.0 #duration of light
|
||||
maxDuration: 45.0
|
||||
startValue: 2.5
|
||||
endValue: 10.0
|
||||
property: Radius
|
||||
@@ -78,6 +79,6 @@
|
||||
id: fade_out
|
||||
interpolate: Linear
|
||||
maxDuration: 15.0
|
||||
startValue: 8.0
|
||||
startValue: 10.0
|
||||
endValue: 1.0
|
||||
property: Radius
|
||||
|
||||
Reference in New Issue
Block a user