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.json.builder.JsonFactory

@JsonFactory
data class StatusEffectDefinition(
	val name: String,
	val defaultDuration: Double = 0.0,
	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
