diff options
author | Reid <reidyaro@gmail.com> | 2012-09-04 01:49:13 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-09-04 01:49:13 +0200 |
commit | 11559679db9c2cff7838076d52b05ad19dd529e5 (patch) | |
tree | a7180c51019213fb55c0ea9486bd500eb36c37f3 /npc/000-1/chest.txt | |
parent | 8f4a49ef6c68e41f3d6d93a2055a80e213453d17 (diff) | |
download | clientdata-11559679db9c2cff7838076d52b05ad19dd529e5.tar.gz clientdata-11559679db9c2cff7838076d52b05ad19dd529e5.tar.bz2 clientdata-11559679db9c2cff7838076d52b05ad19dd529e5.tar.xz clientdata-11559679db9c2cff7838076d52b05ad19dd529e5.zip |
Remove ShipQuests_TreasureChest const, and replace it by the fourth value of ShipQuests_Darlin.
Diffstat (limited to 'npc/000-1/chest.txt')
-rw-r--r-- | npc/000-1/chest.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt index a6cc1ca4..984c8a80 100644 --- a/npc/000-1/chest.txt +++ b/npc/000-1/chest.txt @@ -4,16 +4,18 @@ // Hal9000 // Reid // Description: -// An opening treasure chest. -// Variable: -// ShipQuests_TreasureChest -// Values: -// 0 Not opened. -// 1 Opened. +// A treasure chest, with some... Treasures inside. +// Variable:
+// x ShipQuests_Darlin
+// Values:
+// 0 Never talked with Darlin.
+// 1 Spoke, and received quest.
+// 2 Opened the treasure chest.
+// 3 Get back to Darlin. 000-1.gat,83,70,0 script Chest#1 316;2,{ - set @q, getq(ShipQuests_TreasureChest); + set @q, getq(ShipQuests_Darlin); if (getnpcdir ("") == 4) goto l_Give; setnpcdir 2; @@ -22,8 +24,8 @@ close; l_Give: - if (@q > 0) goto l_Close; - setq ShipQuests_TreasureChest, 1; + if (@q > 1) goto l_Close; + setq ShipQuests_Darlin, 2; set zeny, zeny + 400; getitem 508, 1; getitem 509, 1; |