Captain Santis Bog sludge Hunt
(1139348440)[Tue Feb 07 16:40:40 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says, "Have you a moment? We guards could use your assistance!"
(1139348448)[Tue Feb 07 16:40:48 2006] You say, "Hail, Knight-Captain Santis"
(1139348448)[Tue Feb 07 16:40:48 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"Good day to you. I've been hearing reports that the Peat Bog isn't safe right now. I hope you didn't have any trouble if you came in that way."
(1139348450)[Tue Feb 07 16:40:50 2006] You say to Knight-Captain Santis,"What kind of trouble is out in the bog?"
(1139348451)[Tue Feb 07 16:40:51 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"The Bog Sludges have swelled in number, spreading like pestilence. This vermin has become a serious menace to the refugees in that region. The Sludges must be exterminated for the safety of the people. I hope you're not too squeamish for such a job. "
(1139348452)[Tue Feb 07 16:40:52 2006] You say to Knight-Captain Santis,"A few sludges shouldn't be a problem for me."
(1139348453)[Tue Feb 07 16:40:53 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"Excellent! Go to the Peat Bog, slay several sludges and report back to me. I will reward you for your service to Qeynos. "
(1139348455)[Tue Feb 07 16:40:55 2006] You say to Knight-Captain Santis,"Sounds good. I'll get right on it."
this is if you are already on the quest
(1139348457)[Tue Feb 07 16:40:57 2006] You say, "Hail, Knight-Captain Santis"
(1139348457)[Tue Feb 07 16:40:57 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"Good day to you. I've been hearing reports that the Peat Bog isn't safe right now. I hope you didn't have any trouble if you came in that way."
this is associated with another quest not sure which one yet
(1139348458)[Tue Feb 07 16:40:58 2006] You say to Knight-Captain Santis,"I bring you an urgent message from the Nettleville Garrison."
(1139348458)[Tue Feb 07 16:40:58 2006] \aNPC 9965 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"Let me read that... Ha! Captain Hastings and his team wish to challenge the Starcrest Garrison to a Phalanx match? We shall squash them. Tell him I accept."
(1139348459)[Tue Feb 07 16:40:59 2006] You say to Knight-Captain Santis,"Phalanx match! I will tell him you accept."
at turn in
(1118017909)[Sun Jun 05 20:31:49 2005] You say,"Hail, Knight-Captain Santis"
(1118017909)[Sun Jun 05 20:31:49 2005] \aNPC 10974 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"Good day to you. I've been hearing reports that the Peat Bog isn't safe right now. I hope you didn't have any trouble if you came in that way."
(1118017912)[Sun Jun 05 20:31:52 2005] You say to Knight-Captain Santis,"I am happy to report that I have eliminated several Bog Sludges at your request."
(1118017912)[Sun Jun 05 20:31:52 2005] Your quest journal has been updated.
(1118017912)[Sun Jun 05 20:31:52 2005] You gain experience!
(1118017912)[Sun Jun 05 20:31:52 2005] Your quest journal has been updated.
(1118017912)[Sun Jun 05 20:31:52 2005] \aNPC 10974 Knight-Captain Santis:Knight-Captain Santis\/a says to you,"You are truly valuable to Qeynos. I'm already receiving optimistic reports that the Bog Sludge are finally under control. Please accept this reward for a job well done."
(1118017928)[Sun Jun 05 20:32:08 2005] You say to Knight-Captain Santis,"It feels good to make the area a little bit safer."
here is my npc script for it
Code: Select all
--[[
Script Name : SpawnScripts/StarcrestCommune/Knight-CaptainSantis.lua
Script Purpose : Knight-Captain Santis
Script Author : Ememjr
Script Date : 2017.10.28
Script Notes :
--]]
function spawn(NPC)
SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
ProvidesQuest(NPC, 240)
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
local conversation = CreateConversation()
if not HasQuest(Spawn, 240) then
AddConversationOption(conversation, "What kind of trouble is out in the bog?", "Option4")
end
if HasQuest(Spawn, 300) then
AddConversationOption(conversation, "I bring you an urgent message from the Nettleville Garrison.", "Option5")
end
if HasQuest(Spawn,240) then
if not QuestIsComplete(Spawn , 240) then
if QuestStepIsComplete(Spawn, 240, 1) then
AddConversationOption(conversation, "I am happy to report that I have eliminated several Bog Sludges at your request.", "Killed")
end
end
end
StartConversation(conversation, NPC, Spawn, "Good day to you. I've been hearing reports that the Peat Bog isn't safe right now. I hope you didn't have any trouble if you came in that way.")
end
function InRange(NPC,Spawn)
PlayFlavor(NPC, "", "Have you a moment? We guards could use your assistance!", "beckon", 0, 0, Spawn)
end
function Killed(NPC, Spawn)
FaceTarget(NPC, Spawn)
local conversation = CreateConversation()
AddConversationOption(conversation, "It feels good to make the area a little bit safer.","GetReward")
StartConversation(conversation, NPC, Spawn, "You are truly valuable to Qeynos. I'm already receiving optimistic reports that the Bog Sludge are finally under control. Please accept this reward for a job well done.")
end
function GetReward(NPC, Spawn)
SetStepComplete(Spawn, 240, 2)
end
function Option4(NPC, Spawn)
FaceTarget(NPC, Spawn)
local conversation = CreateConversation()
AddConversationOption(conversation, "A few sludges shouldn't be a problem for me.", "Option6")
StartConversation(conversation, NPC, Spawn, "The Bog Sludges have swelled in number, spreading like pestilence. This vermin has become a serious menace to the refugees in that region. The Sludges must be exterminated for the safety of the people. I hope you're not too squeamish for such a job. ")
end
function Option6(NPC, Spawn)
FaceTarget(NPC, Spawn)
local conversation = CreateConversation()
AddConversationOption(conversation, "Sounds good. I'll get right on it.", "Offer")
StartConversation(conversation, NPC, Spawn, "Excellent! Go to the Peat Bog, slay several sludges and report back to me. I will reward you for your service to Qeynos. ")
end
function Option5(NPC, Spawn)
FaceTarget(NPC, Spawn)
local conversation = CreateConversation()
AddConversationOption(conversation, "Phalanx match! I will tell him you accept.")
StartConversation(conversation, NPC, Spawn, "Let me read that... Ha! Captain Hastings and his team wish to challenge the Starcrest Garrison to a Phalanx match? We shall squash them. Tell him I accept.")
end
function Offer(NPC,Spawn)
OfferQuest(NPC, Spawn, 240)
end