Safe Haskell | None |
---|
Abstract syntax human player commands.
- data HumanCmd
- = Move !VectorXY
- | Run !VectorXY
- | Wait
- | Pickup
- | Drop
- | Project ![Trigger]
- | Apply ![Trigger]
- | AlterDir ![Trigger]
- | TriggerTile ![Trigger]
- | GameRestart !Text
- | GameExit
- | GameSave
- | CfgDump
- | SelectHero !Int
- | MemberCycle
- | MemberBack
- | Inventory
- | TgtFloor
- | TgtEnemy
- | TgtAscend !Int
- | EpsIncr !Bool
- | Cancel
- | Accept
- | Clear
- | History
- | MarkVision
- | MarkSmell
- | MarkSuspect
- | Help
- data Trigger
- majorHumanCmd :: HumanCmd -> Bool
- minorHumanCmd :: HumanCmd -> Bool
- noRemoteHumanCmd :: HumanCmd -> Bool
- cmdDescription :: HumanCmd -> Text
Documentation
data HumanCmd
Abstract syntax of player commands.
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.