Skip to content

BodyPartDefinition

interface BodyPartDefinition
Example
fun giveApron(player: Actor, apron: BodyPartDefinition) {
val look = player.findComponent<Appearance>() ?: return
look.torso = apron.id
look.dirty = true
}
val name: String
val id: Int
val asset: Asset