Tutorial S2: Highlight talked-about locations

This also tweaks some locations, in particular fixing a case of scrolling to the wrong village
This commit is contained in:
Celtic Minstrel 2016-03-20 02:52:48 -04:00
parent 1c27cafa74
commit dcdac2fe7f
2 changed files with 7 additions and 3 deletions

View file

@ -170,7 +170,7 @@
{TALK_ABOUT Thrag ( _ "By then, their leader will have recruited more units to send against us and the real fight will begin.")}
{TALK_ABOUT_LOC 19,14 ( _ "See this dark blue water? Its too deep for either side to cross. The orcs could slowly wade through that narrow band of shallow lighter-blue water in the east; but we could stand on the shore and force them to fight us from the water, where they are exposed and we are protected by the forest.")}
{TALK_ABOUT_LOC 18,15 ( _ "See this dark blue water? Its too deep for either side to cross. The orcs could slowly wade through that narrow band of shallow lighter-blue water in the east; but we could stand on the shore and force them to fight us from the water, where they are exposed and we are protected by the forest.")}
{TALK_ABOUT_LOC 9,14 ( _ "The more likely attack, then, is across the bridge. That middle island is the key: it has a village for healing injured units and forests in which we fight so well.")}
@ -520,7 +520,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
message= _ "Well done! The island village is ours. You can use the trees to set up a blockade against the orcs; they can only come across the bridge one by one without wading through the water, and you will be securely on a terrain with good defense."
[/message]
{TALK_ABOUT_LOC 19,5 ( _ "Dont forget about that last village near the channel. The orcs will capture it if they try to sneak around via the ford! It will be hard to dislodge them if they do.")}
{TALK_ABOUT_LOC 18,13 ( _ "Dont forget about that last village near the channel. The orcs will capture it if they try to sneak around via the ford! It will be hard to dislodge them if they do.")}
[/event]
[event]
@ -597,7 +597,7 @@ A full list of abilities and weapons specials, along with traits, may be found i
name=check_income
[/fire_event]
{TALK_ABOUT_LOC 9,15 ( _ "Remember to retreat your wounded units to villages. Healers can only heal 4 hitpoints at a time, while villages can heal 8 (the maximum healing for any unit).")}
{TALK_ABOUT_LOC 11,14 ( _ "Remember to retreat your wounded units to villages. Healers can only heal 4 hitpoints at a time, while villages can heal 8 (the maximum healing for any unit).")}
[/event]
[event]

View file

@ -44,11 +44,13 @@
#define TALK_ABOUT ID_STRING MESSAGE_TEXT
[scroll_to_unit]
id={ID_STRING}
highlight=yes
[/scroll_to_unit]
[message]
speaker=Galdrad
scroll=no
highlight=no
message={MESSAGE_TEXT}
[/message]
#enddef
@ -56,11 +58,13 @@
#define TALK_ABOUT_LOC POSITION MESSAGE_TEXT
[scroll_to]
x,y={POSITION}
highlight=yes
[/scroll_to]
[message]
speaker=Galdrad
scroll=no
highlight=no
message={MESSAGE_TEXT}
[/message]
#enddef