--[[
	Script Name	: SpawnScripts/FrostfangSea/NohrFlamel.lua
	Script Purpose	: Nohr Flamel <Alchemy Merchant>
	Script Author	: theFoof
	Script Date	: 2013.09.26
	Script Notes	: 
--]]

require"SpawnScripts/FrostfangSea/halas_proximity_cheer"

function spawn(NPC)
	SetPlayerProximityFunction(NPC, 10, "ProxCheer")
end

function respawn(NPC)
	spawn(NPC)
end

function hailed(NPC, Spawn)
	FaceTarget(NPC, Spawn)
	local choice = math.random(1,2)

	if choice == 1 then
		PlayFlavor(NPC, "", "Please let me know if there's anything I can supply for you.", "nod", 1689589577, 4560189, Spawn)
	elseif choice == 2 then
		PlayFlavor(NPC, "", "I can supply your alchemy requirements, even those considered elusive.", "happy", 1689589577, 4560189, Spawn)
	else
		PlayFlavor(NPC, "", "Welcome to Ravens' Roost.", "hello", 0, 0, Spawn)
	end
end

