HttT S11: Correct two places where a typographic quote was used in Li'sar's id

In S11, if the player tries to attack Li'sar then there are supposed to be four
events adding extra guards. Two of them didn't trigger, because the [have_unit]
calls were trying to match her id with a typographic quotation mark.

One change in the opposite direction, where the displayed name could have a
non-typographic quotation mark; this might only happen when using choose_level
to reach a scenario with NEED_LISAR before her unit is on Konrad's recall list.

Remove a CLEAR_VARIABLE that was obsolete since 7778e6f4.
This commit is contained in:
Steve Cotton 2019-05-25 06:54:30 +02:00 committed by josteph
parent 7622dc3358
commit 7049367bf0
3 changed files with 3 additions and 5 deletions

View file

@ -306,7 +306,7 @@
[/filter]
[filter_condition]
[have_unit]
id="Lisar"
id="Li'sar"
[/have_unit]
[have_location]
x,y=$x1,$y1
@ -345,7 +345,7 @@
[/filter]
[filter_condition]
[have_unit]
id="Lisar"
id="Li'sar"
[/have_unit]
[have_location]
x,y=$x1,$y1

View file

@ -407,8 +407,6 @@
{TRAIT_LOYAL}
[/modifications]
[/modify_unit]
{CLEAR_VARIABLE stored_Lisar}
[/event]
#deaths.cfg only handles death of Li'sar is shes on side '1', so handle

View file

@ -717,7 +717,7 @@ fire: +10%"
#define NEED_LISAR PLACEMENT
[unit]
id="Li'sar"
name= _ "Li'sar"
name= _ "Lisar"
profile=portraits/lisar.png
unrenamable=yes
type=Princess