LambdaHack-0.2.14: A roguelike game engine in early development

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Content.FactionKind

Description

The type of kinds of game factions (heroes, enemies, NPCs, etc.).

Synopsis

Documentation

data FactionKind Source

Faction properties that are fixed for a given kind of factions.

Constructors

FactionKind 

Fields

fsymbol :: !Char

a symbol

fname :: !Text

short description

ffreq :: !Freqs

frequency within groups

fSkillsLeader :: !Skills

skills of the picked leader

fSkillsOther :: !Skills

skills of the other actors

Instances

validateFactionKind :: [FactionKind] -> [FactionKind] 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.