diff --git a/data/dialogues_data.lua b/data/dialogues_data.lua index 8d1dae4..26dd4cb 100644 --- a/data/dialogues_data.lua +++ b/data/dialogues_data.lua @@ -63,18 +63,18 @@ npc.dialogue.register_dialogue({ text = "Yes, how can I help?", action_type = "dialogue", action = { - text = "Could you please give me 3 "..npc.trade.prices.currency.tier3.name.."?", + text = "Could you please give me 3 "..npc.trade.prices.get_currency_name(npc.trade.prices.currency.tier3).."?", responses = { [1] = { text = "Yes, ok, here", action_type = "function", action = function(self, player) -- Take item - if npc.commands.execute(self, npc.commands.cmd.TAKE_ITEM, { + if npc.programs.instr.execute(self, npc.programs.instr.default.TAKE_ITEM, { player=player:get_player_name(), pos=nil, inv_list="main", - item_name=npc.trade.prices.currency.tier3.string, + item_name=npc.trade.prices.get_currency_itemstring("tier3"), count=3 }) then -- Send message