summaryrefslogtreecommitdiff
path: root/npc/002-4_Desert_mines/chest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-4_Desert_mines/chest.txt')
-rw-r--r--npc/002-4_Desert_mines/chest.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/002-4_Desert_mines/chest.txt b/npc/002-4_Desert_mines/chest.txt
index e76332fd..e1825d0f 100644
--- a/npc/002-4_Desert_mines/chest.txt
+++ b/npc/002-4_Desert_mines/chest.txt
@@ -12,13 +12,13 @@
close;
L_Yes:
- if(countitem(537) < 3) goto L_Not_Enough;
+ if(countitem("TreasureKey") < 3) goto L_Not_Enough;
getinventorylist;
- if (@inventorylist_count == 100 && countitem(537) > 3) goto L_TooMany;
+ if (@inventorylist_count == 100 && countitem("TreasureKey") > 3) goto L_TooMany;
mes "[Chest]";
mes "You opened it and found a short sword!";
- delitem 537, 3;
- getitem 536, 1;
+ delitem "TreasureKey", 3;
+ getitem "ShortSword", 1;
set ChestQuest, ChestQuest | 1;
close;