summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-15 22:53:50 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-15 22:53:50 +0200
commit0d0a85bc6e37148c74b65f119c04cd6d559a4231 (patch)
treec2a4f97461cd61023d4fa1ccc9a64689bafbb04d
parent4451acdc6721e1190a25299f9b58c32069b0188f (diff)
downloadmanaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.tar.gz
manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.tar.xz
manaserv-0d0a85bc6e37148c74b65f119c04cd6d559a4231.zip
Forgot to rename npc_message in some docs
-rw-r--r--src/scripting/lua.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index ed20a48..dafb800 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>
*/