-
Notifications
You must be signed in to change notification settings - Fork 4
/
_main.cfg
227 lines (192 loc) · 9.08 KB
/
_main.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#textdomain wesnoth-Invasion_from_the_Unknown
#
# Invasion from the Unknown
# Copyright (C) 2006 - 2023 by Iris Morelle <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# wmlscope: set export=no
# wmlindent: start ignoring
# After the recent changes on the campaign's WML and plot structure, wmllint goes mad
# since it does not know how to expand *macros* for the [campaign] nodes.
# wmllint: validate-off
# Wesnoth textdomain setup
[textdomain]
name="wesnoth-Invasion_from_the_Unknown"
path="data/add-ons/Invasion_from_the_Unknown/translations"
[/textdomain]
[textdomain]
name="wesnoth-Naia"
#ifhave ~add-ons/Invasion_from_the_Unknown/Naia
path="data/add-ons/Invasion_from_the_Unknown/Naia/translations"
#endif
#ifhave ~add-ons/Naia
path="data/add-ons/Naia/translations"
#endif
[/textdomain]
# Campaign menu entries
#undef IFTU_SHARED_ATTRIBUTES
#undef IFTU_HAVE_MUSIC
#ifhave ~add-ons/IftU_Music/_main.cfg
#define IFTU_HAVE_MUSIC
#enddef
#endif
#
# Macros used by the campaign menu entries
#
#define IFTU_SHARED_DESCRIPTION_FOOTER
"
<span color='#a69275' size='smaller'>"+
_"Version"+" {~add-ons/Invasion_from_the_Unknown/dist/VERSION} "+{IFTU_WESNOTH_VERSION_SUPPORT_STATUS}+"
"+_"Feedback and bug reports:"+" https://r.wesnoth.org/t43309"+{IFTU_HAVE_MUSIC_STATUS}+"</span>" #enddef
#define IFTU_WESNOTH_VERSION_SUPPORT_STATUS
_ "for Wesnoth 1.16.0 and later" #enddef
#ifdef IFTU_HAVE_MUSIC
#define IFTU_HAVE_MUSIC_STATUS
#enddef
#else
#define IFTU_HAVE_MUSIC_STATUS
"
"+"<span color='#f00' weight='bold'>!</span> <span color='#e33'>"+
_"Music add-on “<i>IftU Music</i>” is <b>not</b> currently installed."+"</span>" #enddef
#endif
#define IFTU_SHARED_ATTRIBUTES EPISODE_ID_SUFFIX EPISODE_SUBTITLE EPISODE_DESCRIPTION
id=Invasion_from_the_Unknown_{EPISODE_ID_SUFFIX}
define=CAMPAIGN_INVASION_FROM_THE_UNKNOWN
extra_defines=CAMPAIGN_INVASION_FROM_THE_UNKNOWN_EPISODE_{EPISODE_ID_SUFFIX}
{ENABLE_DWARVISH_RUNESMITH}
{ENABLE_DWARVISH_ARCANISTER}
{ENABLE_NIGHTBLADE}
version={~add-ons/Invasion_from_the_Unknown/dist/VERSION}
abbrev= _ "IftU"
# NOTE: not the real chronology of these campaigns.
year="9998 AF"
end_text= _ "To be continued..."
name= _ "Invasion from the Unknown"+"
"+{EPISODE_SUBTITLE}
description={EPISODE_DESCRIPTION}+{IFTU_SHARED_DESCRIPTION_FOOTER}
# Credits data source
{~add-ons/Invasion_from_the_Unknown/about.cfg}
#enddef
#define IFTU_DIFFICULTY_MENU_ENTRY _SYMBOL _ICON _LABEL _DESC _DEFAULT
[difficulty]
define={_SYMBOL}
image={_ICON}+"~RC(magenta>red)"
label={_LABEL}
description={_DESC}
default={_DEFAULT}
[/difficulty]
#enddef
#define IFTU_DIFFICULTY_MENU _EASY_LABEL _EASY_ICON _NORMAL_LABEL _NORMAL_ICON _HARD_LABEL _HARD_ICON
{IFTU_DIFFICULTY_MENU_ENTRY EASY ({_EASY_ICON}) ({_EASY_LABEL}) ( _ "Easy") no }
{IFTU_DIFFICULTY_MENU_ENTRY NORMAL ({_NORMAL_ICON}) ({_NORMAL_LABEL}) ( _ "Normal") yes}
{IFTU_DIFFICULTY_MENU_ENTRY HARD ({_HARD_ICON}) ({_HARD_LABEL}) ( _ "Hard") no }
#enddef
#ifndef __WMLUNITS__
[campaign]
{IFTU_SHARED_ATTRIBUTES I ( _ "Episode I: Seeking the Light") ( _ "Long after the Fall, the last forest elves on the Great Continent are forced to abandon their secluded home and forge an unprecedented alliance in hopes of retaliating against the great evil that has befallen Irdya. But even then, they will require more than one ancient power to aid them in their quest...
(Intermediate level, 13 scenarios.)")}
first_scenario=01_Border_Patrol
rank=255
icon="data/add-ons/Invasion_from_the_Unknown/images/campaign-icon-episode1.png~RC(magenta>orange)"
image="data/add-ons/Invasion_from_the_Unknown/images/campaign-logo-episode1.png"
{IFTU_DIFFICULTY_MENU
( _ "difficulty_menu^Ascetic") ("data/add-ons/Invasion_from_the_Unknown/images/units/elves-wood/anlinde-ascetic.png")
( _ "difficulty_menu^Mystic") ("data/add-ons/Invasion_from_the_Unknown/images/units/elves-wood/anlinde-mystic.png")
( _ "difficulty_menu^Avatar") ("data/add-ons/Invasion_from_the_Unknown/images/units/elves-wood/anlinde-avatar.png")
}
[/campaign]
[campaign]
{IFTU_SHARED_ATTRIBUTES II ( _ "Episode II: Armageddon") ( _ "As the dark veil of Chaos engulfs the land, an assorted group of foolish heroes prepares a counter-attack against their enemies with one unique goal in their minds. May they vanquish the forces that seek to destroy the last sanctuary standing in the Great Continent, or perish in the attempt.
(Intermediate level, 10 scenarios.)")}
first_scenario=14_Bye_and_Behold
rank=256
icon="data/add-ons/Invasion_from_the_Unknown/images/campaign-icon-episode2.png~RC(magenta>gold)"
image="data/add-ons/Invasion_from_the_Unknown/images/campaign-logo-episode2.jpg"
{IFTU_DIFFICULTY_MENU
( _ "difficulty_menu^Disciple") ("units/undead-necromancers/dark-sorcerer-magic-1.png")
( _ "difficulty_menu^Lich") ("units/undead-necromancers/lich-magic-3.png")
( _ "difficulty_menu^Ancient Lich") ("units/undead-necromancers/ancient-lich-melee-2.png")
}
[/campaign]
#else
# Define a special campaign menu entry for use with wmlunits, to generate a
# single units tree for the entire two-campaign set.
[campaign]
id=Invasion_from_the_Unknown_unit_tree
define=CAMPAIGN_INVASION_FROM_THE_UNKNOWN
extra_defines=ENABLE_DWARVISH_RUNESMITH,ENABLE_DWARVISH_ARCANISTER
name= _ "Invasion from the Unknown"
first_scenario=null
rank=255
icon="data/add-ons/Invasion_from_the_Unknown/images/campaign-icon-episode1.png~RC(magenta>orange)"
[/campaign]
#endif
#undef IFTU_SHARED_ATTRIBUTES
#undef IFTU_DIFFICULTY_MENU
#undef IFTU_DIFFICULTY_MENU_ENTRY
#undef IFTU_WESNOTH_VERSION_SUPPORT_STATUS
#undef IFTU_SHARED_DESCRIPTION_FOOTER
#undef IFTU_HAVE_MUSIC_STATUS
# wmllint: validate-on
#ifdef EDITOR
#define CAMPAIGN_INVASION_FROM_THE_UNKNOWN
#enddef
#endif
#ifdef CAMPAIGN_INVASION_FROM_THE_UNKNOWN
[binary_path]
path="data/add-ons/Invasion_from_the_Unknown"
[/binary_path]
#ifdef IFTU_HAVE_MUSIC
[binary_path]
path="data/add-ons/IftU_Music"
[/binary_path]
#endif
{~add-ons/Invasion_from_the_Unknown/base-loader.cfg}
#endif
#undef IFTU_HAVE_MUSIC
# wmllint: directory spellings Anlindë Mal Malin Keshar Hekuba Argan
# wmllint: directory spellings Goliath shaxthal shaxthals verlissh verlisshi
# wmllint: directory spellings Naia Sela Quetor'el Telchior Galas
# wmllint: directory spellings Elynia Lédinor Erathan Yechnagoth Zocthanol
# wmllint: directory spellings Zhangor Althurin Asthorgar Irdya Quenoth
# wmllint: directory spellings Eloh Armageddon Igor golem goliath magus
# wmllint: directory spellings Uria demoness demonesses imp Inferno
# wmllint: directory spellings Mindraider Psy faerie faeries gutwrencher
# wmllint: directory spellings razerman longbowman crossbowman hellhound
# wmllint: directory spellings Aragwaith Aragwaithi arcanister runemaster
# wmllint: directory spellings runesmith Kaleh Kalehssar Rogrimir
# wmllint: directory spellings Wesmere Tanuil Elyssa Quogar Ratham
# wmllint: directory spellings Rythé rythenians Argazar argazars longswordsmen
# wmllint: directory spellings headhunter soulhunter rayblade wyrm
# wmllint: directory spellings noctum ensnare pah Mal-Ravanal Landar
# wmllint: directory spellings De'Arthian Illana Arnesius Delarel
# wmllint: directory spellings Torancyn Aleazar Raelthyn invincibles
# wmllint: directory spellings touchplate touchgem lorekeeper lorekeepers
# wmllint: directory spellings Eisenstone biomechanical Herthgar Gnalvarden
# wmllint: directory spellings Valgran Aidal Kalari Aran-Balgur Aran-Nitar
# wmllint: directory spellings Xia'el Merthiaal Urvatha Irdyan Inodien Unarye
# wmllint: directory spellings Adavyan Arphalad Lorin Wylven Danaerad Astar
# wmllint: directory spellings Ardgam Dervale Ilgrid
# wmllint: directory spellings facemask unpetrified wisemen firestick
# wmllint: directory spellings loremaster loremasters dreadcrafter
# wmllint: directory spellings dreadcrafters spellcaster spellcasters
# wmllint: directory spellings unliving elvenkind marchlands Adel un-death
# wmllint: directory spellings blargh atchoo nah somethin' lookin' preparin'
# wmllint: directory spellings hidin' fascinatin' runecraftin' layin' confusin'
# wmllint: directory spellings explorin' searchin' interestin' dyin' na'
# wmllint: directory spellings dinnae didnae musta' mighta' ha' need'a winna'
# wmllint: directory spellings cannae whoah what're
# wmlindent: stop ignoring
# kate: indent-mode normal; encoding utf-8; space-indent on;