Skip to content

Commit

Permalink
TSG: handle the case Hylas / Gerrick died
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
sevu committed Oct 12, 2019
1 parent e99cd5a commit 1d22a9a
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 4 deletions.
45 changes: 42 additions & 3 deletions data/campaigns/The_South_Guard/scenarios/06a_Into_the_Depths.cfg
Expand Up @@ -729,8 +729,31 @@
name=magic-dark-big.ogg
[/sound]

[message]
speaker=Minister Hylas
# Hylas may not be alive anymore
[role]
role=smartcombatant
id=Minister Hylas
[else]
[role]
role=smartcombatant
search_recall_list=no
type=Elvish Sylph,Elvish Enchantress,Elvish Sorceress,Elvish Shyde,Elvish Druid,Elvish Shaman
[not]
id=Ethiliel
[/not]
[else]
[role]
role=smartcombatant
search_recall_list=no
side=1
[/role]
[/else]
[/role]
[/else]
[/role]

[message]
role=smartcombatant
message= _ "I feel the touch of dark magic. This is quite a powerful spell — the very air feels thick and heavy."
[/message]
[message]
Expand Down Expand Up @@ -761,8 +784,24 @@
name=magic-dark-big.ogg
[/sound]

# Gerrick may be dead
[role]
role=soldier
id=Sir Gerrick
[else]
[role]
role=soldier
search_recall_list=no
side=1
[not]
type_adv_tree=Elvish Shaman
[/not]
[/role]
[/else]
[/role]

[message]
speaker=Sir Gerrick
role=soldier
message= _ "I feel so weary... I can hardly grasp my weapon anymore..."
[/message]
[/event]
Expand Down
19 changes: 18 additions & 1 deletion data/campaigns/The_South_Guard/scenarios/08a_Vengeance.cfg
Expand Up @@ -219,8 +219,25 @@
green=0
blue=0
[/color_adjust]
# Gerrick may be dead
[role]
role=observant
id=Sir Gerrick
[else]
[role]
role=observant
id=Minister Hylas
[else]
[role]
role=observant
id=Deoran
[/role]
[/else]
[/role]
[/else]
[/role]
[message]
speaker=Sir Gerrick
role=observant
message= _ "He just killed that innocent farmer! We must stop him!"
[/message]
[message]
Expand Down

0 comments on commit 1d22a9a

Please sign in to comment.