summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-07-03 12:43:16 +0200
committerReid <reidyaro@gmail.com>2012-07-03 12:43:16 +0200
commit50c98b47e75ab3c521587afef4e2eafe1d513ef5 (patch)
tree53c86631475067cb7bfc454be7f8c3169428f36c
parent224a829bfe865c8adcf530e0c61ca12e93d49a07 (diff)
downloadserverdata-50c98b47e75ab3c521587afef4e2eafe1d513ef5.tar.gz
serverdata-50c98b47e75ab3c521587afef4e2eafe1d513ef5.tar.bz2
serverdata-50c98b47e75ab3c521587afef4e2eafe1d513ef5.tar.xz
serverdata-50c98b47e75ab3c521587afef4e2eafe1d513ef5.zip
Correct animation timer on 000-1/chest,
Add treasure items and zeny on 000-1/chest, Add Old Book on item_db .
-rw-r--r--db/item_db.txt3
-rw-r--r--npc/000-1/chest.txt10
2 files changed, 8 insertions, 5 deletions
diff --git a/db/item_db.txt b/db/item_db.txt
index ddedb452..aaaddd8f 100644
--- a/db/item_db.txt
+++ b/db/item_db.txt
@@ -13,6 +13,7 @@
// 511, PurpleBlobime, Purple Blobime, 0, 0, 60, 27, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";},{} {}
512, HalfCroconut, Half Croconut, 0, 0, 50, 28, 14, , , , , , 2, , , 0, , 0, {itemheal 40, 0;}, {} {}
513, Croconut, Croconut, 0, 0, 80, 50, 30, , , , , , 2, , , 0, , 0, {doevent "Croconut::OnUse";}, {} {}
+514, OldBook, Old Book, 0, 3, 400, 55, 20, , , , , , 2, , , 0, , 0, {doevent "OldBook::OnUse";}, {} {}
700, SmallTentacles, Small Tentacles, 0, 3, 50, 20, 5, , , , , , , , , , , 0, {}, {} {}
701, PiouFeathers, Piou Feathers, 0, 3, 60, 35, 1, , , , , , , , , , , 0, {}, {} {}
702, TortugaShellFragment, Tortuga Shell Fragment, 0, 3, 40, 15, 15, , , , , , , , , , , 0, {}, {} {}
@@ -31,7 +32,7 @@
1302, SailorShirt, Sailor Shirt, 0, 5, 7500, 950, 75, , 4, , , 0, 2, 512, , 0, , 0, {}, {} {}
1800, LousyMoccasin, Lousy Moccasin, 0, 5, 500, 90, 25, , 1, , , 0, 2, 64, , 0, , 0, {}, {} {}
2000, Bracelets, Bracelets, 0, 5, 2000, 250, 30, , 1, , , 0, 2, 4, , 0, , 0, {}, {} {}
-2200, WornShorts, Worn Shorts, 0, 5, 80, 20, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} {}
+2200, WornShorts, Worn Shorts, 0, 5, 80, 25, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} {}
2900, Bandana, Bandana, 0, 5, 500, 100, 13, , 1, , , 0, 2, 256, , 0, , 0, {}, {} {}
3500, Knife, Knife, 0, 4, 50, 25, 50, 10, , , , 0, 2, 2, 1, 1, 1, 0, {}, {} {}
# <------- 25chars -------><------- 25chars -------> \ No newline at end of file
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index e9a6595c..656773e1 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -1,6 +1,6 @@
// Evol scripts.
// Authors:
-// Hal9000 (Francesco Miglietta), Reid
+// Hal9000 (Francesco Miglietta), 4144, Reid
// Description:
// An opening treasure chest.
// Variable:
@@ -22,8 +22,10 @@
l_Give:
if (@q > 0) goto l_Close;
seta ShipQuests, ShipQuests_TreasureChest, 1;
- getitem "WornShirt", 1;
- getitem "WornShorts", 1;
+ set zeny, zeny + 400;
+ getitem 508, 1;
+ getitem 509, 1;
+ getitem 514, 1;
close;
l_Close:
@@ -32,7 +34,7 @@ l_Close:
startnpctimer;
close;
-OnTimer220:
+OnTimer160:
stopnpctimer;
if (getnpcdir ("") == 2) setnpcdir 4;
if (getnpcdir ("") == 6) setnpcdir 0;