-
-
Notifications
You must be signed in to change notification settings - Fork 994
/
04_Troll_Bridge.cfg
165 lines (149 loc) · 4.45 KB
/
04_Troll_Bridge.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
#textdomain wesnoth-thot
[scenario]
name=_"Troll Bridge"
id=04_Troll_Bridge
next_scenario=05_Invaders
victory_when_enemies_defeated=yes
map_data="{campaigns/The_Hammer_of_Thursagan/maps/04_Troll_Bridge.map}"
{DEFAULT_SCHEDULE}
{TURNS 20 16 12} # BALANCE
{INTRO_AND_SCENARIO_MUSIC "elvish-theme.ogg" "frantic.ogg"}
{EXTRA_SCENARIO_MUSIC "wanderer.ogg"}
{EXTRA_SCENARIO_MUSIC "nunc_dimittis.ogg"}
[side]
type="Dwarvish Fighter"
id="Aiglondur"
name=_"Aiglondur"
canrecruit=yes
side="1"
controller="human"
team_name="northern_alliance"
user_team_name=_"Alliance"
{FLAG_VARIANT knalgan}
fog="no"
shroud="no"
recruit="Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Guardsman, Dwarvish Scout"
{GOLD 100 80 60} # BALANCE
{FLAG_VARIANT knalgan}
[/side]
[side]
side=2
type=Troll
id=Gronk
name= _ "Gronk"
[modifications]
{TRAIT_STRONG}
{TRAIT_QUICK}
[/modifications]
{GOLD 70 100 130} # BALANCE
team_name=trolls
user_team_name=_"Trolls"
controller=ai
canrecruit=yes
[ai]
passive_leader=yes
#ifndef HARD
recruitment_pattern=fighter
#else
recruitment_pattern=fighter,fighter,mixed fighter
#endif
recruitment_ignore_bad_movement=yes
grouping=defensive
{QUANTITY aggression 0.3 0.4 0.5}
{ATTACK_DEPTH 3 4 5}
[/ai]
#ifdef EASY
recruit=Troll Whelp
#endif
#ifdef NORMAL
recruit=Troll Whelp,Troll
#endif
#ifdef HARD
recruit=Troll Whelp,Troll,Troll Rocklobber
#endif
[/side]
{campaigns/The_Hammer_of_Thursagan/utils/herodeaths.cfg}
[story]
[part]
{THOT_BIGMAP}
story= _ "Aiglondur and his troop, some still shaking their heads dubiously at the very notion of fighting alongside orcs rather than against them, continued east to the easternmost edge of the Northern Alliance’s lands."
[/part]
[/story]
{THOT_TRACK {JOURNEY_STAGE4}}
#ifdef NORMAL
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Troll" 1}
#endif
#ifdef HARD
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Troll Rocklobber" 1}
#endif
[event]
name=die
[filter]
id=Gronk
[/filter]
[message]
speaker=second_unit
message=_ "Hey! That troll was sitting on some treasure!"
[/message]
{PLACE_IMAGE "items/gold-coins-small.png" 24 7} # On troll keep
[redraw]
[/redraw]
{LOOT 200 1}
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name="prestart"
[recall]
id="Angarthing"
x,y=2,9
[/recall]
[objectives]
side="1"
[objective]
description=_"Defeat Gronk"
condition="win"
[/objective]
[objective]
description=_"Death of Aiglondur"
condition="lose"
[/objective]
[objective]
description=_"Death of Angarthing"
condition="lose"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[event]
name="start"
# wmllint: local spelling dat Er
[message]
speaker="Gronk"
message=_"Dis a troll bridge. You pay toll. Er..."
[/message]
[message]
speaker="Gronk"
message=_"Dat not right. Dis a toll bridge. You pay troll. Er..."
[/message]
[message]
speaker="Gronk"
message=_"Dat not right either. Big words confuse Gronk. You pay now or we smash you."
[/message]
[message]
speaker="Angarthing"
message=_"The stonework of yon bridge is not good enough to be dwarf-made, but it is nowhere near crude enough to be troll-work."
[/message]
[message]
speaker="Aiglondur"
message=_"Then it will be of the Alliance’s making, right enough, like this road that leads to it. It won’t do to have wild trolls squatting on it. Axes up!"
[/message]
[/event]
[/scenario]