LambdaHack-0.11.0.1: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Game.LambdaHack.Content.CaveKind

Description

The type of cave kinds. Every level in the game is an instantiated cave kind.

Synopsis

Documentation

data CaveKind Source #

Parameters for the generation of dungeon levels. Warning: for efficiency, avoid embedded items in any of the common tiles.

Constructors

CaveKind 

Fields

Instances

Instances details
Show CaveKind Source # 
Instance details

Defined in Game.LambdaHack.Content.CaveKind

Internal operations

validateSingle :: RuleContent -> CaveKind -> [Text] Source #

Catch caves with not enough space for all the places. Check the size of the cave descriptions to make sure they fit on screen. Etc.

validateAll :: [CaveKind] -> ContentData CaveKind -> [Text] Source #

Validate all cave kinds. Note that names don't have to be unique: we can have several variants of a cave with a given name.