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

Safe HaskellSafe-Infered

Game.LambdaHack.Flavour

Contents

Description

The appearance of in-game items, as communicated to the player.

Synopsis

The Flavour type

data Flavour Source

The type of item flavours.

Constructors

zipPlain, zipFancy :: [Color] -> [Flavour]Source

Turn a colour set into a flavour set.

darkCol, stdCol, brightCol :: [Color]Source

Colour sets.

stdFlav :: [Flavour]Source

The standard full set of flavours.

Accessors

flavourToColor :: Flavour -> ColorSource

Get the underlying base colour of a flavour.

flavourToName :: Flavour -> StringSource

Construct the full name of a flavour.