Safe Haskell | None |
---|---|
Language | Haskell2010 |
Possible causes of failure of request.
Synopsis
- data ReqFailure
- = MoveUnskilled
- | MoveNothing
- | MeleeUnskilled
- | MeleeSelf
- | MeleeDistant
- | DisplaceUnskilled
- | DisplaceDistant
- | DisplaceAccess
- | DisplaceMultiple
- | DisplaceDying
- | DisplaceBraced
- | DisplaceImmobile
- | DisplaceSupported
- | AlterUnskilled
- | AlterUnwalked
- | AlterDistant
- | AlterBlockActor
- | AlterBlockItem
- | AlterNothing
- | WaitUnskilled
- | YellUnskilled
- | MoveItemUnskilled
- | EqpOverfull
- | EqpStackFull
- | ApplyUnskilled
- | ApplyFood
- | ApplyRead
- | ApplyPeriodic
- | ApplyOutOfReach
- | ApplyCharging
- | ApplyNoEffects
- | ItemNothing
- | ItemNotCalm
- | NotCalmPrecious
- | ProjectUnskilled
- | ProjectAimOnself
- | ProjectBlockTerrain
- | ProjectBlockActor
- | ProjectLobable
- | ProjectOutOfReach
- | TriggerNothing
- | NoChangeDunLeader
- impossibleReqFailure :: ReqFailure -> Bool
- showReqFailure :: ReqFailure -> Text
- permittedPrecious :: Bool -> Bool -> ItemFull -> Either ReqFailure Bool
- permittedProject :: Bool -> Int -> Bool -> ItemFull -> Either ReqFailure Bool
- permittedProjectAI :: Int -> Bool -> ItemFull -> Bool
- permittedApply :: Time -> Int -> Bool -> ItemFull -> ItemQuant -> Either ReqFailure Bool
Documentation
data ReqFailure Source #
Possible causes of failure of request.
Instances
showReqFailure :: ReqFailure -> Text Source #
permittedPrecious :: Bool -> Bool -> ItemFull -> Either ReqFailure Bool Source #
permittedProject :: Bool -> Int -> Bool -> ItemFull -> Either ReqFailure Bool Source #