Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Description of effects.
Synopsis
- data DetailLevel
- defaultDetailLevel :: DetailLevel
- effectToSuffix :: DetailLevel -> Effect -> Text
- detectToObject :: DetectKind -> Text
- detectToVerb :: DetectKind -> Text
- skillName :: Skill -> Text
- skillDesc :: Skill -> Text
- skillToDecorator :: Skill -> Actor -> Int -> Text
- skillsInDisplayOrder :: [Skill]
- kindAspectToSuffix :: Aspect -> Text
- aspectToSentence :: Aspect -> Maybe Text
- affixDice :: Dice -> Text
- describeToolsAlternative :: [[(Int, GroupName ItemKind)]] -> Text
- describeCrafting :: [(Int, GroupName ItemKind)] -> [(Int, GroupName ItemKind)] -> Effect -> (Text, Text, Text)
- wrapInParens :: Text -> Text
- conditionToObject :: Condition -> Text
- activationFlagToObject :: ActivationFlag -> Text
- slotToSentence :: EqpSlot -> Text
- tmodToSuff :: Text -> ThrowMod -> Text
- affixBonus :: Int -> Text
- wrapInChevrons :: Text -> Text
Documentation
data DetailLevel Source #
Instances
effectToSuffix :: DetailLevel -> Effect -> Text Source #
Suffix to append to a basic content name if the content causes the effect.
We show absolute time in seconds, not moves
, because actors can have
different speeds (and actions can potentially take different time intervals).
We call the time taken by one player move, when walking, a move
.
Turn
and clip
are used mostly internally, the former as an absolute
time unit.
We show distances in steps
, because one step, from a tile to another
tile, is always 1 meter. We don't call steps tiles
, reserving
that term for the context of terrain kinds or units of area.
detectToObject :: DetectKind -> Text Source #
detectToVerb :: DetectKind -> Text Source #
skillsInDisplayOrder :: [Skill] Source #
kindAspectToSuffix :: Aspect -> Text Source #
describeCrafting :: [(Int, GroupName ItemKind)] -> [(Int, GroupName ItemKind)] -> Effect -> (Text, Text, Text) Source #
wrapInParens :: Text -> Text Source #
Internal operations
conditionToObject :: Condition -> Text Source #
slotToSentence :: EqpSlot -> Text Source #
affixBonus :: Int -> Text Source #
wrapInChevrons :: Text -> Text Source #