From 41f8ea1b753d46a45996577dc5d2403d9587ca49 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 27 Apr 2011 17:25:40 +0200 Subject: fixed a bug in the example crafting scripts (trivial change) --- example/serverdata/scripts/crafting.lua | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2