Safe Haskell | None |
---|
The appearance of in-game items, as communicated to the player.
- data Flavour
- zipPlain :: [Color] -> [Flavour]
- zipFancy :: [Color] -> [Flavour]
- stdFlav :: [Flavour]
- flavourToColor :: Flavour -> Color
- flavourToName :: Flavour -> Text
- colorToTeamName :: Color -> Text
- colorToPlainName :: Color -> Text
- colorToFancyName :: Color -> Text
The Flavour
type
data Flavour
The type of item flavours.
Constructors
Accessors
flavourToColor :: Flavour -> Color
Get the underlying base colour of a flavour.
flavourToName :: Flavour -> Text
Construct the full name of a flavour.
Assorted
colorToTeamName :: Color -> Text
Simple names for team colors (bright colours preferred).
colorToPlainName :: Color -> Text
Human-readable names, for item colors. The simple set.
colorToFancyName :: Color -> Text
Human-readable names, for item colors. The fancy set.