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

Safe HaskellSafe-Inferred

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 :: !String

short description

ffreq :: !Freqs

frequency within groups

fAiSelected :: !String

Ai to use for the selected actor

fAiIdle :: !String

Ai to use for idle actors

fenemy :: ![String]

initially in war with these factions

fally :: ![String]

initially allied with these factions

Instances

fvalidate :: [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.