-----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Misseulieu
-- Standard Merchant NPC
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");

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

function onTrade(player,npc,trade)
end; 

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

function onTrigger(player,npc)
	
player:showText(npc,MISSEULIEU_SHOP_DIALOG);

stock = {0x3121,2485,		-- Brass Harness
	 0x32b9,1625,		-- Holly Clogs
	 0x37ed,4042200,		-- Barone Cosciales (Available after COP Chapter 4 only)
	 0x3bc9,25210200,		-- Barone Gambieras (Available after COP Chapter 4 only)
	 0x3a00,7276200,		-- Barone Manopolas (Available after COP Chapter 4 only)
	 0x15389,8000000,		-- Vir Subligar (Available after COP Chapter 4 only)
	 0x3c1e,8000000}		-- Femina Subligar (Available after COP Chapter 4 only)
 
showShop(player, STATIC, stock);
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;



