i have set the command action on the spawn to inspect but the conversation is not starting
i alos have this up on eq2emu
Code: Select all
--[[
Script Name : inspect_rock_poem.lua
Script Author : ememjr
Script Date : 2017.05.10
Script Purpose :
:
--]]
local quest = 234
function spawn(NPC)
end
function respawn(NPC)
spawn(NPC)
end
function casted_on(NPC, Spawn, Message)
if Message == "inspect" then
local con = CreateConversation()
AddConversationOption(con, "Read the Poem!", "ReadPoem")
AddConversationOption(con, "Stop inspecting")
StartConversation(con, NPC, Spawn, "This rock is deeply embedded into the ground. It must have been here for quite some time. There is writing etched onto the face of the rock. It looks like a poem.")
end
end
function ReadPoem(NPC, Spawn)
local con = CreateConversation()
AddConversationOption(con, "continue", "Continue")
StartConversation(con, NPC, Spawn, "An Ode to Oakmyst by Astar Leafsinger of the Songweavers. The beauty grown from elven gifts...Thethicket so small yet so grand...A lonsome trunk drifting amidst the clear blue...The life giver billows and feeds...")
end