TSG S04 Always give bodyguard

If we get to victory without anyone dieing (very unlikely) have Ethiliel call upon her bodyguard so we always have them.
This commit is contained in:
Gregory A Lundberg 2016-09-02 13:23:43 -05:00
parent 41246b155e
commit c2270e5e31

View file

@ -367,6 +367,16 @@
message= _ "You shall not die in vain! My bodyguard will avenge you!"
[/message]
[fire_event]
name=bodyguard
[/fire_event]
[/event]
[event]
name=bodyguard
{VARIABLE have_bodyguard yes}
[message]
speaker=Sir Gerrick
message= _ "You have a bodyguard?!"
@ -680,6 +690,24 @@
[event]
name=victory
{CLEAR_VARIABLE mebrin_found,undead_defeated,bandits_defeated}
[if]
[variable]
name=have_bodyguard
boolean_not_equals=yes
[/variable]
[then]
[message]
speaker=Ethiliel
message= _ "Come, my bodyguard! We must make haste to follow the trail and find Mebrin."
[/message]
[fire_event]
name=bodyguard
[/fire_event]
[/then]
[/if]
{CLEAR_VARIABLE mebrin_found,undead_defeated,bandits_defeated,have_bodyguard}
[/event]
[/scenario]