From b695b4e9144b3a90b29876fb2ba9a6d4046b8098 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Sun, 19 Jun 2022 02:24:19 +0200 Subject: [PATCH] improve Rineval prompts to be more in line with live --- qeynos2/Rineval_Talyas.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/qeynos2/Rineval_Talyas.lua b/qeynos2/Rineval_Talyas.lua index 804e60ff1..191c433e7 100644 --- a/qeynos2/Rineval_Talyas.lua +++ b/qeynos2/Rineval_Talyas.lua @@ -1,11 +1,12 @@ -- items: 19071, 19070, 1000, 18302 function event_say(e) if(e.message:findi("hail")) then - e.self:Say(string.format("hello, %s",e.other:GetName())); + e.self:Say("hello, " .. e.other:GetName()); elseif(e.message:findi("scribe")) then - e.self:Emote(string.format("looks at %s strangely. 'Who told you this?'",e.other:GetName())); - elseif(e.message:findi("Karn")) then - e.self:Say("'I see. If a scribe is what you seek, then bring me the torn books of fire and ice. A donation of 1000 platinum is needed as well. The donation will be offered as a blessing to the gods."); + e.self:Emote("looks at " .. e.other:GetName() .. " strangely. 'Who told you this?'"); + elseif(e.message:findi("told me")) then + -- NOTE: this is buggy but live-like. The real prompt should be "Kanthurn" or "Kanthurn told me", but that does not work on live /june 2022 + e.self:Say("I see. If a scribe is what you seek, then bring me the torn books of fire and ice. A donation of 1000 platinum is needed as well. The donation will be offered as a blessing to the gods."); end end