Prototype/Achievement
Revision as of 19:38, 16 July 2017 by LazyFridge (talk | contribs) (Prototypes/Achievement page added. Planning on finishing up the extensions.)
Basics
This Prototype Definition is used for the in-game achievements.
Extensions
- Prototype/BuildEntityAchievement build-entity-achievement
- Prototype/CombatRobotCount combat-robot-count
- Prototype/ConstructWithRobotsAchievement construct-with-robots-achievement
- Prototype/DeconstructWithRobotsAchievement deconstruct-with-robots-achievement
- Prototype/DeliverByRobotsAchievement deliver-by-robots-achievement
- Prototype/DontBuildEntityAchievement dont-build-entity-achievement
- Prototype/DontCraftManuallyAchievement dont-craft-manually-achievement
- Prototype/DontUseEntityInEnergyProductionAchievement dont-use-entity-in-energy-production-achievement
- Prototype/FinishTheGameAchievement finish-the-game-achievement
- Prototype/GroupAttackAchievement group-attack-achievement
- Prototype/KillAchievement kill-achievement
- Prototype/PlayerDamagedAchievement player-damaged-achievement
- Prototype/ProduceAchievement produce-achievement
- Prototype/ProducePerHourAchievement produce-per-hour-achievement
- Prototype/ResearchAchievement research-achievement
- Prototype/TrainPathAchievement train-path-achievement
Mandatory Properties
type
Type: Types/string
Specification of the type of the prototype.
Built-in Achievement types:
"build-entity-achievement", "research-achievement", "finish-the-game-achievement", "group-attack-achievement", "construct-with-robots-achievement", "deconstruct-with-robots-achievement", "deliver-by-robots-achievement", "train-path-achievement", "player-damaged-achievement", "produce-achievement", "produce-per-hour-achievement", "dont-use-entity-in-energy-production-achievement", "kill-achievement", "combat-robot-count", "dont-craft-manually-achievement", "dont-build-entity-achievement", "achievement",
name
Type: Types/string
Unique identification of the prototype.
icon
Type: Types/FileName
steam_stats_name
Type: Types/string
Unusable by mods, as this refers to unlocking the achievement through Steam.
General Optional Properties
Note: more achievement-specific types will be in their respective Prototype page.
until_second
Type: Types/unsigned
This lets the game know how long into a game, before you can no longer complete the achievement.
until_second = 60 * 60 * 8, --8 hours. 60 being seconds, 60 being hours, and 8 being the amount of hours.
allowed_in_peaceful_mode
Type: Types/bool
If this is set to false, you cannot complete the achievement on the peaceful difficulty setting.