License | BSD-3-Clause |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Swarm.Game.Achievement.Definitions
Contents
Description
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 {}
- data ValidityConditions = ValidityConditions SystemTypeValidity GameplayModeValidity
- data SystemTypeValidity
- data GameplayModeValidity
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.
Constructors
CraftedBitcoin | |
RobotIntoWater | |
AttemptSelfDestructBase | |
DestroyedBase | |
LoseScenario | |
GetDisoriented | |
SwapSame | |
GaveToSelf |
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.
Constructors
Quotation | |
Fields
|
Instances
FromJSON Quotation Source # | |
Defined in Swarm.Game.Achievement.Definitions | |
ToJSON Quotation Source # | |
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.6.0.0-ERx1HMcRMba59aI2b6aNrS-swarm-scenario" '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.
Constructors
Freeform (Document Syntax) | |
FTQuotation Quotation |
Instances
data AchievementInfo Source #
Information about an achievement. See
Swarm.Game.Achievement.Description for a mapping from
achievements to an corresponding AchievementInfo
record.
Constructors
AchievementInfo | |
Fields
|
Instances
data ValidityConditions Source #
Constructors
ValidityConditions SystemTypeValidity GameplayModeValidity |
Instances
data SystemTypeValidity Source #
Constructors
ValidForSystemRobot | |
OnlyPlayerRobot |
Instances
data GameplayModeValidity Source #
Constructors
ValidInCreativeMode | |
ExcludesCreativeMode |