LambdaHack-0.4.99.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone

Game.LambdaHack.Content.ItemKind

Description

The type of kinds of weapons, treasure, organs, shrapnel and actors.

Synopsis

Documentation

data ItemKind Source

Item properties that are fixed for a given kind of items.

Constructors

ItemKind 

Fields

isymbol :: !Char

map symbol

iname :: !Text

generic name

ifreq :: !Freqs

frequency within groups

iflavour :: ![Flavour]

possible flavours

icount :: !Dice

created in that quantity

irarity :: !Rarity

rarity on given depths

iverbHit :: !Part

the verb for applying and melee

iweight :: !Int

weight in grams

iaspects :: ![Aspect Dice]

keep the aspect continuously

ieffects :: ![Effect Dice]

cause the effect when triggered

ifeature :: ![Feature]

public properties

idesc :: !Text

description

ikit :: ![(GroupName, CStore)]

accompanying organs and items

Instances

validateSingleItemKind :: ItemKind -> [Text]Source

Catch invalid item kind definitions.

validateAllItemKind :: [ItemKind] -> [Text]Source

Validate all item kinds.