-----------------------------------
--	Area: Windurst Walls
--	NPC:  Luuh Koplehn
--	Standard Info NPC
--  Involved in Quest: Star Struck
--  @zone = 239
--  @pos = -93 -5 130
-----------------------------------

require("scripts/globals/quests");
require("scripts/globals/settings");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)

qStarStruck = player:getQuestStatus(WINDURST,STAR_STRUCK);

	if (qStarStruck == QUEST_ACCEPTED) then
		player:startEvent(0x00c8);
	else
		player:startEvent(0x142);
	end
end;

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;



