mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
20 lines
1.1 KiB
Lua
20 lines
1.1 KiB
Lua
function event_say(e)
|
|
if(e.message:findi("Hail")) then
|
|
e.self:Say("Greetings " .. e.other:GetName() .. ". Do you feel that you are ready to be tested in song?");
|
|
elseif((e.message:findi("tested in song")) and (e.other:Class() == "Bard")) then
|
|
e.self:Say("The test of songs holds both joy and sorrow. Choose who you wish to begin with, Denise or Clarisa");
|
|
elseif((e.message:findi("Clarisa")) and (e.other:Class() == "Bard")) then
|
|
e.self:Say("I shall summon them for you");
|
|
eq.spawn2(71081,0,0,660.7,1388.9,-766.9,385.2); -- NPC: Clarisa_Spiritsong
|
|
eq.depop_with_timer();
|
|
elseif((e.message:findi("Denise")) and (e.other:Class() == "Bard")) then
|
|
e.self:Say("I shall summon them for you");
|
|
eq.spawn2(71082,0,0,660.7,1368.4,-766.9,385.2); -- NPC: Denise_Songweaver
|
|
eq.depop_with_timer();
|
|
end
|
|
end
|
|
|
|
-------------------------------------------------------------------------------------------------
|
|
-- Converted to .lua using MATLAB converter written by Stryd
|
|
-- Find/replace data for .pl --> .lua conversions provided by Speedz, Stryd, Sorvani and Robregen
|
|
-------------------------------------------------------------------------------------------------
|