diff options
Diffstat (limited to 'npc/002-4_Desert_mines/chest.txt')
-rw-r--r-- | npc/002-4_Desert_mines/chest.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/002-4_Desert_mines/chest.txt b/npc/002-4_Desert_mines/chest.txt index e1825d0f..158b79fc 100644 --- a/npc/002-4_Desert_mines/chest.txt +++ b/npc/002-4_Desert_mines/chest.txt @@ -1,7 +1,8 @@ // 002-4.gat,93,37,0 script Treasure 111,{ - if( ChestQuest & 1) goto L_Finished; + + if (TMW_Quest >= 38) goto L_Finished; mes "[Chest]"; mes "Would you try to open it?"; @@ -16,10 +17,10 @@ L_Yes: getinventorylist; if (@inventorylist_count == 100 && countitem("TreasureKey") > 3) goto L_TooMany; mes "[Chest]"; - mes "You opened it and found a short sword!"; + mes "You opened it and found a short bow!"; delitem "TreasureKey", 3; - getitem "ShortSword", 1; - set ChestQuest, ChestQuest | 1; + getitem "ShortBow", 1; + set TMW_Quest, 38; close; L_Not_Enough: |