Put a guard on some dialog in a moveto so it's only uttered once.
This commit is contained in:
parent
4eca06a065
commit
9ab80409c3
1 changed files with 25 additions and 9 deletions
|
@ -275,6 +275,11 @@
|
|||
name=liches_active
|
||||
value=yes
|
||||
[/set_variable]
|
||||
|
||||
[set_variable]
|
||||
name=key_dialogue
|
||||
equals=no
|
||||
[/set_variable]
|
||||
[/then]
|
||||
[/if]
|
||||
#enddef
|
||||
|
@ -536,15 +541,26 @@
|
|||
[/variable]
|
||||
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "It seems that guard spoke truth. These doors cannot be forced open by any means we have!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker="Angarthing"
|
||||
message= _ "I sense these bindings to be the work of common sorcery, not the power of the Hammer. Usually to each such locking spell there is some sort of key. If we can but find the key, we will able to open these doors."
|
||||
[/message]
|
||||
[if]
|
||||
[variable]
|
||||
name=key_dialogue
|
||||
equals=no
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "It seems that guard spoke truth. These doors cannot be forced open by any means we have!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker="Angarthing"
|
||||
message= _ "I sense these bindings to be the work of common sorcery, not the power of the Hammer. Usually to each such locking spell there is some sort of key. If we can but find the key, we will able to open these doors."
|
||||
[/message]
|
||||
[set_variable]
|
||||
name=key_dialogue
|
||||
equals=yes
|
||||
[/set_variable]
|
||||
[/then]
|
||||
[/if]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue