19 lines
662 B
Kotlin
19 lines
662 B
Kotlin
package ru.dbotthepony.kstarbound.defs
|
|
|
|
import com.google.common.collect.ImmutableList
|
|
import ru.dbotthepony.kstarbound.defs.animation.AnimationDefinition
|
|
import ru.dbotthepony.kstarbound.defs.image.SpriteReference
|
|
import ru.dbotthepony.kstarbound.io.json.builder.JsonFactory
|
|
|
|
@JsonFactory
|
|
data class StatusEffectDefinition(
|
|
val name: String,
|
|
val defaultDuration: Double,
|
|
val blockingStat: String? = null,
|
|
val label: String? = null,
|
|
val icon: SpriteReference? = null,
|
|
override val scripts: ImmutableList<AssetPath> = ImmutableList.of(),
|
|
override val scriptDelta: Int = 1,
|
|
val animationConfig: AssetReference<AnimationDefinition>? = null,
|
|
) : IScriptable
|