diff options
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; |