ran wmlindent

This commit is contained in:
Bär Halberkamp 2014-02-22 16:35:31 +01:00
parent 7d675e8712
commit 10eb2bd986
14 changed files with 94 additions and 95 deletions

View file

@ -396,7 +396,7 @@
speaker=Hereld
message=_"It is said that they guard a powerful magical artifact. Roddry knows more than I do; he lives to the west."
[/message]
#wmllint: whofield clear MEMOIRS_DEAD_HOUSE
#wmllint: whofield clear MEMOIRS_DEAD_HOUSE
{MEMOIRS_DEAD_HOUSE_END}
[event]

View file

@ -17,18 +17,18 @@ _"This unit's grasp of melee tactics allows adjacent allies to strike the first
#define INITIATIVE_OBJECT FILTER
[object]
silent=yes
[filter]
{FILTER}
[/filter]
[effect]
apply_to=attack
range=melee
[set_specials]
mode=append
[firststrike]
id=initiative
name=""
@ -46,7 +46,7 @@ _"This unit's grasp of melee tactics allows adjacent allies to strike the first
#define LACKS_INITIATIVE_FILTER
side=1,2
[filter_side]
[allied_with]
[has_unit]
@ -54,13 +54,13 @@ _"This unit's grasp of melee tactics allows adjacent allies to strike the first
[/has_unit]
[/allied_with]
[/filter_side]
[filter_wml]
[attack]
range=melee
[/attack]
[/filter_wml]
[not]
[filter_wml]
[attack]
@ -79,11 +79,11 @@ _"This unit's grasp of melee tactics allows adjacent allies to strike the first
id=initiative_1
name=prerecruit,prerecall
first_time_only=no
[filter]
{LACKS_INITIATIVE_FILTER}
[/filter]
{INITIATIVE_OBJECT x,y=$x1,$y1}
[/event]
@ -91,32 +91,32 @@ _"This unit's grasp of melee tactics allows adjacent allies to strike the first
id=initiative_2
name=side 1 turn, side 2 turn
first_time_only=no
[store_unit]
[filter]
{LACKS_INITIATIVE_FILTER}
[/filter]
kill=no
variable=units_lacking_initiative
[/store_unit]
{FOREACH units_lacking_initiative i}
{INITIATIVE_OBJECT x,y=$units_lacking_initiative[$i].x,$units_lacking_initiative[$i].y}
{NEXT i}
{CLEAR_VARIABLE units_lacking_initiative}
[/event]
[event]
id=initiative_3
name=attack
first_time_only=no
[filter_second]
{LACKS_INITIATIVE_FILTER}
[/filter_second]
{INITIATIVE_OBJECT x,y=$x2,$y2}
[/event]
#enddef

View file

@ -22,7 +22,7 @@
usage=mixed fighter
description= _ "Few humans fathom the secrets of light and dark magic and retain their sanity. Those that can master that balance become Shadow Lords, fully existing neither in the world of light nor the world of darkness. No longer needing physical weapons, they are fearsome to both their enemies and those they lord over."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_LEADERSHIP}
die_sound={SOUND_LIST:HUMAN_DIE}
[standing_anim]
[standing_anim]
start_time=0
[frame]
image="units/human-outlaws/shadow-lord.png:70,units/human-outlaws/shadow-lord-[1~7].png:70"
@ -120,4 +120,4 @@
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[/unit_type]
[/unit_type]

View file

@ -91,4 +91,4 @@
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[/unit_type]
[/unit_type]

View file

@ -197,9 +197,9 @@
description= _ "Death of Lady Jessene"
condition=lose
[/objective]
#textdomain wesnoth
#textdomain wesnoth
notes_string = _"Gold carryover:"
#textdomain wesnoth-trow
#textdomain wesnoth-trow
[note]
red,green,blue=255,255,192
description= _ "You will receive a finish bonus — equal to an early finish bonus — for the number of turns you lasted."
@ -342,7 +342,7 @@
message= _ "I bet this wasnt the welcome you were expecting."
[/message]
[/event]
# Enemies' base income increases by 1 every turn
[event]
name=new turn
@ -352,7 +352,7 @@
[filter_side]
side=2,3,4
[/filter_side]
income="$($turn_number - 1)"
[/modify_side]
[/event]
@ -498,7 +498,7 @@
name=last_done
value="none"
[/set_variable]
[modify_turns]
value=$turn_number
[/modify_turns]

View file

@ -93,7 +93,7 @@
team_name=eloh_ally
user_team_name=_"Eloh Cultists"
{FLAG_VARIANT undead}
#ifdef EASY
recruit=Blood Bat, Ghost, Wraith, Revenant, Deathblade, Bone Shooter, Necrophage, Banebow
#endif
@ -130,7 +130,7 @@
team_name=eloh_ally
user_team_name=_"Eloh Cultists"
{FLAG_VARIANT undead}
#ifdef EASY
recruit=Orcish Warrior, Orcish Crossbowman, Orcish Slayer, Goblin Knight, Goblin Pillager, Direwolf Rider, Orcish Warlord
#endif

View file

@ -58,9 +58,9 @@
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image=units/elves-desert/corrupted-elf-attack.png:200
[/frame]

View file

