Commit graph

3 commits

Author SHA1 Message Date
Tahsin Jahin Khalid
89361ba152
[MP] Add Survival Scenario Achievements (#7347)
1. Dark Forecast
2. Isle of Mists
3. Team Survival
4. ANL
5. ANL Mines
6. ANL Rescue
2023-02-10 02:31:33 +08:00
Pentarctagon
7825de6a71 Have hidden achievements actually be hidden.
Also hidden_name and hidden_hint are no longer attributes of [achievement].
2023-02-04 21:40:02 -06:00
Pentarctagon
d1465a9eb9
Add basic achievements functionality. (#7237)
* Add basic achievements functionality.

This reads the mainline achievements.cfg and then all the achievements of each installed add-on.

This is intentionally handled separately from other WML loading so that:
a) All achievements and their status are able to be displayed on the main menu right after Wesnoth starts and regardless of which add-ons are active.
b) Add-ons can add additional achievements to other content, whether UMC or mainline. For example, a modification that adds more achievements for mainline campaigns.

Marking something as achieved is handled by the new [set_achieved] tag and whether an achievement has been completed can be checked via [has_achievement].

There is no attempt to prevent people from manually editing which achievements they've accomplished.

NOTE: These are *not* in any way related to Steam achievements!
2023-01-21 10:32:45 -06:00