root/npc/custom/events/2006_dogs_year.txt @ 1

Revision 1, 3.1 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Eastern New Year 2006 The Year Of The Fire Dog
3//===== By: ==================================================
4//= Lupus (1.0)
5//===== Current Version: =====================================
6//= 1.1
7//===== Compatible With: =====================================
8//= eAthena Version; 5xxx+ (with 'disguise' command)
9//===== Description: =========================================
10//= Custom event: For 28-29 January
11//===== Additional Comments: =================================
12//= 1.0 Tested, fully working.[Lupus]
13//=             Add some national info in English if you can.
14//=     (Mine was in Russian, and it's damn hard to translate 8)
15//= 1.1 Commented out monster spawn as it is a custom mob and [L0ne_W0lf]
16//      not in the mob database.
17//============================================================
18
19
20prontera,149,167,6      script  Maria   81,{
21        mes "[Maria]";
22        //month
23        if((gettime(6)==1 && (gettime(5)==28 || gettime(5)==29))==0) {
24                mes "Happy New Year Of The Fire Dog! Woof!";
25                close;
26        }
27
28        mes "Happy New Year of The Fire Dog!";
29        if(rand(2))mes "By the way, 'Dogs' fit the most to the ones, born in years of Horse, Tiger and Rabbit.";
30        next;
31        menu "Tell me about Japanese traditions",-,
32                "Tell me about Chinese New Year",M_NGCH,
33                "Tell me about Korean New Year",M_NGCO,
34                "I need a doggy costume!",M_PRIZE,
35                "Happy New Year to you.",LEnd;
36
37        mes "[Maria]";
38        mes "Japan...";
39        mes "Put here some notes in English about their HNY.";
40        next;
41        mes "[Maria]";
42        mes "Put here some notes in English about their HNY.";
43        close;
44
45M_NGCH:
46        mes "[Maria]";
47        mes "China...";
48        mes "Put here some notes in English about their HNY.";
49        next;
50        mes "[Maria]";
51        mes "Put here some notes in English about their HNY.";
52        close;
53
54M_NGCO:
55        mes "[Maria]";
56        mes "Korea...";
57        mes "Put here some notes in English about their HNY.";
58        next;
59        mes "[Maria]";
60        mes "Put here some notes in English about their HNY.";
61        close;
62
63M_PRIZE:
64        mes "[Maria]";
65        if(countitem(12132)>9) {
66                mes "You should use all of your old costumes first!";
67                close;
68        }
69        mes "Some buddhistic books tell us legends about humans to dogs reincarnation... Buy ^FF0000this magic doggie costume^000000 for just ^0000FF999 Zeny^000000!";
70        mes "And prove old legends yourself!";
71        next;
72        menu "I'll buy one.",-,"No, thank you.",LEnd;
73       
74                mes "[Maria]";
75                if(Zeny<999) goto NoZ;
76                set Zeny,Zeny-999;
77                getitem 12132,1;
78                mes "Here you go. Its form will show true power of your spirit.";
79                emotion 15;
80                close;
81                NoZ:
82                        mes "Oh dear, you lack of zeny. I have 7 puppies to feed, you know...";
83                        emotion 17;
84                        close;
85        LEnd:
86                mes "[Maria]";
87                mes "Happy New Year of the Fire Me!!! Woof-woof!";
88                emotion rand(19,20);
89                close;
90
91OnInit:
92        //Magic Doggie Costum
93        setitemscript 12132,"{ misceffect 215; if(BaseLevel>97){disguise 1022;end;}if(BaseLevel>90){disguise 1296;end;}if(BaseLevel>80){disguise 1106;end;}if(BaseLevel>50){disguise 1013;end;}if(BaseLevel>40){disguise 1135;end;}disguise 1107;}";
94        end;
95}
96
97// Requires custom monster.
98//prontera,0,0,0,0      monster Fire Dog        1987,50,3600000,1800000,0
Note: See TracBrowser for help on using the browser.