Campaigns: wmlindent pass

[ci skip]
This commit is contained in:
Charles Dang 2017-09-12 19:49:17 +11:00
parent b61a159744
commit 60ba020869
4 changed files with 11 additions and 12 deletions

View file

@ -15,9 +15,9 @@
{EXTRA_SCENARIO_MUSIC "northern_mountains.ogg"}
{EXTRA_SCENARIO_MUSIC "legends_of_the_north.ogg"}
{EXTRA_SCENARIO_MUSIC "casualties_of_war.ogg"}
[lua]
code=<<
[lua]
code=<<
function wesnoth.wml_actions.show_countdown(cfg)
local _ = wesnoth.textdomain "wesnoth-httt"
local n = wesnoth.get_variable("units_to_slay")
@ -33,7 +33,7 @@
end
end
>>
[/lua]
[/lua]
# wmllint: local spelling Bayer
[event]
@ -55,9 +55,9 @@
side=1
type=Knight
[/disallow_recruit]
[show_countdown]
silent=yes
[/show_countdown]
[show_countdown]
silent=yes
[/show_countdown]
[objectives]
side=1
[objective]
@ -523,8 +523,8 @@
{BONUS_VICTORY}
[/then]
[else]
[show_countdown]
[/show_countdown]
[show_countdown]
[/show_countdown]
[/else]
[/if]
[/event]

View file

@ -238,7 +238,7 @@
[filter]
type=Quenoth Youth 3
[not]
[filter_wml]
[modifications]

View file

@ -36,7 +36,7 @@
damage=10
number=3
[/attack]
[attack_anim]
[attack_anim]
[filter_attack]
name=smashing frenzy
[/filter_attack]

View file

@ -932,7 +932,6 @@
image=wesnoth-icon.png
message= _ "After your victory notice, the map will be grayed out to indicate that the scenario is over; this is called <i>linger mode</i>. You will still be able to examine the final positions and state of your troops and any surviving enemies. When youre finished, click the <b>End Scenario</b> button to go on to the next scenario in the campaign."
[/message]
[/event]
[event]