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

Safe HaskellNone

Game.LambdaHack.Common.Feature

Description

Terrain tile features.

Synopsis

Documentation

data Feature Source

All possible terrain tile features, some of them parameterized or dependent on outside coefficients, e.g., on the tile secrecy value.

Constructors

Ascendable

triggered by ascending

Descendable

triggered by descending

Escapable

triggered by escaping

Openable

triggered by opening

Closable

triggered by closing

Cause !(Effect Int)

causes the effect when triggered

ChangeTo !Text

transitions to a tile of the group when triggered

Walkable

actors can walk through

Clear

actors can see through

Lit

is lit with an ambient shine

Suspect

may not be what it seems (clients only)

Aura !(Effect Int)

sustains the effect continuously, TODO

Impenetrable

can never be excavated nor seen through

CanItem

items can be generated there

CanActor

actors and stairs can be generated there

Exit

is a (not hidden) door, stair, etc.

Path

used for visible paths throughout the level

HiddenAs !Text

when hidden, looks as a tile of the group