wmlindent pass

This commit is contained in:
Ignacio R. Morelle 2014-11-15 06:35:17 -03:00
parent fe8c111cae
commit 39e2d710bd
14 changed files with 204 additions and 221 deletions

View file

@ -16,237 +16,237 @@
[/event]
[label]
immutable=yes
text=_"Essarn"
visible_in_fog=yes
visible_in_shroud=no
x=4
y=36
immutable=yes
text=_"Essarn"
visible_in_fog=yes
visible_in_shroud=no
x=4
y=36
[/label]
[label]
immutable=yes
team_name=""
text=_"Valcathra"
visible_in_fog=yes
visible_in_shroud=no
x=7
y=43
immutable=yes
team_name=""
text=_"Valcathra"
visible_in_fog=yes
visible_in_shroud=no
x=7
y=43
[/label]
[label]
immutable=yes
team_name=""
text=_"River Telfar"
visible_in_fog=no
visible_in_shroud=yes
x=11
y=6
immutable=yes
team_name=""
text=_"River Telfar"
visible_in_fog=no
visible_in_shroud=yes
x=11
y=6
[/label]
[label]
immutable=yes
team_name=""
text=_"Telfar Green"
visible_in_fog=no
visible_in_shroud=yes
x=12
y=19
immutable=yes
team_name=""
text=_"Telfar Green"
visible_in_fog=no
visible_in_shroud=yes
x=12
y=19
[/label]
[label]
immutable=yes
team_name=""
text=_"Erethean"
visible_in_fog=yes
visible_in_shroud=no
x=13
y=47
immutable=yes
team_name=""
text=_"Erethean"
visible_in_fog=yes
visible_in_shroud=no
x=13
y=47
[/label]
[label]
immutable=yes
team_name=""
text=_"Northern Shallows"
visible_in_fog=no
visible_in_shroud=yes
x=14
y=15
immutable=yes
team_name=""
text=_"Northern Shallows"
visible_in_fog=no
visible_in_shroud=yes
x=14
y=15
[/label]
[label]
immutable=yes
team_name=""
text=_"Arthen"
visible_in_fog=yes
visible_in_shroud=no
x=15
y=26
immutable=yes
team_name=""
text=_"Arthen"
visible_in_fog=yes
visible_in_shroud=no
x=15
y=26
[/label]
[label]
immutable=yes
team_name=""
text=_"Dancers Green"
visible_in_fog=no
visible_in_shroud=yes
x=17
y=11
immutable=yes
team_name=""
text=_"Dancers Green"
visible_in_fog=no
visible_in_shroud=yes
x=17
y=11
[/label]
[label]
immutable=yes
team_name=""
text=_"Illissa"
visible_in_fog=yes
visible_in_shroud=no
x=17
y=31
immutable=yes
team_name=""
text=_"Illissa"
visible_in_fog=yes
visible_in_shroud=no
x=17
y=31
[/label]
[label]
immutable=yes
team_name=""
text=_"Brightleaf Wood"
visible_in_fog=yes
visible_in_shroud=no
x=19
y=36
immutable=yes
team_name=""
text=_"Brightleaf Wood"
visible_in_fog=yes
visible_in_shroud=no
x=19
y=36
[/label]
[label]
immutable=yes
team_name=""
text=_"Viricon"
visible_in_fog=yes
visible_in_shroud=no
x=21
y=45
immutable=yes
team_name=""
text=_"Viricon"
visible_in_fog=yes
visible_in_shroud=no
x=21
y=45
[/label]
[label]
immutable=yes
team_name=""
text=_"Ford of Alyas"
visible_in_fog=yes
visible_in_shroud=no
x=23
y=25
immutable=yes
team_name=""
text=_"Ford of Alyas"
visible_in_fog=yes
visible_in_shroud=no
x=23
y=25
[/label]
[label]
immutable=yes
team_name=""
text=_"Elendor"
visible_in_fog=yes
visible_in_shroud=no
x=27
y=23
immutable=yes
team_name=""
text=_"Elendor"
visible_in_fog=yes
visible_in_shroud=no
x=27
y=23
[/label]
[label]
immutable=yes
team_name=""
text=_"Telionath"
visible_in_fog=yes
visible_in_shroud=no
x=27
y=40
immutable=yes
team_name=""
text=_"Telionath"
visible_in_fog=yes
visible_in_shroud=no
x=27
y=40
[/label]
[label]
immutable=yes
team_name=""
text=_"West Tower"
visible_in_fog=yes
visible_in_shroud=no
x=29
y=32
immutable=yes
team_name=""
text=_"West Tower"
visible_in_fog=yes
visible_in_shroud=no
x=29
y=32
[/label]
[label]
immutable=yes
team_name=""
text=_"North Bridge"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=26
immutable=yes
team_name=""
text=_"North Bridge"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=26
[/label]
[label]
immutable=yes
team_name=""
text=_"North Tower"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=30
immutable=yes
team_name=""
text=_"North Tower"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=30
[/label]
[label]
immutable=yes
team_name=""
text=_"South Bastion"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=37
immutable=yes
team_name=""
text=_"South Bastion"
visible_in_fog=yes
visible_in_shroud=no
x=31
y=37
[/label]
[label]
immutable=yes
team_name=""
text=_"Tireas"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=22
immutable=yes
team_name=""
text=_"Tireas"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=22
[/label]
[label]
immutable=yes
team_name=""
text=_"East Tower"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=32
immutable=yes
team_name=""
text=_"East Tower"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=32
[/label]
[label]
immutable=yes
team_name=""
text=_"Aelion"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=45
immutable=yes
team_name=""
text=_"Aelion"
visible_in_fog=yes
visible_in_shroud=no
x=33
y=45
[/label]
[label]
immutable=yes
team_name=""
text=_"Ford of Tifranur"
visible_in_fog=yes
visible_in_shroud=no
x=39
y=37
immutable=yes
team_name=""
text=_"Ford of Tifranur"
visible_in_fog=yes
visible_in_shroud=no
x=39
y=37
[/label]
[label]
immutable=yes
team_name=""
text=_"Karmarth Hills"
visible_in_fog=yes
visible_in_shroud=no
x=41
y=9
immutable=yes
team_name=""
text=_"Karmarth Hills"
visible_in_fog=yes
visible_in_shroud=no
x=41
y=9
[/label]
[label]
immutable=yes
team_name=""
text=_"Arryn"
visible_in_fog=yes
visible_in_shroud=no
x=41
y=32
immutable=yes
team_name=""
text=_"Arryn"
visible_in_fog=yes
visible_in_shroud=no
x=41
y=32
[/label]
[label]
immutable=yes
team_name=""
text=_"Westwind Wood"
visible_in_fog=no
visible_in_shroud=yes
x=42
y=25
immutable=yes
team_name=""
text=_"Westwind Wood"
visible_in_fog=no
visible_in_shroud=yes
x=42
y=25
[/label]
[label]
immutable=yes
team_name=""
text=_"Southwind Wood"
visible_in_fog=yes
visible_in_shroud=no
x=42
y=45
immutable=yes
team_name=""
text=_"Southwind Wood"
visible_in_fog=yes
visible_in_shroud=no
x=42
y=45
[/label]
## Sound for the River Telfar

