From 9ab80409c3fe8b30605fae05a6d5c6ba7a77b6f6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Nov 2009 02:55:57 +0000 Subject: [PATCH] Put a guard on some dialog in a moveto so it's only uttered once. --- .../scenarios/12_The_Underlevels.cfg | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/data/campaigns/The_Hammer_of_Thursagan/scenarios/12_The_Underlevels.cfg b/data/campaigns/The_Hammer_of_Thursagan/scenarios/12_The_Underlevels.cfg index c499b7f76bb..44e5a4b8618 100644 --- a/data/campaigns/The_Hammer_of_Thursagan/scenarios/12_The_Underlevels.cfg +++ b/data/campaigns/The_Hammer_of_Thursagan/scenarios/12_The_Underlevels.cfg @@ -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]