summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2011-04-27 17:25:40 +0200
committerPhilipp Sehmisch <mana@crushnet.org>2011-04-27 17:25:40 +0200
commit41f8ea1b753d46a45996577dc5d2403d9587ca49 (patch)
tree047d68c8fb7df7b74eb14f07f08f7a349649fd16 /example
parentc1a6e9947231cc511016378bd326a5d64b0aa18c (diff)
downloadmanaserv-41f8ea1b753d46a45996577dc5d2403d9587ca49.tar.gz
manaserv-41f8ea1b753d46a45996577dc5d2403d9587ca49.tar.bz2
manaserv-41f8ea1b753d46a45996577dc5d2403d9587ca49.tar.xz
manaserv-41f8ea1b753d46a45996577dc5d2403d9587ca49.zip
fixed a bug in the example crafting scripts
(trivial change)
Diffstat (limited to 'example')
-rw-r--r--example/serverdata/scripts/crafting.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/serverdata/scripts/crafting.lua b/example/serverdata/scripts/crafting.lua
index e8939823..ea306289 100644
--- a/example/serverdata/scripts/crafting.lua
+++ b/example/serverdata/scripts/crafting.lua
@@ -42,8 +42,8 @@ function craft_strict(ch, recipe)
8, -2, --take away the iron
9, -1, --take away the wood
5, 1 ) -- give a sword
- return
mana.chatmessage(ch, "You've crafted a sword")
+ return
end
mana.chatmessage(ch, "This wouldn't create anything useful")
end
@@ -60,8 +60,8 @@ function craft_lax(ch, recipe)
8, -2, --take away the iron
9, -1, --take away the wood
5, 1 ) -- give a sword
- return
mana.chatmessage(ch, "You've crafted a sword")
+ return
end
mana.chatmessage(ch, "This wouldn't create anything useful")
end