diff options
| author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-10 23:20:44 +0100 |
|---|---|---|
| committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-11 16:56:47 +0100 |
| commit | 2dd3c5c06978584e3e076609554f225ffbabd3e2 (patch) | |
| tree | 0673264e014e235982dca26dbfd426ae09a94c62 /example/scripts/npcs/healer.lua | |
| parent | 520705579d6a68cf6908275026eef2edee0758af (diff) | |
Removed deprecated NPC helper functions
Reviewed-by: Erik Schilling
Diffstat (limited to 'example/scripts/npcs/healer.lua')
| -rw-r--r-- | example/scripts/npcs/healer.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
