diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-15 22:53:50 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-15 22:53:50 +0200 |
commit | 0d0a85bc6e37148c74b65f119c04cd6d559a4231 (patch) | |
tree | c2a4f97461cd61023d4fa1ccc9a64689bafbb04d /src/scripting/lua.cpp | |
parent | 4451acdc6721e1190a25299f9b58c32069b0188f (diff) | |
download | manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.tar.gz manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.tar.bz2 manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.tar.xz manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.zip |
Forgot to rename npc_message in some docs
Diffstat (limited to 'src/scripting/lua.cpp')
-rw-r--r-- | src/scripting/lua.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index ed20a48e..dafb8001 100644 --- a/src/scripting/lua.cpp +++ b/src/scripting/lua.cpp @@ -744,11 +744,11 @@ static int announce(lua_State *s) * {"Dagger", 10, 50} * }) * if buycase == 0 then - * npc_message("What do you want to buy?") + * say("What do you want to buy?") * elseif buycase == 1 then - * npc_message("I've got no items to sell.") + * say("I've got no items to sell.") * else - * npc_message("Hmm, something went wrong... Ask a scripter to + * say("Hmm, something went wrong... Ask a scripter to * fix the buying mode!") * end * @@ -764,12 +764,12 @@ static int announce(lua_State *s) * {"Cactus Drink", 10, 25} * }) * if sellcase == 0 then - * npc_message("Here we go:") + * say("Here we go:") * elseif sellcase == 1 then - * npc_message("I'm not interested by your items.") + * say("I'm not interested by your items.") * else - * npc_message("Hmm, something went wrong...") - * npc_message("Ask a scripter to fix me!") + * say("Hmm, something went wrong...") + * say("Ask a scripter to fix me!") * end * * -- ... @@ -778,12 +778,12 @@ static int announce(lua_State *s) * the server's items.xml file * local sellcase = trade(true) * if sellcase == 0 then - * npc_message("Ok, what do you want to sell:") + * say("Ok, what do you want to sell:") * elseif sellcase == 1 then - * npc_message("I'm not interested by any of your items.") + * say("I'm not interested by any of your items.") * else - * npc_message("Hmm, something went wrong...") - * npc_message("Ask a scripter to fix me!") + * say("Hmm, something went wrong...") + * say("Ask a scripter to fix me!") * end * </code> */ |