Add missing defaults to StatusControllerConfig
This commit is contained in:
parent
6729f2decc
commit
8ef6bead2c
@ -10,9 +10,9 @@ import ru.dbotthepony.kstarbound.json.builder.JsonFactory
|
||||
@JsonFactory
|
||||
data class StatusControllerConfig(
|
||||
val statusProperties: JsonObject = JsonObject(),
|
||||
val minimumLiquidStatusEffectPercentage: Double,
|
||||
val appliesEnvironmentStatusEffects: Boolean,
|
||||
val appliesWeatherStatusEffects: Boolean,
|
||||
val minimumLiquidStatusEffectPercentage: Double = 0.5,
|
||||
val appliesEnvironmentStatusEffects: Boolean = true,
|
||||
val appliesWeatherStatusEffects: Boolean = true,
|
||||
val environmentStatusEffectUpdateTimer: Double = 0.15,
|
||||
val primaryAnimationConfig: AssetPath? = null,
|
||||
val primaryScriptSources: ImmutableList<AssetPath> = ImmutableList.of(),
|
||||
@ -40,4 +40,8 @@ data class StatusControllerConfig(
|
||||
val initialValue: Double? = null,
|
||||
val initialPercentage: Double? = null,
|
||||
)
|
||||
|
||||
companion object {
|
||||
val EMPTY = StatusControllerConfig()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user