root/npc/events/idul_fitri.txt @ 6

Revision 1, 2.4 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Feast Day Of Ramadan Idul Fitri Event
3//===== By: ==================================================
4//= $ephiroth
5//===== Current Version: =====================================
6//= 1.0a
7//===== Compatible With: =====================================
8//= eAthena Version
9//===== Description: =========================================
10//= Info : Official idRO
11//= 2006/10/16: 1.0 Release and fully working. [$ephiroth]
12//============================================================
13
14
15prontera,146,92,3       script  Cellerb 58,{
16        set @npcname$,"[Staff Idul Fitri]";
17        mes @npcname$;
18        if((gettime(6)==10 && (gettime(5)==24 || gettime(5)==25))==0) {
19                mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1427 H.";
20                specialeffect 139;
21                close; 
22        }
23        mes "Haii......^FF8800"+strcharinfo(0)+"^000000!!";
24        mes "First day of Idulfitri has arrived.";
25        mes "Congratulation celebrate him.";
26        mes "There is event special today.";
27        next;
28        mes @npcname$;
29        mes "Event today .....^009500Idul Fitri Quest!^000000";
30        next;
31        mes @npcname$;
32        mes "If you interest to follow this event, I will cook it to you.";
33        next;
34
35        switch(select("Allright. I like that!!","Next time.... Thanks.")){
36        case 1:
37                mes @npcname$;
38                mes "I have something that might interest you.";
39                mes "I need all of the following items:";
40                mes "^D5A500Ketupat Sayur Ingredient :^000000";
41                mes "^00B6FF~5 Ketupat, 5 Carrot~,^000000";
42                mes "^CC6633~5 Sweet Potato, 10 Meat~,^000000";
43                mes "^000088~2 Green Herb, 5 Stem~.^000000";
44                next;
45                mes @npcname$;
46                if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) {
47                        mes "You don't have enough items.";
48                        mes "Come back when you have them all.";
49                        close;
50                }
51                delitem 552,5;
52                delitem 515,5;
53                delitem 516,2;
54                delitem 517,10;
55                delitem 511,2;
56                delitem 905,5;
57                mes "I see you already have all the items you need.";
58                mes "Just a moment, please!!";
59                next;
60                mes "^009500-Plupping snapping bubbling~^000000";
61                mes "^009500-Clinking clingking~^000000";
62                mes "^009500-Clang clang~^000000";
63                getitem 583,1;
64                next;
65                mes @npcname$;
66                mes "We appreciate your participation in this special event.";
67                emotion e_thx;
68                close;
69
70        case 2:
71                mes @npcname$;
72                mes "Oh well, maybe you will participate in tommorow's quest.";
73                emotion e_hmm;
74                close;
75        }
76}
77
78prontera        mapflag fireworks
Note: See TracBrowser for help on using the browser.