Skip to content

Commit

Permalink
TRoW: General cleanup
Browse files Browse the repository at this point in the history
Clear variables, macros and comments
  • Loading branch information
DisherProject authored and GregoryLundberg committed Oct 18, 2018
1 parent f594019 commit 5be5d32
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 14 deletions.
2 changes: 2 additions & 0 deletions data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg
Expand Up @@ -469,3 +469,5 @@
{CLEAR_VARIABLE wesfolk_leader_store}
[/event]
[/scenario]

#undef NORTH_GUARD
Expand Up @@ -429,3 +429,5 @@ SW — The Midlands."
[/message]
[/event]
[/scenario]

#undef ESCAPE_VICTORY
Expand Up @@ -655,3 +655,7 @@ Enter at Your Own Risk!"
[/message]
[/event]
[/scenario]

#undef TEMPLE_HELP
#undef TEMPLE_TRAP
#undef TEMPLE_LOOT
Expand Up @@ -111,7 +111,7 @@

[event]
name=prestart
{CLEAR_VARIABLE last_done}
{CLEAR_VARIABLE last_done,escape_choice}

{PLACE_IMAGE (scenery/temple1.png) 23 22}
{PLACE_IMAGE (scenery/castle-ruins.png) 5 5}
Expand Down
Expand Up @@ -314,7 +314,7 @@
speaker=Burin the Lost
message= _ "Finally, we’re getting out of this forest!"
[/message]
{CLEAR_VARIABLE have_lady}
{CLEAR_VARIABLE have_lady,heal_amount}
[endlevel]
result=victory
bonus=no
Expand Down
Expand Up @@ -643,3 +643,6 @@
[/allow_undo]
[/event]
[/scenario]

#undef PETRIFIED
#undef PETRIFIED_UNIT
Expand Up @@ -186,18 +186,6 @@
[/objectives]
[/event]

# [event]
# name=moveto
# [filter]
# side=1
# x=17
# y=18
# [/filter]
#
# [remove_item]
# [/remove_item]
# [/event]

[event]
name=start
[message]
Expand Down
Expand Up @@ -574,3 +574,11 @@
[/switch]
[/event]
[/scenario]

#undef DRAGON
#undef BEACH
#undef HOLE
#undef ISLE
#undef QUEST_CHOICES
#undef QUESTS
#undef GREET
Expand Up @@ -543,3 +543,5 @@
[/message]
[/event]
[/scenario]

#undef GOLD_TO_BADDIES
Expand Up @@ -496,3 +496,7 @@
[/message]
[/event]
[/scenario]

#undef TEMP_LOOT
#undef TEMP_QUEEN
#undef TEMP_EMPTY
Expand Up @@ -622,6 +622,7 @@
[/message]

{CLEAR_VARIABLE side_2_undead_backup_triggered,side_3_undead_backup_triggered,side_4_undead_backup_triggered,undead_spawns_so_far}
{CLEAR_VARIABLE xx1,yy1}

[endlevel]
result=victory
Expand Down
Expand Up @@ -1631,3 +1631,5 @@
[/message]
[/event]
[/scenario]

#undef JEVGOLD

0 comments on commit 5be5d32

Please sign in to comment.