local config = {
[{1, 5}] = {text = "Do you have free 120 oz and 5 slots in your backpack? Make sure and check 2 times!", topic = 6},
[{2, 6}] = {text = "Do you have free 120 oz and 5 slots in your backpack? Make sure and check 2 times!", topic = 5},
[{3, 7}] = {text = "Do you have free 130 oz and 4 slots in your backpack? Make sure and check 2 times!", topic = 4},
[{4, 8}] = {text = "What's your specialization? {axe}, {club} or {sword}?", topic = 2},
[{12, 13}] = {text = "Do you have free 200 oz and 5 slots in your backpack? Make sure and check 2 times!", topic = 7}
}
for voc, x in pairs(config) do
local v = player:getVocation():getId()
if (v == voc[1] or v == voc[2]) and player:getStorageValue(44923) == 1 then
npcHandler:say(x.test, cid)
npcHandler.topic[cid] = x.topic
end
end