From 2dd3c5c06978584e3e076609554f225ffbabd3e2 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 10 Mar 2012 23:20:44 +0100 Subject: Removed deprecated NPC helper functions Reviewed-by: Erik Schilling --- example/scripts/npcs/healer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/scripts/npcs/healer.lua') diff --git a/example/scripts/npcs/healer.lua b/example/scripts/npcs/healer.lua index a4a0db5..478047b 100644 --- a/example/scripts/npcs/healer.lua +++ b/example/scripts/npcs/healer.lua @@ -5,8 +5,8 @@ --]] function Healer(npc, ch) - do_message(npc, ch, "Do you need healing?") - local c = do_choice(npc, ch, "Heal me fully", "Heal 100 HP", "Don't heal me") + mana.npc_message(npc, ch, "Do you need healing?") + local c = mana.npc_choice(npc, ch, "Heal me fully", "Heal 100 HP", "Don't heal me") if c == 1 then mana.being_heal(ch) elseif c == 2 then -- cgit