/usr/share/games/wesnoth/1.10/data/campaigns/Eastern_Invasion/scenarios/08_Training_the_Ogres.cfg is in wesnoth-1.10-ei 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 | #textdomain wesnoth-ei
[scenario]
id=08_Training_the_Ogres
name= _ "Training the Ogres"
next_scenario=09_Xenophobia
map_data="{campaigns/Eastern_Invasion/maps/08_Training_the_Ogres.map}"
victory_when_enemies_defeated=no
{TURNS 4 5 6}
{DEFAULT_SCHEDULE}
{INTRO_AND_SCENARIO_MUSIC breaking_the_chains.ogg knolls.ogg}
{EXTRA_SCENARIO_MUSIC revelation.ogg}
{EXTRA_SCENARIO_MUSIC traveling_minstrels.ogg}
{campaigns/Eastern_Invasion/utils/deaths.cfg}
[story]
[part]
show_title=yes
{TO_TRAINING_THE_OGRES}
[/part]
[/story]
[side]
type=Lieutenant
id=Gweddry
name= _ "Gweddry"
side=1
income=-2
canrecruit=no
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
gold=0
{FLAG_VARIANT loyalist}
[/side]
[side]
side=2
controller=ai
no_leader=yes
team_name=monster
user_team_name=_"Monsters"
[/side]
#define OGRE
[unit]
type=Young Ogre
side=2
x=12
y=10
[/unit]
#enddef
[event]
name=prestart
# {SCATTER_IMAGE (terrain=Gs^Fp) 8 scenery/pine2.png}
[objectives]
side=1
[objective]
description= _ "Survive until end of turns"
condition=win
show_turn_counter=yes
[/objective]
[objective]
description= _ "To add ogres to your army, keep two on the grass until end of turns"
condition=win
[/objective]
[objective]
description= _ "Death of Gweddry"
condition=lose
[/objective]
[objective]
description= _ "Death of Dacyn"
condition=lose
[/objective]
[objective]
description= _ "Death of Owaec"
condition=lose
[/objective]
[gold_carryover]
carryover_percentage=100
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[recall]
id=Dacyn
[/recall]
[recall]
id=Owaec
[/recall]
{OGRE}
{OGRE}
{OGRE}
#ifdef NORMAL
{OGRE}
#endif
#ifdef HARD
{OGRE}
{OGRE}
#endif
[message]
speaker=Gweddry
message= _ "Look, we have found a pack of ogres. We should try to capture some to train."
[/message]
[message]
speaker=Dacyn
message= _ "All right, we have to keep at least two of these ogres on the grass where they can’t escape until our troops get here to capture them. Then they will have to lead us to their tribe."
[/message]
[message]
speaker=Owaec
message= _ "We should try to surround them. Gweddry, you stay where you are. Dacyn, you go north-east. I’ll go north-west."
[/message]
[teleport]
[filter]
id=Owaec
[/filter]
x=7
y=7
[/teleport]
[teleport]
[filter]
id=Dacyn
[/filter]
x=17
y=7
[/teleport]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
type=Young Ogre
x=1-25,1-2,23-24,1-25
y=1-2,1-20,1-20,18-20
[/filter]
[message]
speaker=Gweddry
message= _ "We have let one escape. Let’s hope they don’t all!"
[/message]
[kill]
type=Young Ogre
x=1-25,1-2,23-24,1-25
y=1-2,1-20,1-20,18-20
[/kill]
[/event]
[event]
name=time over
[role]
type=Young Ogre
role=ogre
[/role]
[kill]
role=ogre
[/kill]
[if]
[have_unit]
type=Young Ogre
[/have_unit]
[then]
[message]
speaker=Dacyn
message= _ "Our troops have caught up! Now, we will be able to recruit ogres, since these will be able to convince their tribe to join us."
[/message]
{VARIABLE have_ogres yes}
[allow_recruit]
side=1
type=Young Ogre
[/allow_recruit]
[/then]
[else]
[message]
speaker=Gweddry
message= _ "We didn’t capture enough of the ogres here. We will have to go on without them."
[/message]
[/else]
[/if]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/event]
{FOREIGN_DEFEAT}
[/scenario]
|