View file

@ -457,7 +457,7 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
[filter_side]
[has_unit]
id=Velon
[/has_unit]
[/has_unit]
[/filter_side]
[/filter_second]
@ -476,7 +476,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
id=Velon
message= _ "Kalenz was right and I was wrong. Go; join Kalenz while yet you can. I and the remaining elders will cover your retreat as best we may."
[/message]
[/event]
[event]

View file

@ -102,7 +102,6 @@
#endif
[/side]
### Olurf's Code ###
#define OLURFS_LAND
x=20-24,19-30,17-30,16-30,14-30,12-30,11-30,10-30,7-30,8-30,10-30,13-30,15-30,18-30,19-30,20-30,22-30,23-30,24-30,23-30,22-30
@ -479,7 +478,6 @@
### /Enemy Side ###
#### Objectives and corresponding events ####
[event]
name=start

View file

@ -299,7 +299,6 @@ Chapter Two"
y=28
[/recall]
#ifdef MULTIPLAYER
{UNIT 3 (Elvish Ranger) 23 24 (role=liberator)}
#else

View file

@ -100,7 +100,7 @@
{PLAYER_GOLD}
fog=no
[unit]
{LANDAR}
{LANDAR}
extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
x=4
y=11
@ -131,7 +131,6 @@
#endif
[/side]
#define SAURIAN_AI
{ai/aliases/stable_singleplayer.cfg}
[ai]
@ -283,8 +282,6 @@
x=4
y=18
[/recall]
[/event]
[event]

View file

@ -46,7 +46,7 @@
no_leader=yes
[unit]
{KALENZ}
{KALENZ}
extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
x=17
y=38

