-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
02_Civil_Disobedience.cfg
485 lines (416 loc) · 13.5 KB
/
02_Civil_Disobedience.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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
#textdomain wesnoth-l
[scenario]
id=02_Civil_Disobedience
name= _ "Civil Disobedience"
next_scenario=03_A_Strategy_of_Hope
map_file=02_Civil_Disobedience.map
{TURNS 14 13 12}
{DEFAULT_SCHEDULE_AFTERNOON}
{SCENARIO_MUSIC "loyalists.ogg"}
{EXTRA_SCENARIO_MUSIC "battle.ogg"}
{EXTRA_SCENARIO_MUSIC "siege_of_laurelmor.ogg"}
[story]
[part]
story= _ "Baldras’ journal, 6 Deeproot, 501 YW:
Me and Harper visited Erwen’s grave today. I helped the lad pick her a bunch of flowers. He don’t remember her much, but he still thinks lot abouts her. She were his ma after all. Harper definitely be reminding me of her, real bright and brassy personality. Too bad he don’t got her sense or wits, but here’s to hoping he be learning more with time."
background=story/frontier.jpg
[/part]
[part]
story= _ "Speaking of sense, I gots me a bad feeling in my gut about today. Feels like something’s abouts to happen, even if them scouts haven’t reported any orcs nearby. Just in case, I’d better ready our hunting troop when I gets back to the village..."
background=story/frontier.jpg
[/part]
[/story]
{LIBERTY_BIGMAP {JOURNEY_02_NEW} }
[side]
type=Bandit_Peasant
id=Baldras
name= _ "Baldras"
side=1
canrecruit=yes
controller=human
gold=100
team_name=good_guys
user_team_name=_"Rebels"
recruit=Footpad_Peasant,Poacher_Peasant,Thug_Peasant
[/side]
{STARTING_VILLAGES 1 12}
[side]
type=Cavalier
id=Tarwen
name= _ "Tarwen"
side=2
canrecruit=yes
controller=ai
gold=0
team_name=bad_guys
user_team_name=_"Asheviere"
[ai]
[goal]
name=protect_location
[criteria]
x,y=26,7
[/criteria]
protect_radius=11
value=10
[/goal]
passive_leader=yes
[/ai]
{FLAG_VARIANT loyalist}
[/side]
#The peasants - no leader or keep, but they help you as allies
#by getting trampled on the first turn
[side]
side=3
no_leader=yes
controller=ai
team_name=good_guys
user_team_name=_"Rebels"
[/side]
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Kill the Wesnoth army captain, Tarwen"
condition=win
[/objective]
[objective]
description= _ "Death of Baldras"
condition=lose
[/objective]
[objective]
description= _ "Death of Harper"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
{PLACE_IMAGE items/scarecrow.png 29 13}
{PLACE_IMAGE "items/scarecrow.png~FL(horiz)" 18 1}
{PLACE_IMAGE items/straw-bale1.png 32 14}
{PLACE_IMAGE items/straw-bale2.png 33 6}
{PLACE_IMAGE "items/straw-bale1.png~FL(horiz)" 15 5}
{PLACE_IMAGE items/grain-sheaf.png 19 12}
{PLACE_IMAGE "scenery/oak-leaning.png" 27 9}
{PLACE_IMAGE "scenery/well.png" 22 7}
{GENERIC_UNIT 3 Peasant 17 4}
{GENERIC_UNIT 3 Peasant 22 3}
{GENERIC_UNIT 3 Peasant 25 6}
{GENERIC_UNIT 3 Peasant 26 8}
{GENERIC_UNIT 3 Peasant 23 13}
{MODIFY_UNIT type=Peasant facing sw}
[/event]
#
# Starting conversation and actions
#
[event]
name=start
[recall]
id=Harper
[/recall]
[message]
speaker=Harper
message= _ "Look, riders approach."
[/message]
[message]
speaker=Baldras
message= _ "Stand fast, nephew."
[/message]
{MOVE_UNIT id=Tarwen 4 10}
[capture_village]
x=2-11
y=6-11
side=2
[/capture_village]
[message]
speaker=Tarwen
message= _ "By order of the Queen, the magistrate of this town is to travel with us to Elensefar for vetting."
[/message]
[message]
speaker=Baldras
message= _ "The Crown did long since abandon our village. You Wesnothians be too busy countin’ the gold from our taxes to be sending aid ‘gainst them orcs. Nobody here be leaving to nowhere."
[/message]
[message]
speaker=Tarwen
message= _ "Insolent peasant. Try not my patience, else I shall be forced to drag thy deceased corpse back with me to the city."
[/message]
[message]
speaker=Baldras
message= _ "Try it then, stinker."
[/message]
[message]
speaker=Tarwen
message= _ "As you wish."
[/message]
{GENERIC_UNIT 2 Cavalryman 15 7}
{MOVE_UNIT x,y=15,7 20 6}
{GENERIC_UNIT 2 Cavalryman 15 7}
{MOVE_UNIT x,y=15,7 20 8}
{GENERIC_UNIT 2 Cavalryman 15 7}
{MOVE_UNIT x,y=15,7 22 8}
{GENERIC_UNIT 2 Cavalryman 15 7}
{MOVE_UNIT x,y=15,7 22 6}
#ifdef NORMAL
{GENERIC_UNIT 2 Horseman 15 7}
{MOVE_UNIT x,y=15,7 19 5}
{GENERIC_UNIT 2 Horseman 15 7}
{MOVE_UNIT x,y=15,7 18 9}
#endif
#ifdef HARD
{GENERIC_UNIT 2 Horseman 15 7}
{MOVE_UNIT x,y=15,7 19 5}
{GENERIC_UNIT 2 Horseman 15 7}
{MOVE_UNIT x,y=15,7 18 9}
{GENERIC_UNIT 2 Horseman 15 7}
{MOVE_UNIT x,y=15,7 18 6}
#endif
[message]
speaker=Tarwen
message= _ "Guard the gate."
[/message]
{GENERIC_UNIT 2 Spearman 14 6}
{MOVE_UNIT x,y=14,6 16 6}
{GENERIC_UNIT 2 Spearman 14 7}
{MOVE_UNIT x,y=14,7 16 7}
{MOVE_UNIT id=Tarwen 8 8}
[message]
speaker=Harper
message= _ "<i>Uncle, since when did we have a Queen?</i>"
[/message]
[message]
speaker=Baldras
message= _ "<i>Since a few years back, but weren’t never her giving out no orders...</i>"
[/message]
[message]
speaker=Baldras
message= _ "<i>It don’t really matter right now. Harper, get yerself out o’ here. This be no kind of battle fer you.</i>"
[/message]
[message]
speaker=Harper
message= _ "I can fight!"
[/message]
[message]
speaker=Baldras
message= _ "<i>Harper, do what I says to ya.</i>"
[/message]
[message]
speaker=Harper
message= _ "We’re in this together. Death to the Wesnothians!"
[/message]
[message]
speaker=Baldras
message= _ "Impulsive lad..."
[/message]
[/event]
[event]
name=attack
[filter_second]
side=3
[/filter_second]
# this is from Monty Python and the Holy Grail :)
[message]
speaker=second_unit
message= _ "Help, help! I’m being repressed!"
[/message]
[/event]
[event]
name=die
[filter]
side=3
[/filter]
[message]
speaker=Harper
message= _ "They just killed an innocent man! Those murderers!"
[/message]
[message]
speaker=Tarwen
message= _ "Cry thine eyes out for me, peasant."
[/message]
[/event]
#
#Special event - when you attack Tarwen, he stops being passive (surprise!)
#
[event]
name=attack
[filter_second]
id=Tarwen
[/filter_second]
[modify_side]
[filter_side]
side=2
[/filter_side]
[ai]
passive_leader=no
[/ai]
[/modify_side]
[message]
speaker=Tarwen
message= _ "Back, back ye curs!"
[/message]
[/event]
[event]
name=die
[filter]
side=2
[/filter]
[message]
speaker=Harper
message= _ "Take that, you bullies!"
[/message]
[/event]
#
# Victory
#
[event]
name=die
[filter]
id=Tarwen
[/filter]
[message]
speaker=second_unit
message= _ "Get out of my village!"
[/message]
[kill]
side=2
[/kill]
[/event]
[event]
name=enemies defeated
[role]
type=Huntsman_Peasant,Ranger,Fugitive_Peasant,Highwayman_Peasant,Outlaw_Peasant,Trapper_Peasant,Bandit_Peasant,Footpad_Peasant,Poacher_Peasant,Thug_Peasant
[not]
id=Harper,Baldras
[/not]
role=Advisor
[/role]
[message]
role=Advisor
message= _ "We beat their leader, but a couple of their riders escaped. What should we do?"
[/message]
[message]
speaker=Baldras
message= _ "Somethin’ be very wrong here. That Garard weren’t never no hero or nuthin, but least his men never would’ve attacked us. The Queen must’ve did something to him. Her men be nothing more than thugs."
[/message]
[message]
speaker=Harper
message= _ "We’ve got to tell the people of Delwyn about this. Ol magistrate Relana will have some ideas."
[/message]
[message]
role=Advisor
message= _ "That’s true. Whenever there has been trouble, we’ve always flown to their aid and they to ours. We should face this together."
[/message]
[message]
speaker=Baldras
message= _ "Fine. We’ll go to Delwyn, see what Relana gots to say. With them riders so eagerly attackin’ us today, I’m thinking Delwyn wills be under threat too."
[/message]
[message]
speaker=Harper
message= _ "So we’ll have to fight them Wesnothians again?"
[/message]
[message]
speaker=Baldras
message= _ "Alls I can say for certain is we’ve made ourselves enemies of the Crown. They’ll be hunting fer us now."
[/message]
[message]
speaker=Harper
message= _ "Then we’re outlaws."
[/message]
[message]
speaker=Baldras
message= _ "Aye, outlaws."
[/message]
[store_unit]
[filter]
side=1
[filter_wml]
[abilities]
[outlaw_type_hack]
[/outlaw_type_hack]
[/abilities]
[/filter_wml]
[/filter]
kill=yes
variable=stored_peasants
[/store_unit]
[foreach]
array=stored_peasants
[do]
[unit]
side=1
type=$this_item.abilities.outlaw_type_hack.id
id=$this_item.id
name=$this_item.name
x,y=$this_item.x,$this_item.y
hitpoints=$this_item.hitpoints
moves=$this_item.moves
experience=$this_item.experience
gender=$this_item.gender
facing=$this_item.facing
profile=$this_item.profile
unrenamable=$this_item.unrenamable
canrecruit=$this_item.canrecruit
random_traits=$this_item.random_traits
role=$this_item.role
[insert_tag]
name=modifications
variable=this_item.modifications
[/insert_tag]
[/unit]
[/do]
[/foreach]
{CLEAR_VARIABLE stored_peasants}
[disallow_recruit]
side=1
type=Thug_Peasant,Footpad_Peasant,Poacher_Peasant
[/disallow_recruit]
[allow_recruit]
side=1
type=Thug,Footpad,Poacher
[/allow_recruit]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
#
# Loss conditions - turns run out
#
[event]
name=time over
[unit]
type=Knight
side=2
x,y=4,11
id=Reinforcement Knight
generate_name=yes
animate=yes
facing=ne
[/unit]
{GENERIC_UNIT 2 (Knight) 3 12} {FACING ne}
{GENERIC_UNIT 2 (Lancer) 4 12} {FACING ne}
{GENERIC_UNIT 2 (Lancer) 3 13} {FACING ne}
{GENERIC_UNIT 2 (Knight) 4 13} {FACING ne}
{GENERIC_UNIT 2 (Dragoon) 3 14} {FACING ne}
{GENERIC_UNIT 2 (Dragoon) 4 14} {FACING ne}
[message]
speaker=Reinforcement Knight
message= _ "At your order, Captain."
[/message]
[message]
speaker=Tarwen
message= _ "Slay them all."
[/message]
[message]
speaker=Baldras
message= _ "Curses! Their reinforcements has arrived. We’ve gots no chance to fight ‘em off now..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
{LIBERTY_DEATHS}
[/scenario]