Safe Haskell | None |
---|
Abstract syntax human player commands.
- data CmdCategory
- data HumanCmd
- = Move !Vector
- | Run !Vector
- | Wait
- | MoveItem ![CStore] !CStore !Part !Part !Bool
- | Project ![Trigger]
- | Apply ![Trigger]
- | AlterDir ![Trigger]
- | TriggerTile ![Trigger]
- | StepToTarget
- | GameRestart !GroupName
- | GameExit
- | GameSave
- | Tactic
- | Automate
- | GameDifficultyCycle
- | PickLeader !Int
- | MemberCycle
- | MemberBack
- | DescribeItem !CStore
- | AllOwned
- | SelectActor
- | SelectNone
- | Clear
- | Repeat !Int
- | Record
- | History
- | MarkVision
- | MarkSmell
- | MarkSuspect
- | Help
- | MainMenu
- | Macro !Text ![String]
- | MoveCursor !Vector !Int
- | TgtFloor
- | TgtEnemy
- | TgtUnknown
- | TgtItem
- | TgtStair !Bool
- | TgtAscend !Int
- | EpsIncr !Bool
- | TgtClear
- | Cancel
- | Accept
- data Trigger
- noRemoteHumanCmd :: HumanCmd -> Bool
- categoryDescription :: CmdCategory -> Text
- cmdDescription :: HumanCmd -> Text
Documentation
data CmdCategory Source
Abstract syntax of player commands.
noRemoteHumanCmd :: HumanCmd -> BoolSource
Commands that are forbidden on a remote level, because they would usually take time when invoked on one. Note that some commands that take time are not included, because they don't take time in targeting mode.
cmdDescription :: HumanCmd -> TextSource
Description of player commands.