License | BSD-3-Clause |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Definitions of all possible achievements.
Synopsis
- data CategorizedAchievement
- data GlobalAchievement
- data GameplayAchievement
- listAchievements :: [CategorizedAchievement]
- data ExpectedEffort
- data Quotation = Quotation {
- attribution :: Text
- content :: Text
- data FlavorText
- data AchievementInfo = AchievementInfo {}
Achievements
data CategorizedAchievement Source #
An achievement, categorized as either global or gameplay.
Instances
data GlobalAchievement Source #
Achievements that entail some aggregate of actions across scenarios, or are independent of any particular scenario.
Instances
data GameplayAchievement Source #
Achievements obtained while playing a single scenario.
CraftedBitcoin | |
RobotIntoWater | |
AttemptSelfDestructBase | |
DestroyedBase | |
LoseScenario | |
GetDisoriented | |
SwapSame |
Instances
listAchievements :: [CategorizedAchievement] Source #
List of all possible achievements.
Achievement info
data ExpectedEffort Source #
How hard do we expect the achievement to be?
Instances
A quotation to spice up the description of an achievement.
Quotation | |
|
Instances
FromJSON Quotation Source # | |
ToJSON Quotation Source # | |
Defined in Swarm.Game.Achievement.Definitions | |
Generic Quotation Source # | |
Show Quotation Source # | |
Eq Quotation Source # | |
type Rep Quotation Source # | |
Defined in Swarm.Game.Achievement.Definitions type Rep Quotation = D1 ('MetaData "Quotation" "Swarm.Game.Achievement.Definitions" "swarm-0.5.0.0-6qXEbhCmuXA4wRndqqhBu" 'False) (C1 ('MetaCons "Quotation" 'PrefixI 'True) (S1 ('MetaSel ('Just "attribution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
data FlavorText Source #
Flavor text to spice up the description of an achievement, either freeform text or a quotation.
Instances
data AchievementInfo Source #
Information about an achievement. See
Swarm.Game.Achievement.Description for a mapping from
achievements to an corresponding AchievementInfo
record.
AchievementInfo | |
|