-----------------------------------
-- Area: Kazham
--  NPC: Tahn Posbei
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Kazham/IDs")
require("scripts/globals/shop")

function onTrade(player,npc,trade)
end

function onTrigger(player,npc)
    local stock =
    {
        12289,   110,    -- Lauan Shield
        12292,  4531,    -- Mahogany Shield
        12295, 59607,    -- Round Shield
        12455,  7026,    -- Beetle Mask
        12583, 10833,    -- Beetle Harness
        12711,  5707,    -- Beetle Mittens
        12835,  8666,    -- Beetle Subligar
        12967,  5332,    -- Beetre Leggins
        12440,   404,    -- Leather Bandana
        12568,   618,    -- Leather Vest
        12696,   331,    -- Leather Gloves
        12952,   309,    -- Leather Highboots
        13092, 28777,    -- Coeurl Gorget
    }

    player:showText(npc, ID.text.TAHNPOSBEI_SHOP_DIALOG)
    dsp.shop.general(player, stock)
end

function onEventUpdate(player,csid,option)
end

function onEventFinish(player,csid,option)
end
