diff options
author | Reid <reidyaro@gmail.com> | 2012-07-03 12:43:16 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-07-03 12:43:16 +0200 |
commit | 50c98b47e75ab3c521587afef4e2eafe1d513ef5 (patch) | |
tree | 53c86631475067cb7bfc454be7f8c3169428f36c /npc/000-1/chest.txt | |
parent | 224a829bfe865c8adcf530e0c61ca12e93d49a07 (diff) | |
download | serverdata-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 .
Diffstat (limited to 'npc/000-1/chest.txt')
-rw-r--r-- | npc/000-1/chest.txt | 10 |
1 files changed, 6 insertions, 4 deletions
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; |