LambdaHack-0.2.1: A roguelike game engine in early and very active development

Safe HaskellSafe-Infered

Game.LambdaHack.Content.ItemKind

Description

The type of kinds of weapons and treasure.

Synopsis

Documentation

data ItemKind Source

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

Constructors

ItemKind 

Fields

isymbol :: !Char

map symbol

iname :: !String

generic name

ifreq :: !Freqs

frequency within groups

iflavour :: ![Flavour]

possible flavours

ieffect :: !Effect

the effect when activated

icount :: !RollDeep

created in that quantify

ipower :: !RollDeep

created with that power

iverbApply :: !String

the verb for applying and possibly combat

iverbProject :: !String

the verb for projecting

iweight :: !Int

weight in grams

itoThrow :: !Int

percentage bonus or malus to throw speed

Instances

ivalidate :: [ItemKind] -> [ItemKind]Source

No specific possible problems for the content of this kind, so far, so the validation function always returns the empty list of offending kinds.