diff options
Diffstat (limited to 'example/scripts/npcs/merchant.lua')
-rw-r--r-- | example/scripts/npcs/merchant.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/scripts/npcs/merchant.lua b/example/scripts/npcs/merchant.lua index 92eeea3..71d0544 100644 --- a/example/scripts/npcs/merchant.lua +++ b/example/scripts/npcs/merchant.lua @@ -13,7 +13,7 @@ function Merchant(npc, ch, buy_sell_table) local function say(message) - do_message(npc, ch, message) + mana.npc_message(npc, ch, message) end -- Important note: You can add two tables made of trinoms here when calling the @@ -56,7 +56,7 @@ function Merchant(npc, ch, buy_sell_table) table.insert (choice_table, "Tell me about the objects on this map") table.insert (choice_table, "Nevermind...") - local v = do_choice(npc, ch, choice_table) + local v = mana.npc_choice(npc, ch, choice_table) --Debug and learning purpose --for i,k in ipairs(choice_table) do print(i,k) end |