diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 00:56:22 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 00:56:22 +0200 |
commit | 67af89b5fe14d2d0431cefb9b714f72873a74e16 (patch) | |
tree | b1a5ff99d3db37809bfeb5804f3469406133a4c7 /example/serverdata | |
parent | 10fd0338203a46cec913859fd5e38b61fa24a30f (diff) | |
download | manaserv-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.lua | 2 |
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. |