-----------------------------------
-- Area: Lower Jeuno
-- NPC: Pawkrix
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
-----------------------------------
local entity = {}

entity.onTrade = function(player, npc, trade)
end

entity.onTrigger = function(player, npc)
    local stock =
    {
        631,    36,    -- Horo Flour
        4458,  276,    -- Goblin Bread
        4539,  650,    -- Goblin Pie
        4495,   35,    -- Goblin Chocolate
        4543, 1140,    -- Goblin Mushpot
        952,   515,    -- Poison Flour
        1239,  490,    -- Goblin Doll
    }

    player:showText(npc, ID.text.PAWKRIX_SHOP_DIALOG)
    tpz.shop.general(player, stock)
end

entity.onEventUpdate = function(player, csid, option)
end

entity.onEventFinish = function(player, csid, option)
end

return entity
