-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
20_Prince_of_Wesnoth.cfg
249 lines (233 loc) · 8.31 KB
/
20_Prince_of_Wesnoth.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
#textdomain wesnoth-dm
[scenario]
id=20_Prince_of_Wesnoth
name= _ "Prince of Wesnoth"
{MEMOIRS_MAP 20_Prince_of_Wesnoth.map}
next_scenario=21_Clash_at_the_Manor
{TURNS 20 22 24}
{DEFAULT_SCHEDULE}
{INTRO_AND_SCENARIO_MUSIC nunc_dimittis.ogg elvish-theme.ogg}
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC frantic.ogg}
{EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
[story]
[part]
show_title=yes
[/part]
[part]
# The "generation" is the 26 years between 470YW and 496YW.
# Delfador is 54 at this time.
story= _ "Following the alliance’s victory and the peace treaty came a period of calm that lasted a generation. The new King had learned to trust Delfador at the battle of Abez Ford, and it was no surprise that Delfador became Garard II’s most valued advisor."
delay=4000
[/part]
[part]
story= _ "The elves knew that with Delfador close to the King, Wesnoth would be a reliable ally. And it was for a while."
delay=4000
[/part]
[part]
# Asheviere marries Garard II in 478.
story= _ "But Delfador was not alone in having the King’s ear; there was one yet closer to him. The Queen’s power was rising..."
delay=8000
background="story/httt_story3.jpg"
[/part]
[part]
# Eldred's raid takes place in 496
story= _ "One day reports came of Wesnothian forces seizing elvish land on the border. Kalenz gathered a small force and hurried to the disputed country."
[/part]
[/story]
{DM_TRACK {BOOK_STAGE1}}
#wmllint: validate-off
[side]
side=1
controller=human
recruit={ELVES}
{GOLD 130 100 100}
fog=yes
save_id=Player
team_name=allies
user_team_name= _ "Elves"
side_name= _ "Kalenz"
{FLAG_VARIANT wood-elvish}
[leader]
{KALENZ}
[/leader]
[/side]
{STARTING_VILLAGES_ALL 1}
[event]
name=prestart
{DELFADOR_JOINS_ELVES}
[/event]
[side]
side=2
controller=ai
recruit=Heavy Infantryman,Spearman,Bowman,Cavalryman,Horseman,Mage,Swordsman
{GOLD 130 180 200}
{INCOME 0 2 2}
team_name=enemies
user_team_name= _ "Loyalists"
{FLAG_VARIANT loyalist}
[leader]
id=Eldred
name=_ "Eldred"
type=General
profile="portraits/eldred.png"
facing=sw
[/leader]
[ai]
recruitment_pattern=fighter,archer,mixed fighter,scout
aggression=1.0
caution=0.0
[goal]
name=protect_unit
[criteria]
side=2
canrecruit=yes
[/criteria]
value=3.0
[/goal]
[/ai]
[/side]
[side]
side=3
controller=ai
recruit=Heavy Infantryman,Spearman,Bowman,Cavalryman,Horseman,Mage,Thug,Footpad,Poacher,Rogue,Thief,Outlaw,Bandit,Assassin
{GOLD 150 230 290}
team_name=enemies
user_team_name= _ "Loyalists"
{FLAG_VARIANT loyalist}
[leader]
id=Lowel
name=_ "Lowel"
type=General
facing=sw
[/leader]
[ai]
recruitment_pattern=fighter,archer,mixed fighter,scout
aggression=1.0
caution=0.0
[/ai]
[/side]
#wmllint: validate-on
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Defeat Eldred"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Chantal"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
# recall is here instead of [unit] in [side], as she is unpacked in {DELFADOR_JOINS_ELVES}
[recall]
id=Chantal
[/recall]
{MODIFY_UNIT (side=1) facing ne}
# remove fog from the generals so they can be seen during the dialog
[lift_fog]
[filter_side]
side=1
[/filter_side]
x=34,31
y=4,16
radius=2
[/lift_fog]
[message]
speaker=Kalenz
message= _ "Generals of Wesnoth: you have attacked defenseless elvish land. You must leave immediately. I am Kalenz, High Lord of the Elves. Delfador the Great will confirm the treaty between us."
[/message]
[message]
speaker=Eldred
message= _ "This is elvish land no more. I, Eldred, prince of Wesnoth and heir to the throne, claim it for Wesnoth and Queen Asheviere. Delfador does not rule in Wesnoth!"
[/message]
[message]
speaker=Kalenz
message= _ "I did not want to spill human blood, but this arrogant prince leaves me no other choice."
[/message]
[/event]
[event]
name=last breath
[filter]
id=Eldred
[/filter]
# Keep his unit on the board
{MODIFY_UNIT id=Eldred hitpoints 1}
[delay]
time=500
[/delay]
# wmllint: recognize Delfador
{DELFADOR_ARRIVES 26 20}
[move_unit]
id=Delfador
to_x=26,25,25,24,24
to_y=19,19,18,17,16
[/move_unit]
{MODIFY_UNIT (id=Delfador) facing ne}
[endlevel]
result=victory
[/endlevel]
[/event]
[event]
name=victory
[scroll_to_unit]
id=Delfador
[/scroll_to_unit]
{DELFADOR_LIGHTNING}
[message]
speaker=Delfador
message= _ "Peace, friends! I have been riding nonstop for days to prevent this madness! Eldred, I have direct orders from the King to take you back to the Palace, where you will be reprimanded for your inexcusable actions. Kalenz, the King offers his deepest apologies for these events and promises to do anything in his power to make amends."
[/message]
[message]
speaker=Kalenz
message= _ "Delfador! I am glad to see you. We have no demands on the King, but I believe he should be very careful, for he does not seem to be the only ruler in Wesnoth!"
[/message]
[message]
speaker=Chantal
message= _ "Kalenz, I am very worried. There is a cloud of evil swirling around the Royal Palace, and it has more centers than the prince alone. I see dark days ahead..."
[/message]
[message]
speaker=Kalenz
message= _ "I wonder if the Book of Crelanu is not behind this. The Book is not evil in itself, but the power it gives tends to magnify any evil in the reader’s soul. Delfador, has anyone but you opened its covers since you got it from us?"
[/message]
[message]
speaker=Delfador
message= _ "I do not think so. But... Asheviere, Garard’s queen and Eldred’s mother, seemed to be hinting some months ago that I should teach her magery. She ceased all such talk when I did not respond, and I thought it merely the momentary whim of a proud and willful woman."
[/message]
[message]
speaker=Chantal
message= _ "I wonder if we have not dangerously misjudged her..."
[/message]
[message]
speaker=Delfador
message= _ "It may be so. Now that I think on it, I think I had best return to the Palace more swiftly than I came here, even if I have to kill three horses under me to do it."
[/message]
{DELFADOR_TAKES_CONTROL}
[modify_side]
side=1
user_team_name= _ "Rebels"
[/modify_side]
[/event]
[event]
name=time over
[message]
speaker=Kalenz
message= _ "We are too late! All is lost!"
[/message]
[/event]
{MEMOIRS_DEATHS}
[/scenario]