Home

AchievementPrototype

This prototype definition is used for the in-game achievements.

Parent

Properties

icons

Can't be an empty array.

icon

Path to the icon file.

Only loaded, and mandatory if icons is not defined.

icon_size

The size of the square icon, in pixels. E.g. 32 for a 32px by 32px icon. Must be larger than 0.

The base game uses 128px icons for achievements.

Only loaded if icons is not defined.

steam_stats_name

Unusable by mods, as this refers to unlocking the achievement through Steam.

allowed_without_fight

If this is set to false, it is not possible to complete the achievement on the peaceful difficulty setting or when the enemy base generation settings have been changed.