summaryrefslogtreecommitdiff
path: root/example/serverdata
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 00:56:22 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 00:56:22 +0200
commit67af89b5fe14d2d0431cefb9b714f72873a74e16 (patch)
treeb1a5ff99d3db37809bfeb5804f3469406133a4c7 /example/serverdata
parent10fd0338203a46cec913859fd5e38b61fa24a30f (diff)
downloadmanaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.gz
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.bz2
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.xz
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.zip
Used the client base to make a final bugfix on the server code.
Made the server handle only one slot type requirement since it's irrelevant to have more anyway. Plus, it simplifies the code for both equipping/unequipping. I also added a dagger to show how equipping/unequipping is working.
Diffstat (limited to 'example/serverdata')
-rw-r--r--example/serverdata/scripts/maps/desert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/serverdata/scripts/maps/desert.lua b/example/serverdata/scripts/maps/desert.lua
index b2eb9a46..e6a12d11 100644
--- a/example/serverdata/scripts/maps/desert.lua
+++ b/example/serverdata/scripts/maps/desert.lua
@@ -33,7 +33,7 @@ atinit(function()
create_npc("Merchant", 3, 4 * TILESIZE + TILESIZE / 2, 16 * TILESIZE + TILESIZE / 2, npclib.talk(Merchant, merchant_buy_table, merchant_sell_table), nil)
-- Another Merchant, selling some equipment, and buying everything...
- smith_buy_table = { {5, 10, 50}, {7, 10, 70} }
+ smith_buy_table = { {5, 10, 50}, {7, 10, 70}, {10, 10, 20} }
create_npc("Smith", 5, 15 * TILESIZE + TILESIZE / 2, 16 * TILESIZE + TILESIZE / 2, npclib.talk(Merchant, smith_buy_table), nil)
-- The most simple NPC - Welcoming new ones around.