Skip to content

Commit

Permalink
attempting to debug nemaara/A_New_Order#39
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed Dec 14, 2021
1 parent f649e24 commit 64167cf
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scenarios/13_Scouting.cfg
Expand Up @@ -117,13 +117,33 @@
{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_MSG1
{DEBUG_MSG1 "Placing Bontom image..."}
#endif
{PLACE_IMAGE (terrain/village/camp.png) $bontom_x $bontom_y}
[scroll_to]
x=$bontom_x
y=$bontom_y
highlight=yes
[/scroll_to]
[delay]
time=123
[/delay]
{VARIABLE ano_tmp_y 0}
{VARIABLE_OP ano_tmp_y add $bontom_y}
{VARIABLE_OP ano_tmp_y add 1}
[inspect][/inspect]
#ifdef DEBUG_MSG1
{DEBUG_MSG1 "Placing Bontom label..."}
#endif
{LABEL $bontom_x $bontom_y (Bontom)}
{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 Down
12 changes: 12 additions & 0 deletions scenarios/14c_She_Wolf_of_Haeltin.cfg
Expand Up @@ -94,6 +94,12 @@
{RECALL (Karen)}
{TELEPORT (Ruvio) 4 19}
{TELEPORT (Karen) 5 19}
[modify_unit]
[filter]
side=1
[/filter]
facing=ne
[/modify_unit]
[/event]
[event]
name=start
Expand All @@ -116,6 +122,12 @@
type=$ano_lorin_stored.type
[/move_unit_fake]
{TELEPORT (Lady Lorin) 6 18}
[modify_unit]
[filter]
id=Lady Lorin
[/filter]
facing=nw
[/modify_unit]
[unhide_unit]
x=6
y=18
Expand Down

0 comments on commit 64167cf

Please sign in to comment.