Skip to content

Commit

Permalink
Update 13_Scouting.cfg
Browse files Browse the repository at this point in the history
found out the cause of nemaara/A_New_Order#39; it was an excess dollar sign. Removing it means I can remove some debugging things, too
  • Loading branch information
cooljeanius committed Dec 15, 2021
1 parent 3b3552d commit 74dd61c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions scenarios/13_Scouting.cfg
Expand Up @@ -117,33 +117,36 @@
{ELSE_IF ano_opt equals bontom}
# FIXME: since Bontom's coordinates are randomly generated (see S11), it might not actually be to the west of this village:
{MESSAGE (narrator) ({IMG}) () _"Bontom? Of course I know about it. It is a nice place a little bit west from here! My wife is from that area."}
[inspect][/inspect]
#ifdef DEBUG_MODE
#ifdef DEBUGMSG1
{DEBUGMSG1 "Placing Bontom image..."}
#endif
#endif
{PLACE_IMAGE (terrain/village/camp.png) $bontom_x $bontom_y}
[scroll_to]
x=$bontom_x
y=$bontom_y
highlight=yes
[/scroll_to]
#ifdef DEBUG_MODE
[delay]
time=123
[/delay]
#endif
{VARIABLE ano_tmp_y 0}
{VARIABLE_OP ano_tmp_y add $bontom_y}
{VARIABLE_OP ano_tmp_y add 1}
[inspect][/inspect]
#ifdef DEBUG_MODE
#ifdef DEBUGMSG1
{DEBUGMSG1 "Placing Bontom label..."}
#endif
#endif
{LABEL $bontom_x $bontom_y (Bontom)}
{CLEAR_VARIABLE $ano_tmp_y}
{CLEAR_VARIABLE ano_tmp_y}
{VARIABLE ano_bontom_location yes}
[delay]
time=123
[/delay]
[inspect][/inspect]
{ELSE_IF ano_opt equals fight}
{IF ano_barnon_fight equals yes}
{MESSAGE (narrator) ({IMG}) () _"No offense, but you've already asked me that question."}
Expand All @@ -161,7 +164,7 @@
{MESSAGE (narrator) ({IMG}) () _"That is supposed to convince me?!? Go away, little butcher. I will talk to you no more!"}
{VARIABLE ano_butcher yes}
{ELSE}
{MESSAGE (narrator) ({IMG}) () _"And this is good reason, because..?"}
{MESSAGE (narrator) ({IMG}) () _"And this is a good reason, because...?"}
{MSGOPTI4 (Gawen Hagarthen) (portraits/gawen_winter.png) (_"Because...")
(_"You may have some fun!") (fun)
(_"You will earn some gold in process!") (gold)
Expand Down Expand Up @@ -342,7 +345,7 @@
{VARIABLE_OP ano_tmp_y add $bontom_y}
{VARIABLE_OP ano_tmp_y add 1}
{LABEL $bontom_x $bontom_y (Bontom)}
{CLEAR_VARIABLE $ano_tmp_y}
{CLEAR_VARIABLE ano_tmp_y}
{END_IF_WITHOUT_ELSE}
#FREETOWN
{IF ano_strateg_pos equals 1}
Expand Down

1 comment on commit 74dd61c

@cooljeanius
Copy link
Owner Author

@cooljeanius cooljeanius commented on 74dd61c Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

credit goes to @CelticMinstrel for the help! Hopefully we can get nemaara/A_New_Order#36 closed soon so that I can submit a new PR containing this commit that will close nemaara/A_New_Order#39

Please sign in to comment.