summaryrefslogtreecommitdiff
path: root/npc/custom/events/xmas_rings_event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/events/xmas_rings_event.txt')
-rw-r--r--npc/custom/events/xmas_rings_event.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt
index 71be79aa5..a1b8918d9 100644
--- a/npc/custom/events/xmas_rings_event.txt
+++ b/npc/custom/events/xmas_rings_event.txt
@@ -64,17 +64,17 @@ M_WRAP:
next;
menu "Wrap them, please!",-, "No, thanks.",M_QUEST;
- set @prizes, countitem(664)+countitem(665)+countitem(666)+countitem(667);
+ set @prizes, countitem(Gift_Box_1)+countitem(Gift_Box_2)+countitem(Gift_Box_3)+countitem(Gift_Box_4);
if( @prizes == 0){
mes "[Snower]";
mes "I don't see any gifts in fancy boxes on you...";
- if(countitem(644))mes "You've got only gray boxes.";
+ if(countitem(Gift_Box))mes "You've got only gray boxes.";
close;
}
- delitem 664,countitem(664);
- delitem 665,countitem(665);
- delitem 666,countitem(666);
- delitem 667,countitem(667);
+ delitem 664,countitem(Gift_Box_1);
+ delitem 665,countitem(Gift_Box_2);
+ delitem 666,countitem(Gift_Box_3);
+ delitem 667,countitem(Gift_Box_4);
getitem 644,@prizes;
mes "[Snower]";
@@ -114,7 +114,7 @@ louyang,224,249,4 script Sneewy 4_F_KID3,{
menu "Here are your 4 Gift Boxes",-, "I don't know any Snowhatevers...",M_End;
mes "[Sneewy]";
- if(countitem(644)<4){
+ if(countitem(Gift_Box)<4){
mes "Gimme 4 gifts for poor kids... Wait, you haven't got 4 of them!";
emotion e_sry;
close;
@@ -166,7 +166,7 @@ izlu2dun,133,160,2 script Snoowy 4_F_06,{
menu "Have these gifts!",-, "I need a li'l something in return",M_End;
mes "[Snoowy]";
- if(countitem(644)<3){
+ if(countitem(Gift_Box)<3){
mes "Oops!! You haven't got 3 gray gift boxes on you.";
emotion e_sry;
close;