Skip to content

Commit

Permalink
LoW: Make the debug code wmllint liked.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Müller committed Oct 24, 2014
1 parent 15cb2b4 commit e12af3a
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions data/campaigns/Legend_of_Wesmere/utils/debug.cfg
Expand Up @@ -4,7 +4,7 @@
[set_menu_item]

id=debug_kill
description= "Kill Unit"
description= "Kill Unit" #wmllint: ignore
[filter_location]
[filter]
[/filter]
Expand All @@ -21,7 +21,7 @@

[set_menu_item]
id=debug_next
description="Next Scenario"
description="Next Scenario" #wmllint: ignore

[command]
[endlevel]
Expand All @@ -32,22 +32,19 @@

[set_menu_item]
id=debug_move
description= "Move Unit"
description="Move Unit" #wmllint: ignore
needs_select=yes
#[filter_location]
# [filter]
# [/filter]
#[/filter_location]

[command]
[event]
name=select
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]
{MOVE_UNIT x,y=$selected_move_unit_x,$selected_move_unit_y $x1 $y1}
[/command]
[/set_menu_item]

[/event]
[event]
name=select
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]

0 comments on commit e12af3a

Please sign in to comment.