Skip to content

Commit

Permalink
ANL: strip unnecessary wmltools guards and ran wmlindent
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 23, 2016
1 parent 56f0c9a commit c40c2cd
Show file tree
Hide file tree
Showing 2 changed files with 579 additions and 590 deletions.
50 changes: 23 additions & 27 deletions data/multiplayer/scenarios/ANL_utils/ANL_research_options.cfg
Expand Up @@ -51,31 +51,28 @@
[filter_location]
terrain="Gg^Ve,Gg^Vea"
[/filter_location]
# wmlindent: start ignoring
[command]
[message]
speaker=unit
caption=_ "Study Complete"
# wmllint: display on
message= _ "Which type of unit would you like to be able to recruit?"
# wmllint: display off
#textdomain wesnoth-units
{PICK_RECRUIT_OPTION ("units/human-loyalists/spearman.png~TC($side_number|,magenta)") "Spearman" _"Spearman" troop_1}
{PICK_RECRUIT_OPTION ("units/human-loyalists/bowman.png~TC($side_number|,magenta)") "Bowman" _"Bowman" troop_2}
{PICK_RECRUIT_OPTION ("units/human-loyalists/fencer.png~TC($side_number|,magenta)") "Fencer" _"Fencer" troop_3}
{PICK_RECRUIT_OPTION ("units/human-loyalists/heavyinfantry.png~TC($side_number|,magenta)") "Heavy Infantryman" _"Heavy Infantryman" troop_4}
{PICK_RECRUIT_OPTION ("units/human-loyalists/sergeant.png~TC($side_number|,magenta)") "Sergeant" _"Sergeant" troop_5}
{PICK_RECRUIT_OPTION ("units/human-loyalists/cavalryman/cavalryman.png~TC($side_number|,magenta)") "Cavalryman" _"Cavalryman" troop_6}
{PICK_RECRUIT_OPTION ("units/human-loyalists/horseman/horseman.png~TC($side_number|,magenta)") "Horseman" _"Horseman" troop_7}
#textdomain wesnoth-anl
[/message]

[set_variable]
name=player_$side_number|.warfare.troop_available
sub=1
[/set_variable]
[/command]
# wmlindent: stop ignoring

[command]
[message]
speaker=unit
caption=_ "Study Complete"
message= _ "Which type of unit would you like to be able to recruit?"
#textdomain wesnoth-units
{PICK_RECRUIT_OPTION ("units/human-loyalists/spearman.png~TC($side_number|,magenta)") "Spearman" _"Spearman" troop_1}
{PICK_RECRUIT_OPTION ("units/human-loyalists/bowman.png~TC($side_number|,magenta)") "Bowman" _"Bowman" troop_2}
{PICK_RECRUIT_OPTION ("units/human-loyalists/fencer.png~TC($side_number|,magenta)") "Fencer" _"Fencer" troop_3}
{PICK_RECRUIT_OPTION ("units/human-loyalists/heavyinfantry.png~TC($side_number|,magenta)") "Heavy Infantryman" _"Heavy Infantryman" troop_4}
{PICK_RECRUIT_OPTION ("units/human-loyalists/sergeant.png~TC($side_number|,magenta)") "Sergeant" _"Sergeant" troop_5}
{PICK_RECRUIT_OPTION ("units/human-loyalists/cavalryman/cavalryman.png~TC($side_number|,magenta)") "Cavalryman" _"Cavalryman" troop_6}
{PICK_RECRUIT_OPTION ("units/human-loyalists/horseman/horseman.png~TC($side_number|,magenta)") "Horseman" _"Horseman" troop_7}
#textdomain wesnoth-anl
[/message]

[set_variable]
name=player_$side_number|.warfare.troop_available
sub=1
[/set_variable]
[/command]
[/set_menu_item]

# Changing Research Target
Expand Down Expand Up @@ -124,7 +121,6 @@
[/variable]

[do]
# wmlindent: start ignoring
[message]
speaker=unit
caption=_ "Research"
Expand All @@ -150,7 +146,7 @@ Our mines produce $player_$side_number|.mining.gold|g
[/set_variable]
[/command]
[/option]
# wmlindent: stop ignoring

# Farming

[option]
Expand Down

0 comments on commit c40c2cd

Please sign in to comment.