diff options
author | Reid <reidyaro@gmail.com> | 2012-06-30 21:13:29 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-06-30 21:13:29 +0200 |
commit | 08ce25425e9ded586c7f44c0be851ca7f2afd6e6 (patch) | |
tree | 681625816cc3563de1b1052485357302a0bb4385 | |
parent | b1ef48d172803c6c73ecc366cf9b20d4657cd429 (diff) | |
download | serverdata-08ce25425e9ded586c7f44c0be851ca7f2afd6e6.tar.gz serverdata-08ce25425e9ded586c7f44c0be851ca7f2afd6e6.tar.bz2 serverdata-08ce25425e9ded586c7f44c0be851ca7f2afd6e6.tar.xz serverdata-08ce25425e9ded586c7f44c0be851ca7f2afd6e6.zip |
Correct chest.txt,
Mimic script from chest to box.txt ,
Add new 000-1 wlk.
-rw-r--r-- | data/000-1.wlk | bin | 16804 -> 19204 bytes | |||
-rw-r--r-- | npc/000-1/chest.txt | 9 | ||||
-rw-r--r-- | npc/000-2-1/box.txt | 3 |
3 files changed, 5 insertions, 7 deletions
diff --git a/data/000-1.wlk b/data/000-1.wlk Binary files differindex 043f8e7f..ee636cb6 100644 --- a/data/000-1.wlk +++ b/data/000-1.wlk diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt index cf924891..d8cef032 100644 --- a/npc/000-1/chest.txt +++ b/npc/000-1/chest.txt @@ -11,17 +11,16 @@ 000-1.gat,58,31,0 script Chest 316;2,{ - set @q, geta2(ShipQuests, ShipQuests_TreasureChest); + set @q, geta(ShipQuests, ShipQuests_TreasureChest); if (getnpcdir ("") == 4) goto l_Give; - setnpcdir 2; initnpctimer; startnpctimer; close; l_Give: - if (@q > 1) goto l_Close; - seta2 ShipQuests, ShipQuests_TreasureChest, 1; + if (@q > 0) goto l_Close; + seta ShipQuests, ShipQuests_TreasureChest, 1; getitem "WornShirt", 1; getitem "WornShorts", 1; close; @@ -38,4 +37,4 @@ OnTimer220: if (getnpcdir ("") == 6) setnpcdir 0; end; -}
\ No newline at end of file +} diff --git a/npc/000-2-1/box.txt b/npc/000-2-1/box.txt index 381dde7b..4535565f 100644 --- a/npc/000-2-1/box.txt +++ b/npc/000-2-1/box.txt @@ -9,11 +9,10 @@ // 1: Talked to Arpan. Need to get cloths // 2: Got cloths -000-2-1.gat,41,37,0 script Box 317;2,{ +000-2-1.gat,41,37,0 script Box 316;2,{ set @q, geta2(ShipQuests, ShipQuests_Arpan); if (getnpcdir ("") == 4) goto l_Give; - setnpcdir 2; initnpctimer; startnpctimer; |