summaryrefslogtreecommitdiff
path: root/npc/custom/events/xmas_rings_event.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:31:39 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:34 +0100
commit6133612d369697e2228545e70eff5d69e6e8c46e (patch)
tree6c071547753931790428f6d3d673c3469b166ef4 /npc/custom/events/xmas_rings_event.txt
parent50e59ea8f8cfae5155e8733d4f06d67d91414bb1 (diff)
downloadhercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.gz
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.bz2
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.xz
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.zip
ItemID to Constant: custom Folder
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;