# HG changeset patch # User Wuzzy # Date 1572404364 0 # Node ID de9ad743666e52ede1ceb8c37208729f041a7f81 # Parent f02fee463bf9f477c184541da4f0807f3cdc6db4 ConfigurationFiles: Update Progress diff -r f02fee463bf9 -r de9ad743666e ConfigurationFiles.wiki --- a/ConfigurationFiles.wiki Wed Oct 30 02:33:19 2019 +0000 +++ b/ConfigurationFiles.wiki Wed Oct 30 02:59:24 2019 +0000 @@ -379,10 +379,10 @@ For non-linear campaigns, the variables `UnlockedMissions`, `MissionX`, `MissionXWon` and `Won` are used. The variables should not be mixed up. -Since Hedgewars 0.9.23, completed missions and campaigns get a check mark in the campaign screen. +Completed missions and campaigns get a check mark in the campaign screen. || *Setting* || *Type* || *Description* || -|| `Progress` || Integer || Since version 0.9.23, this variable stands for the number of completed missions in a linear campaign, starting with mission 1. For each completed mission, the next one gets unlocked. Previous versions have a slightly trickier definition: If present, this number of missions _additional to the first mission_ are unlocked in the menu, starting with the second mission and continuing with the following missions in their regular order (as specified in `campaign.ini`). If the number is `0`, only the first mission is available. || +|| `Progress` || Integer || This variable stands for the number of completed missions in a linear campaign, starting with mission 1. For each completed mission, the next one gets unlocked. If the number is `0`, only the first mission is available. || || `UnlockedMissions` || Integer || This number specifies how many missions are unlocked. If this variable is set, then the variables `Mission1`, `Mission2`, etc. must be used to specfify the IDs of the unlocked missions. || || `MissionX` || Integer || E.g. `Mission1`, `Mission2`, etc. Contains the `campaign.ini` ID of the `X`th unlocked mission, must be used together with `UnlockedMissions` || || `MissionXWon` || Boolean || E.g. `Mission1Won`, `Mission2Won`, etc. If `true`, the mission with the number `X` in `campaign.ini` has been completed. ||