better fix for can't pay the trolls...
"scenario can be finished when not allied with troll or not able to pay troll (someone please check, if i did things correctly with vars and stuff)
This commit is contained in:
parent
2ba9025a68
commit
8ba0d5edcf
1 changed files with 37 additions and 5 deletions
|
@ -408,7 +408,6 @@
|
||||||
speaker=Grée
|
speaker=Grée
|
||||||
message= _ "Bah! Grind their bones!"
|
message= _ "Bah! Grind their bones!"
|
||||||
[/message]
|
[/message]
|
||||||
victory_when_enemies_defeated=yes
|
|
||||||
[/command]
|
[/command]
|
||||||
[/option]
|
[/option]
|
||||||
[/message]
|
[/message]
|
||||||
|
@ -493,12 +492,24 @@
|
||||||
[filter]
|
[filter]
|
||||||
description=Mal M'Brin
|
description=Mal M'Brin
|
||||||
[/filter]
|
[/filter]
|
||||||
|
[set_variable]
|
||||||
|
undead_dead=true
|
||||||
|
[/set_variable]
|
||||||
[message]
|
[message]
|
||||||
speaker=M'Brin
|
speaker=M'Brin
|
||||||
message= _ "Nooo! This cannot be. The elves I once lead have destroyed me. After all I have sacrificed, I still die...."
|
message= _ "Nooo! This cannot be. The elves I once lead have destroyed me. After all I have sacrificed, I still die...."
|
||||||
[/message]
|
[/message]
|
||||||
|
[if]
|
||||||
|
[variable]
|
||||||
|
troll_dead=true
|
||||||
|
[/variable]
|
||||||
|
[then]
|
||||||
|
[endlevel]
|
||||||
|
result=victory
|
||||||
|
bonus=no
|
||||||
|
[/endlevel]
|
||||||
|
[/then]
|
||||||
|
[/it]
|
||||||
[if]
|
[if]
|
||||||
[variable]
|
[variable]
|
||||||
troll_allies=true
|
troll_allies=true
|
||||||
|
@ -565,15 +576,36 @@
|
||||||
side=3
|
side=3
|
||||||
team_name=trolls
|
team_name=trolls
|
||||||
[/modify_side]
|
[/modify_side]
|
||||||
victory_when_enemies_defeated=yes
|
|
||||||
[/else]
|
[/else]
|
||||||
[/if]
|
[/if]
|
||||||
[/then]
|
[/then]
|
||||||
[/if]
|
[/if]
|
||||||
|
|
||||||
{CLEAR_VARIABLE bomb_placed}
|
{CLEAR_VARIABLE bomb_placed}
|
||||||
{CLEAR_VARIABLE troll_allies}
|
{CLEAR_VARIABLE troll_allies}
|
||||||
|
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
|
[event]
|
||||||
|
name=die
|
||||||
|
[filter]
|
||||||
|
description=Grée
|
||||||
|
[/filter]
|
||||||
|
[set_variable]
|
||||||
|
troll_dead=true
|
||||||
|
[/set_variable]
|
||||||
|
[if]
|
||||||
|
[variable]
|
||||||
|
undead_dead=true
|
||||||
|
[/variable]
|
||||||
|
[then]
|
||||||
|
[endlevel]
|
||||||
|
result=victory
|
||||||
|
bonus=no
|
||||||
|
[/endlevel]
|
||||||
|
[/then]
|
||||||
|
[/if]
|
||||||
|
{CLEAR_VARIABLE bomb_placed}
|
||||||
|
{CLEAR_VARIABLE troll_allies}
|
||||||
|
[/event]
|
||||||
|
|
||||||
[/scenario]
|
[/scenario]
|
||||||
|
|
Loading…
Add table
Reference in a new issue