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

Safe HaskellNone

Game.LambdaHack.Client.HumanCmd

Description

Abstract syntax human player commands.

Synopsis

Documentation

data Trigger

Constructors

ApplyItem 

Fields

verb :: !Part
 
object :: !Part
 
symbol :: !Char
 
AlterFeature 

Fields

verb :: !Part
 
object :: !Part
 
feature :: !Feature
 
TriggerFeature 

Fields

verb :: !Part
 
object :: !Part
 
feature :: !Feature
 

majorHumanCmd :: HumanCmd -> Bool

Major commands land on the first page of command help.

minorHumanCmd :: HumanCmd -> Bool

Minor commands land on the second page of command help.

noRemoteHumanCmd :: HumanCmd -> Bool

Commands that are forbidden on a remote level, because they would usually take time when invoked on one. Not that movement commands are not included, because they take time on normal levels, but don't take time on remote levels, that is, in targeting mode.

cmdDescription :: HumanCmd -> Text

Description of player commands.