1--       _________ __                 __
2--      /   _____//  |_____________ _/  |______     ____  __ __  ______
3--      \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
4--      /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
5--     /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
6--             \/                  \/          \//_____/            \/
7--  ______________________                           ______________________
8--                        T H E   W A R   B E G I N S
9--         Stratagus - A free fantasy real time strategy game engine
10--
11--      (c) Copyright 2013-2019 by Andrettin
12--
13--      This program is free software; you can redistribute it and/or modify
14--      it under the terms of the GNU General Public License as published by
15--      the Free Software Foundation; either version 2 of the License, or
16--      (at your option) any later version.
17--
18--      This program is distributed in the hope that it will be useful,
19--      but WITHOUT ANY WARRANTY; without even the implied warranty of
20--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21--      GNU General Public License for more details.
22--
23--      You should have received a copy of the GNU General Public License
24--      along with this program; if not, write to the Free Software
25--      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26--
27
28DefineAchievement("the-settlement-of-scandinavia", {
29	Name = "The Settlement of Scandinavia",
30	Icon = "icon-germanic-warrior",
31	Description = "Complete the On the Vanaquisl, Westward Migration and The Settlement of Scandinavia scenarios.",
32	PlayerColor = "orange",
33	RequiredQuests = {"on-the-vanaquisl", "westward-migration", "the-settlement-of-scandinavia"}
34})
35
36DefineAchievement("heimdalls-progeny", {
37	Name = "Haimadala's Progeny",
38	Icon = "icon-jarl",
39	Description = "Complete the Haimadala's Progeny scenario.",
40	PlayerColor = "yellow",
41	RequiredQuests = {"heimdalls-progeny"}
42})
43
44DefineAchievement("thors-servant", {
45	Name = "Thunraz's Servant",
46	Icon = "icon-thor",
47	Description = "Complete the Thunraz's Servant scenario.",
48	PlayerColor = "white",
49	RequiredQuests = {"thors-servant"}
50})
51
52DefineAchievement("the-first-marcomannic-war", {
53	Name = "The First Marcomannic War",
54	Icon = "icon-suebi-swordsman",
55	Description = "Complete the The Sack of Iuvavum and The Razing of Opitergium missions.",
56	PlayerColor = "orange",
57	RequiredQuests = {"the-sack-of-iuvavum", "the-razing-of-opitergium"}
58})
59
60DefineAchievement("the-conquest-of-galicia", {
61	Name = "The Conquest of Galicia",
62	Icon = "icon-teuton-spatha",
63	Description = "Complete the Moving into Galicia mission.",
64	PlayerColor = "black",
65	RequiredQuests = {"moving-into-galicia"}
66})
67
68DefineAchievement("the-blue-danube", {
69	Name = "The Blue Danube",
70	Icon = "icon-saxon-swordsman",
71	Description = "Complete the The Blue Danube mission.",
72	PlayerColor = "cyan",
73	RequiredQuests = {"the-blue-danube"}
74})
75
76DefineAchievement("the-first-dwarves", {
77	Name = "The First Dwarves",
78	Icon = "icon-brising-miner",
79	Description = "Complete the The First Dwarves scenario.",
80	PlayerColor = "red",
81	RequiredQuests = {"the-first-dwarves"}
82})
83
84DefineAchievement("the-mightiest-made", {
85	Name = "The Mightiest Made",
86	Icon = "icon-modsognir",
87	Description = "Reach level 10 with Modsognir.",
88	PlayerColor = "red",
89	Character = "modsognir",
90	CharacterLevel = 10
91})
92
93DefineAchievement("a-home-in-the-fields-of-sand", {
94	Name = "A Home in the Fields of Sand",
95	Icon = "icon-joruvellir-scout-black-hair",
96	Description = "Complete the A Home in the Fields of Sand scenario.",
97	PlayerColor = "brown",
98	RequiredQuests = {"a-home-in-the-fields-of-sand"}
99})
100
101DefineAchievement("the-treasures-of-svarinshaug", {
102	Name = "The Treasures of Svarinshaug",
103	Icon = "icon-dwarven-runemaster",
104	Description = "Complete the The Mastersmith Brothers, The Ring of Riches, The Thunder Hammer and The Magnificent Spear quests.", -- don't require "The Sleek Ship" here since players are unlikely to build a dock in the dwarven scenarios
105	PlayerColor = "red",
106	RequiredQuests = {"the-mastersmith-brothers", "the-ring-of-riches", "the-thunder-hammer", "the-magnificent-spear"}
107})
108
109DefineAchievement("the-lay-of-alvis", {
110	Name = "The Lay of Alvis",
111	Icon = "icon-dwarven-loremaster",
112	Description = "Complete the The Dripping Hall, The Deep, The Burner and The Weaver of Dreams quests.",
113	PlayerColor = "red",
114	RequiredQuests = {"the-dripping-hall", "the-deep", "the-burner", "the-weaver-of-dreams"}
115})
116
117DefineAchievement("safe-passage", {
118	Name = "Safe Passage",
119	Icon = "icon-dwarven-steelclad",
120	Description = "Destroy the raiders during the A Bargain is Struck quest on Hard difficulty or higher.",
121	PlayerColor = "green",
122	Unobtainable = true, -- it is obtainable only through a trigger
123	Difficulty = DifficultyHard
124})
125
126DefineAchievement("rugnurs-bravery", {
127	Name = "Rugnur's Bravery",
128	Icon = "icon-rugnur-older",
129	Description = "Upgrade Rugnur to a Stonelord.",
130	PlayerColor = "red",
131	Character = "rugnur",
132	CharacterType = "unit-dwarven-thane"
133})
134
135DefineAchievement("the-scepter-of-fire", {
136	Name = "The Scepter of Fire",
137	Icon = "icon-thursagan",
138	Description = "Complete the A Bargain is Struck, Closing the Gates, Searching for the Runecrafter, Gathering Materials, Hills of the Shorbear Clan, The Wyrm and Caverns of Flame missions.",
139	PlayerColor = "red",
140	RequiredQuests = {"a-bargain-is-struck", "closing-the-gates", "searching-for-the-runecrafter", "gathering-materials", "hills-of-the-shorbear-clan", "the-wyrm", "caverns-of-flame"}
141})
142
143--[[
144DefineAchievement("the-ancient-charms", {
145	Name = "The Ancient Charms",
146	Icon = "icon-scroll",
147	Description = "Read all Teuton literary works (with any custom hero)."
148})
149
150DefineAchievement("deep-lore", {
151	Name = "Deep Lore",
152	Icon = "icon-book-red",
153	Description = "Read all dwarven literary works (with any custom hero)."
154})
155--]]
156
157DefineAchievement("paragon", {
158	Name = "Paragon",
159	Icon = "icon-level-up",
160	Description = "Reach level 10 with any custom hero.",
161	CharacterLevel = 10
162})
163
164DefineAchievement("legend", {
165	Name = "Legend",
166	Icon = "icon-leadership",
167	Description = "Reach level 20 with any custom hero.",
168	CharacterLevel = 20
169})
170
171DefineAchievement("demigod", {
172	Name = "Demigod",
173	Icon = "icon-axe-mastery",
174	Description = "Reach level 100 with any custom hero.",
175	CharacterLevel = 100
176})
177