package ru.dbotthepony.kstarbound.defs.item

import com.google.common.collect.ImmutableSet
import ru.dbotthepony.kstarbound.defs.AssetPath

data class ItemGlobalConfig(
	val defaultMaxStack: Long,
	val defaultPrice: Long,
	val pickupSounds: ImmutableSet<AssetPath>,
	val defaultTimeToLive: Double,
	val missingIcon: AssetPath,
) {
	val pickupSoundsAbsolute: ImmutableSet<String> = pickupSounds.stream().map { it.fullPath }.collect(ImmutableSet.toImmutableSet())
}
