/usr/share/games/wesnoth/1.10/data/campaigns/Liberty/scenarios/02_Civil_Disobedience.cfg is in wesnoth-1.10-l 1:1.10.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #textdomain wesnoth-l
[scenario]
id=02_Civil_Disobedience
name= _ "Civil Disobedience"
next_scenario=03_A_Strategy_of_Hope
map_data="{campaigns/Liberty/maps/02_Civil_Disobedience.map}"
{TURNS 14 13 12}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{INTRO_AND_SCENARIO_MUSIC "traveling_minstrels.ogg" "loyalists.ogg"}
{EXTRA_SCENARIO_MUSIC "battle.ogg"}
{EXTRA_SCENARIO_MUSIC "nunc_dimittis.ogg"}
{EXTRA_SCENARIO_MUSIC "the_dangerous_symphony.ogg"}
[story]
[part]
show_title=yes
{TO_CIVIL_DISOBEDIENCE}
[/part]
[/story]
[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
team_name=bad_guys
user_team_name=_"Asheviere"
[ai]
[protect_location]
x,y=30,7
radius=11
value=10
[/protect_location]
[/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 33 13}
{PLACE_IMAGE "items/scarecrow.png~FL(horiz)" 22 1}
{PLACE_IMAGE items/straw-bale1.png 36 14}
{PLACE_IMAGE items/straw-bale2.png 37 6}
{PLACE_IMAGE "items/straw-bale1.png~FL(horiz)" 19 5}
{PLACE_IMAGE items/grain-sheaf.png 23 12}
{PLACE_IMAGE "scenery/oak-leaning.png" 31 9}
{GENERIC_UNIT 3 Peasant 21 4}
{GENERIC_UNIT 3 Peasant 26 3}
{GENERIC_UNIT 3 Peasant 29 6}
{GENERIC_UNIT 3 Peasant 30 8}
{GENERIC_UNIT 3 Peasant 27 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 7 9}
[capture_village]
x=6-10
y=8-11
side=2
[/capture_village]
[message]
speaker=Tarwen
message= _ "By order of the Queen, the magistrate of this town is ordered to travel with us to Elensefar for vetting."
[/message]
[message]
speaker=Harper
message= _ "Garard is the King of Wesnoth. We are ruled by no queen."
[/message]
[message]
speaker=Tarwen
message= _ "Insolent peasants, you will kneel before your betters! Asheviere is the queen of Wesnoth. The King fell three weeks ago at Abez. I shall not bandy words with you. Your magistrate will be coming with us, and we do not care if it is dead or alive."
[/message]
{GENERIC_UNIT 2 Cavalryman 19 7}
{MOVE_UNIT x,y=19,7 24 6}
{GENERIC_UNIT 2 Cavalryman 19 7}
{MOVE_UNIT x,y=19,7 24 8}
{GENERIC_UNIT 2 Cavalryman 19 7}
{MOVE_UNIT x,y=19,7 26 8}
{GENERIC_UNIT 2 Cavalryman 19 7}
{MOVE_UNIT x,y=19,7 26 6}
#ifdef NORMAL
{GENERIC_UNIT 2 Horseman 19 7}
{MOVE_UNIT x,y=19,7 23 5}
{GENERIC_UNIT 2 Horseman 19 7}
{MOVE_UNIT x,y=19,7 22 9}
#endif
#ifdef HARD
{GENERIC_UNIT 2 Horseman 19 7}
{MOVE_UNIT x,y=19,7 23 5}
{GENERIC_UNIT 2 Horseman 19 7}
{MOVE_UNIT x,y=19,7 22 9}
{GENERIC_UNIT 2 Horseman 19 7}
{MOVE_UNIT x,y=19,7 22 6}
#endif
[message]
speaker=Tarwen
message= _ "Guard the gate."
[/message]
{GENERIC_UNIT 2 Spearman 18 6}
{MOVE_UNIT x,y=18,6 20 6}
{GENERIC_UNIT 2 Spearman 18 7}
{MOVE_UNIT x,y=18,7 20 7}
[message]
speaker=Baldras
message= _ "Harper, get out of here. This is no battle for you."
[/message]
[message]
speaker=Baldras
message= _ "I am the magistrate of Dallben, and it is <i>you</i> who will be leaving Dallben, be it dead or alive."
[/message]
[/event]
#
#Special event - when you attack Tarwen, he stops being passive (surprise!)
#
[event]
name=attack
[filter_second]
id=Tarwen
[/filter_second]
[message]
speaker=Tarwen
message= _ "Get back, you cur!"
[/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
[message]
speaker=Baldras
message= _ "Our lives were hard enough when we were beneath the attention of the Crown. But now I fear things will be worse."
[/message]
[message]
speaker=Harper
message= _ "We must tell the people of Delwyn about this."
[/message]
[role]
type=Fugitive_Peasant,Outlaw_Peasant,Huntsman_Peasant,Human Ranger,Trapper_Peasant,Poacher_Peasant,Thug_Peasant
[not]
id=Harper
[/not]
role=Advisor
[/role]
[message]
role=Advisor
message= _ "That is true. We have always flown to their aid, and they to ours. This is something we should face together."
[/message]
[message]
speaker=Baldras
message= _ "Very well. We will go to Delwyn and share counsel with them. I never thought Wesnoth would fall into darkness. Now, not only do the orcs threaten our lands, but some sinister thing is happening with the ascent of the Queen to the throne."
[/message]
[message]
speaker=Baldras
message= _ "Today we may no longer be citizens of Wesnoth. I wish it could be otherwise, but we are now 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 stored_peasants i}
[unit]
side=1
type=$stored_peasants[$i].abilities.outlaw_type_hack.id
id=$stored_peasants[$i].id
name=$stored_peasants[$i].name
x,y=$stored_peasants[$i].x,$stored_peasants[$i].y
hitpoints=$stored_peasants[$i].hitpoints
moves=$stored_peasants[$i].moves
experience=$stored_peasants[$i].experience
gender=$stored_peasants[$i].gender
facing=$stored_peasants[$i].facing
profile=$stored_peasants[$i].profile
unrenamable=$stored_peasants[$i].unrenamable
canrecruit=$stored_peasants[$i].canrecruit
overlays=$stored_peasants[$i].overlays
random_traits=$stored_peasants[$i].random_traits
[insert_tag]
name=modifications
variable=stored_peasants[$i].modifications
[/insert_tag]
[/unit]
{NEXT i}
{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
[message]
speaker=Baldras
message= _ "Oh, no! We have run out of time, they have arrived with reinforcements..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=defeat
[message]
speaker=narrator
image=wesnoth-icon.png
message=_ "They would be remembered only traitors rightly put down by the Queen’s lances. And in the dark years to come, woe betide any who questioned it."
[/message]
[/event]
{LIBERTY_DEATHS}
[/scenario]
|