summaryrefslogtreecommitdiff
path: root/example/scripts/npcs/healer.lua
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 15:41:33 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 15:41:33 +0200
commit0f1449567d5a2ccab9ff6fdc9975150299482834 (patch)
tree9d03df41026928cc5cecd6801a0f214fabd1d77e /example/scripts/npcs/healer.lua
parent080ddbe822b03416934a875b2d949e3afc84fb96 (diff)
downloadmanaserv-0f1449567d5a2ccab9ff6fdc9975150299482834.tar.gz
manaserv-0f1449567d5a2ccab9ff6fdc9975150299482834.tar.bz2
manaserv-0f1449567d5a2ccab9ff6fdc9975150299482834.tar.xz
manaserv-0f1449567d5a2ccab9ff6fdc9975150299482834.zip
Simplified some script function names
npc_message -> say npc_choice -> ask npc_ask_integer -> ask_number npc_ask_string -> ask_string npc_trade -> trade
Diffstat (limited to 'example/scripts/npcs/healer.lua')
-rw-r--r--example/scripts/npcs/healer.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/scripts/npcs/healer.lua b/example/scripts/npcs/healer.lua
index 910e2211..2ee348f0 100644
--- a/example/scripts/npcs/healer.lua
+++ b/example/scripts/npcs/healer.lua
@@ -5,8 +5,8 @@
--]]
function Healer(npc, ch)
- npc_message("Do you need healing?")
- local c = npc_choice("Heal me fully", "Heal 100 HP", "Don't heal me")
+ say("Do you need healing?")
+ local c = ask("Heal me fully", "Heal 100 HP", "Don't heal me")
if c == 1 then
being_heal(ch)
elseif c == 2 then