View file

@ -140,7 +140,6 @@
#endif
[/side]
[side]
side=3
no_leader=yes
@ -168,8 +167,6 @@
#endif
[/side]
### Allies ####
[side]
side=4
@ -251,7 +248,6 @@
#endif
[/side]
[event]
name=prestart
[allow_recruit]

View file

@ -17,7 +17,7 @@
[side]
no_leader=yes
[unit]
{KALENZ}
{KALENZ}
[/unit]
gold=0
[/side]

View file

@ -41,7 +41,7 @@
[unit]
{KALENZ}
x=12
y=1
y=1
[/unit]
#ifndef MULTIPLAYER
[unit]
@ -66,7 +66,7 @@
[unit]
{LANDAR}
x=11
y=1
y=1
[/unit]
fog=yes
share_view=yes
@ -92,7 +92,7 @@
[unit]
{CLEODIL}
x=11
y=1
y=1
[/unit]
fog=yes
share_view=yes

View file

@ -18,12 +18,12 @@
{DEFAULT_SCHEDULE_AFTERNOON}
# #TODO split the villages instead of leaving them unassigned in MP?
# #TODO split the villages instead of leaving them unassigned in MP?
#ifndef MULTIPLAYER
{STARTING_VILLAGES_ELF 1}
{STARTING_VILLAGES_ELF 1}
#endif
{STARTING_VILLAGES_HUMAN 2}
{STARTING_VILLAGES_TROLL 3}
{STARTING_VILLAGES_HUMAN 2}
{STARTING_VILLAGES_TROLL 3}
{INTRO_AND_SCENARIO_MUSIC revelation.ogg loyalists.ogg}
{EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
@ -225,7 +225,6 @@ Chapter Four"
extra_recruit=Troll Whelp, Troll, Troll Rocklobber, Troll Warrior
#endif
[/unit]
[/side]
[side]
@ -397,7 +396,6 @@ Chapter Four"
id=Kalenz
message= _ "No, it is not. But if we do not defeat these orcs here and now our divisions will all be moot. I will take every sword-arm I can get and be glad of them."
[/message]
[/event]
#ifdef MULTIPLAYER

View file

@ -34,17 +34,17 @@
[side]
side=1
{PLAYABLE}
{GOLD 200 180 160}
save_id=Kalenz
no_leader=yes
[unit]
{KALENZ}
placement=leader
extra_recruit=Elvish Fighter, Elvish Archer, Elvish Scout
[/unit]
#ifndef MULTIPLAYER
#TODO Let's keep cleodil out of multiplayer, shall we?
[unit]

View file

@ -52,7 +52,7 @@
#define SCOUT
id=scout
# name= _ "Huraldur"
# name= _ "Huraldur"
type=Elvish Scout
unrenamable=yes
[modifications]
@ -63,7 +63,6 @@
{IS_LOYAL}
#enddef
#define LANDAR
id=Landar
name= _ "Landar"

View file

@ -2,7 +2,6 @@
name=prestart
[set_menu_item]
id=debug_kill
description= "Kill Unit" #wmllint: ignore
[filter_location]
@ -41,10 +40,8 @@
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]
[/event]
{MOVE_UNIT x,y=$selected_move_unit_x,$selected_move_unit_y $x1 $y1}
[/command]
[/set_menu_item]
[/event]

View file

@ -7,8 +7,8 @@
#define LOAD_SUBMAP X_SPAN Y_SPAN OFFSET_X OFFSET_Y MAP
[store_unit]
[filter]
x=1-999
y=1-999
x=1-999
y=1-999
[/filter]
variable=MOVE_UNIT_store
kill=yes
@ -26,7 +26,7 @@
numerical_not_equals=0
[/variable]
[then]
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_x add {OFFSET_X}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_x add {OFFSET_X}}
[/then]
[/if]
[if]
@ -35,7 +35,7 @@
numerical_not_equals=0
[/variable]
[then]
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_y add {OFFSET_Y}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_y add {OFFSET_Y}}
[/then]
[/if]
{NEXT unit}
@ -56,9 +56,9 @@
{LOW_MAP {MAP}}
[/replace_map]
[shift_labels]
x={OFFSET_X}
y={OFFSET_Y}
[/shift_labels]
x={OFFSET_X}
y={OFFSET_Y}
[/shift_labels]
{FOREACH MOVE_UNIT_store unit}
[unstore_unit]