summaryrefslogtreecommitdiffstats
path: root/example/scripts/npcs/emotemaker.lua
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-10 23:20:44 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-11 16:56:47 +0100
commit2dd3c5c06978584e3e076609554f225ffbabd3e2 (patch)
tree0673264e014e235982dca26dbfd426ae09a94c62 /example/scripts/npcs/emotemaker.lua
parent520705579d6a68cf6908275026eef2edee0758af (diff)
Removed deprecated NPC helper functions
Reviewed-by: Erik Schilling
Diffstat (limited to 'example/scripts/npcs/emotemaker.lua')
-rw-r--r--example/scripts/npcs/emotemaker.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/scripts/npcs/emotemaker.lua b/example/scripts/npcs/emotemaker.lua
index 83d2f56..4aa39e8 100644
--- a/example/scripts/npcs/emotemaker.lua
+++ b/example/scripts/npcs/emotemaker.lua
@@ -21,8 +21,8 @@ function emote_talk(npc, ch)
elseif emo_state == EMOTE_HAPPY then
state = "happy"
end
- do_message(npc, ch, string.format("The emotional palm seems %s.", state))
- v = do_choice(npc, ch,
+ mana.npc_message(npc, ch, string.format("The emotional palm seems %s.", state))
+ v = mana.npc_choice(npc, ch,
"Stupid palm, you are ugly and everyone hates you!",
"You are such a nice palm, let me give you a hug.",
"Are you a cocos nucifera or a syagrus romanzoffiana?")