mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 09:33:47 +00:00
Put a guard on some dialog in a moveto so it's only uttered once.
This commit is contained in:
parent
4eca06a065
commit
9ab80409c3
@ -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…
x
Reference in New Issue
Block a user