1#textdomain wesnoth-trow
2[scenario]
3    id=17b_Lizard_Beach
4    name= _ "Lizard Beach"
5    next_scenario=16_The_Kalian
6    map_data="{campaigns/The_Rise_Of_Wesnoth/maps/17b_Lizard_Beach.map}"
7
8    {TURNS 35 32 29}
9    {DEFAULT_SCHEDULE}
10
11    {SCENARIO_MUSIC battle.ogg}
12    {EXTRA_SCENARIO_MUSIC loyalists.ogg}
13
14    # No story
15    {TROW_GC_TRACK {JOURNEY_17B_NEW} }
16
17    {TROW_DEATHS}
18
19    [side]
20        type=Noble Commander
21        id=Prince Haldric
22        name= _ "Prince Haldric"
23        unrenamable=yes
24        side=1
25        canrecruit=yes
26        gold=200
27        controller=human
28        team_name=Haldric
29        user_team_name=_"Refugees"
30        {FLAG_VARIANT loyalist}
31    [/side]
32
33    [side]
34        type=Saurian Flanker
35        id=Tirasch
36        name= _ "Tirasch"
37        side=2
38        canrecruit=yes
39        {GOLD 130 190 250}
40        {INCOME 2 4 8}
41        team_name=Liz
42        user_team_name=_"Monsters"
43#ifdef EASY
44        recruit=Naga Fighter, Saurian Skirmisher, Mudcrawler, Giant Mudcrawler,Saurian Augur
45#else
46        recruit=Naga Fighter, Saurian Skirmisher, Mudcrawler, Giant Mudcrawler, Saurian Ambusher, Giant Scorpion,Saurian Augur,Saurian Oracle
47#endif
48        [ai]
49            #{NO_SCOUTS}
50            recruitment_pattern=scout,archer,fighter,archer,fighter,scout,healer
51            passive_leader=yes
52            {ATTACK_DEPTH 4 5 5}
53        [/ai]
54    [/side]
55
56    {STARTING_VILLAGES 2 8}
57
58    [side]
59        type=Saurian Flanker
60        id=Ssirk
61        name= _ "Ssirk"
62        side=3
63        canrecruit=yes
64        {GOLD 130 190 250}
65        {INCOME 2 4 8}
66        team_name=Liz
67        user_team_name=_"Monsters"
68#ifdef EASY
69        recruit=Naga Fighter, Saurian Skirmisher, Mudcrawler, Giant Mudcrawler,Saurian Augur
70#else
71        recruit=Naga Fighter, Saurian Skirmisher, Mudcrawler, Giant Mudcrawler, Saurian Ambusher, Giant Scorpion,Saurian Augur,Saurian Soothsayer
72#endif
73        [ai]
74            #{NO_SCOUTS}
75            recruitment_pattern=scout,archer,fighter,archer,fighter,scout,healer
76            passive_leader=yes
77            {ATTACK_DEPTH 4 5 5}
78        [/ai]
79    [/side]
80
81    {STARTING_VILLAGES 3 8}
82
83    {campaigns/The_Rise_Of_Wesnoth/utils/trow-nlmsg.cfg}
84
85    [event]
86        name=prestart
87
88        [recall]
89            id=Lady Jessene
90        [/recall]
91        [recall]
92            id=Burin the Lost
93        [/recall]
94        [recall]
95            id=Sir Ruddry
96        [/recall]
97
98        [recall]
99            id=Sir Ladoc
100        [/recall]
101
102        [recall]
103            id=Minister Edren
104        [/recall]
105
106        [objectives]
107            side=1
108            [objective]
109                description= _ "Defeat all enemy leaders"
110                condition=win
111            [/objective]
112            [objective]
113                description= _ "Death of Prince Haldric"
114                condition=lose
115            [/objective]
116            [objective]
117                description= _ "Death of Lady Jessene"
118                condition=lose
119            [/objective]
120
121            {TURNS_RUN_OUT}
122
123            [gold_carryover]
124                bonus=yes
125                carryover_percentage=40
126            [/gold_carryover]
127        [/objectives]
128    [/event]
129
130    [event]
131        name=start
132        [message]
133            speaker=narrator
134            message= _ "After a long trek, Prince Haldric and his companions find themselves on a sunny beach. While normally this would be a pleasant occurrence, they find the saurians hard at work there."
135            image=wesnoth-icon.png
136        [/message]
137
138        [message]
139            speaker=Ssirk
140            message= _ "Monsters! We’re being invaded by monsters."
141        [/message]
142
143        [message]
144            speaker=Tirasch
145            message= _ "We must hold the beach until we can call our naga friends."
146        [/message]
147
148        [message]
149            speaker=Prince Haldric
150            message= _ "Us, monsters? Hmph... prepare to meet our blades."
151            image=portraits/haldric-mad.png
152        [/message]
153
154        [message]
155            speaker=Lady Jessene
156            message= _ "(<i>Sigh</i>) I bet he sees none of the irony in that."
157        [/message]
158    [/event]
159
160    [event]
161        name=time over
162        [message]
163            speaker=Lady Jessene
164            message= _ "We were too slow... Every naga in the sea will be upon us!"
165        [/message]
166    [/event]
167
168    [event]
169        name=die
170        first_time_only=no
171
172        [filter]
173            type=Giant Mudcrawler
174        [/filter]
175
176        {LOYAL_UNIT 2 (Mudcrawler) ($x1) ($y1)}
177        {LOYAL_UNIT 3 (Mudcrawler) ($x1) ($y1)}
178    [/event]
179
180    [event]
181        name=die
182        [filter]
183            type=Giant Mudcrawler
184        [/filter]
185        [message]
186            speaker=Prince Haldric
187            # wmllint: local spelling ick
188            message= _ "Ick! When you kill them they divide."
189            image=portraits/haldric-surprised.png
190        [/message]
191    [/event]
192
193    [event]
194        name=die
195        [filter]
196            id=Tirasch
197        [/filter]
198        [gold]
199            side=3
200            amount=170
201        [/gold]
202    [/event]
203
204    [event]
205        name=die
206        [filter]
207            id=Ssirk
208        [/filter]
209        [gold]
210            side=2
211            amount=170
212        [/gold]
213    [/event]
214
215    # Humans reach the beach
216
217    [event]
218        name=moveto
219
220        [filter]
221            side=1
222            x=1-16
223        [/filter]
224
225        [move_unit_fake]
226            type=Naga Warrior
227            side=2
228            x=1,2
229            y=15,15
230        [/move_unit_fake]
231
232        {NAMED_LOYAL_UNIT 2 (Naga Warrior) 2 15 (Riaa) ( _ "Riaa")}
233
234        [message]
235            speaker=Riaa
236            message= _ "We must protect the saurians. We need the metal!"
237        [/message]
238
239        {LOYAL_UNIT 3 (Naga Fighter) 2 14}
240        {LOYAL_UNIT 2 (Naga Fighter) 2 16}
241
242#ifdef NORMAL
243        {LOYAL_UNIT 3 (Naga Fighter) 1 15}
244        {LOYAL_UNIT 2 (Naga Fighter) 1 16}
245#endif
246#ifdef HARD
247
248        {LOYAL_UNIT 3 (Naga Fighter) 1 15}
249        {LOYAL_UNIT 2 (Naga Fighter) 1 16}
250        {LOYAL_UNIT 3 (Naga Fighter) 2 14}
251        {LOYAL_UNIT 2 (Naga Fighter) 2 17}
252#endif
253    [/event]
254
255    [event]
256        name=enemies defeated
257        [message]
258            speaker=Prince Haldric
259            message= _ "We’ve cleared the beach. Let’s return to the elves."
260        [/message]
261
262        {VARIABLE_OP num_done add 1}
263
264        [set_variable]
265            name=a_beach
266            value=1
267        [/set_variable]
268
269        [set_variable]
270            name=last_done
271            value="Beach"
272        [/set_variable]
273
274        [endlevel]
275            result=victory
276            bonus=yes
277            {NEW_GOLD_CARRYOVER 40}
278        [/endlevel]
279    [/event]
280[/scenario]
281