@ -18,7 +18,7 @@
usage=archer
description= _ "Desert Archers are trained from youth in archery, and so skilled in long-range combat. Though their bows are cruder and their arrows less plentiful than their elvish ancestors, they fight with ferocity that does credit to their race."
die_sound={SOUND_LIST:ELF_HIT}
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
@ -32,7 +32,7 @@
image="units/elves-desert/archer-idle-1.png:100"
[/frame]
[/idle_anim]
# melee attack increased from 5-2 to 6-2
# ranged attack decreased from 5-4 to 4-4
[attack]
@ -93,7 +93,7 @@
image="units/elves-desert/archer-sword.png:25"
[/frame]
[/attack_anim]
[female]
name= _ "female^Desert Archer"
gender=female

View file

@ -91,7 +91,7 @@
image="units/elves-desert/avenger-sword.png:25"
[/frame]
[/attack_anim]
[female]
name= _ "female^Desert Avenger"
image="units/elves-desert/avenger+female.png"

View file

@ -56,7 +56,7 @@
range=ranged
[/attack]
{DEFENSE_ANIM "units/elves-desert/druid-defend-2.png" "units/elves-desert/druid-defend-1.png" {SOUND_LIST:ELF_FEMALE_HIT} }
[healing_anim]
[healing_anim]
start_time=-300
[frame]
image="units/elves-desert/druid-magic-[1~4,4~1].png:75"

View file

@ -18,12 +18,12 @@
level=4
advances_to=null
{AMLA_DEFAULT}
[abilities]
{ABILITY_ILLUMINATES}
[/abilities]
description= _ "Desert Stars are Shydes that have becomes so powerful and holy that they shine forth the light of Eloh, even in the darkest places. They are living testaments to the power and glory of Eloh. Like Shydes, they are capable of gliding unencumbered across almost any terrain. Elohs power also reduces the wounds that Desert Stars suffer when attacked."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_UTBS_CURES}+{SPECIAL_NOTES_ILLUMINATES}+_"SPECIAL_NOTE^ This unit can fly across any terrain except deep water."+_"SPECIAL_NOTE^ It also gains a 10% bonus to resistance from all attacks."
# The Desert Shyde's magical power is strong enough that they
# do not suffer the normal desert elf penalty to ranged attacks
[attack]

View file

@ -83,7 +83,6 @@
[/attack_anim]
[/unit_type]
# This is the Alien Central Body which is vulnerable to attacks
[unit_type]
[base_unit]
@ -100,19 +99,19 @@
cold=150
arcane=200
[/resistance]
hide_help=true
do_not_list=yes
die_sound=wail-long.wav
[attack]
damage=3
[/attack]
[attack]
damage=3
[/attack]
[death]
[death]
[die_sound_frame]
duration=600
sound=explosion.ogg
@ -141,34 +140,34 @@
duration=800
sound=explosion.ogg
[/die_sound_frame]
# Creating timed explosions at POS
#define BURST_FRAME NUMBER TIME DELAY POS
burst_{NUMBER}_start_time={TIME}
[burst_{NUMBER}_frame]
duration={DELAY}
halo=halo/flame-burst-[1~8].png:50,misc/blank-hex.png:1
halo_x,halo_y={POS}
auto_hflip=no
auto_vflip=no
[/burst_{NUMBER}_frame]
[burst_{NUMBER}_frame]
halo=projectiles/fireball-impact-[1,1~16].png,misc/blank-hex.png:1
halo_x,halo_y={POS}
auto_hflip=no
auto_vflip=no
[/burst_{NUMBER}_frame]
#enddef
#define BURST_FRAME NUMBER TIME DELAY POS
burst_{NUMBER}_start_time={TIME}
[burst_{NUMBER}_frame]
duration={DELAY}
halo=halo/flame-burst-[1~8].png:50,misc/blank-hex.png:1
halo_x,halo_y={POS}
auto_hflip=no
auto_vflip=no
[/burst_{NUMBER}_frame]
[burst_{NUMBER}_frame]
halo=projectiles/fireball-impact-[1,1~16].png,misc/blank-hex.png:1
halo_x,halo_y={POS}
auto_hflip=no
auto_vflip=no
[/burst_{NUMBER}_frame]
#enddef
{BURST_FRAME 1 0 1800 -9,17}
{BURST_FRAME 2 600 1700 18,0}
{BURST_FRAME 3 1200 1600 -9,-18}
{BURST_FRAME 4 1800 1500 9,17}
{BURST_FRAME 5 2400 1400 8,-18}
{BURST_FRAME 6 3000 1300 -18,0}
#undef BURST_FRAME
#undef BURST_FRAME
[frame]
duration=2500
image="units/alien/core-compact.png"

View file

@ -118,7 +118,7 @@
heal_full=yes
[/effect]
[/advancement]
[attack_anim]
[filter_attack]
name=sand storm

View file

@ -1,53 +1,53 @@
#textdomain wesnoth
#define TRASH_A TERRAIN PROB IMAGESTEM
[terrain_graphics]
map="
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability={PROB}
[image]
name={IMAGESTEM}-@V.png
variations="1;2;3;4;5"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability={PROB}
[image]
name={IMAGESTEM}-@V.png
variations="1;2;3;4;5"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
#enddef
#define LITTER_BASE TERRAIN IMAGESTEM
[terrain_graphics]
map="
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability=100
[image]
name={IMAGESTEM}@V.png
variations=";2;3;4;5;6"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability=100
[image]
name={IMAGESTEM}@V.png
variations=";2;3;4;5;6"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
#enddef
##################### two neighbours ########################