Made it so that UtBS does not abort if the player kills...
...the Vengeful Dwarf after he manages to kill Grog.
This commit is contained in:
parent
1de088e6de
commit
323acdd2c0
1 changed files with 30 additions and 22 deletions
|
@ -978,34 +978,42 @@
|
|||
animate=no
|
||||
[/kill]
|
||||
|
||||
[message]
|
||||
speaker=Grog
|
||||
message= _ "Thank you. Grog got lost and there were so many smelly dwarves. If you hadn't come Grog would have been killed. Grog owes you his life."
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
[if]
|
||||
[have_unit]
|
||||
id=Grog
|
||||
[/filter]
|
||||
[/have_unit]
|
||||
|
||||
variable=trollstats
|
||||
[/store_unit]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Grog
|
||||
message= _ "Thank you. Grog got lost and there were so many smelly dwarves. If you hadn't come Grog would have been killed. Grog owes you his life."
|
||||
[/message]
|
||||
|
||||
[set_variable]
|
||||
name=trollstats.side
|
||||
value=1
|
||||
[/set_variable]
|
||||
[store_unit]
|
||||
[filter]
|
||||
id=Grog
|
||||
[/filter]
|
||||
|
||||
[set_variable]
|
||||
name=trollstats.moves
|
||||
value=5
|
||||
[/set_variable]
|
||||
variable=trollstats
|
||||
[/store_unit]
|
||||
|
||||
[unstore_unit]
|
||||
variable=trollstats
|
||||
[/unstore_unit]
|
||||
[set_variable]
|
||||
name=trollstats.side
|
||||
value=1
|
||||
[/set_variable]
|
||||
|
||||
{CLEAR_VARIABLE trollstats}
|
||||
[set_variable]
|
||||
name=trollstats.moves
|
||||
value=5
|
||||
[/set_variable]
|
||||
|
||||
[unstore_unit]
|
||||
variable=trollstats
|
||||
[/unstore_unit]
|
||||
|
||||
{CLEAR_VARIABLE trollstats}
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
# Event 3: Tunnel cave-ins
|
||||
|
|
Loading…
Add table
Reference in a new issue