summaryrefslogtreecommitdiff
path: root/npc/events/custom/2006_dogs_year.txt
blob: 1be5be4ff7f7ad9e86f4b1a97c8dc21f73f970a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//===== eAthena Script =======================================
//= Eastern New Year 2006 The Year Of The Fire Dog
//===== By: ==================================================
//= Lupus (1.0)
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= eAthena Version; 5xxx+ (with 'disguise' command)
//===== Description: =========================================
//= Custom event: For 28-29 January
//===== Additional Comments: =================================
//= 1.0 Tested, fully working.[Lupus]
//=		Add some national info in English if you can.
//=	(Mine was in Russian, and it's damn hard to translate 8)
//= 1.1 Commented out monster spawn as it is a custom mob and [L0ne_W0lf]
//	not in the mob database.
//============================================================


prontera,149,167,6	script	Maria	81,{
	mes "[Maria]";
	//month
	if((gettime(6)==1 && (gettime(5)==28 || gettime(5)==29))==0) {
		mes "Happy New Year Of The Fire Dog! Woof!";
		close;
	}

	mes "Happy New Year of The Fire Dog!";
	if(rand(2))mes "By the way, 'Dogs' fit the most to the ones, born in years of Horse, Tiger and Rabbit.";
	next;
	menu "Tell me about Japanese traditions",-,
		"Tell me about Chinese New Year",M_NGCH,
		"Tell me about Korean New Year",M_NGCO,
		"I need a doggy costume!",M_PRIZE,
		"Happy New Year to you.",LEnd;

	mes "[Maria]";
	mes "Japan...";
	mes "Put here some notes in English about their HNY.";
	next;
	mes "[Maria]";
	mes "Put here some notes in English about their HNY.";
	close;

M_NGCH:
	mes "[Maria]";
	mes "China...";
	mes "Put here some notes in English about their HNY.";
	next;
	mes "[Maria]";
	mes "Put here some notes in English about their HNY.";
	close;

M_NGCO:
	mes "[Maria]";
	mes "Korea...";
	mes "Put here some notes in English about their HNY.";
	next;
	mes "[Maria]";
	mes "Put here some notes in English about their HNY.";
	close;

M_PRIZE:
	mes "[Maria]";
	if(countitem(12132)>9) {
		mes "You should use all of your old costumes first!";
		close;
	}
	mes "Some buddhistic books tell us legends about humans to dogs reincarnation... Buy ^FF0000this magic doggie costume^000000 for just ^0000FF999 Zeny^000000!";
	mes "And prove old legends yourself!";
	next;
	menu "I'll buy one.",-,"No, thank you.",LEnd;
	
		mes "[Maria]";
		if(Zeny<999) goto NoZ;
		set Zeny,Zeny-999;
		getitem 12132,1;
		mes "Here you go. Its form will show true power of your spirit.";
		emotion 15;
		close;
		NoZ:
			mes "Oh dear, you lack of zeny. I have 7 puppies to feed, you know...";
			emotion 17;
			close;
	LEnd:
		mes "[Maria]";
		mes "Happy New Year of the Fire Me!!! Woof-woof!";
		emotion rand(19,20);
		close;

OnInit:
	//Magic Doggie Costum
	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;}";
	end;
}

// Requires custom monster.
//prontera,0,0,0,0	monster	Fire Dog	1987,50,3600000,1800000,0