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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
//===== Hercules Script ======================================
//= Custom Halloween Event 2006
//===== By: ==================================================
//= Stryker
//===== Current Version: =====================================
//= 1.2
//===== Description: =========================================
//= Halloween Event Script
//===== Additional Comments: =================================
//= 1.1 - Added trick to script
//= 1.2 fixed bugs, optimized. Now uses 1 var instead of 3 [Lupus]
//============================================================
prontera,151,190,5 script Hallows' Eve Event 1_M_SIGNMCNT,{
mes "[Hallows' Eve Event]";
if(Class == Job_Novice){
mes "I am sorry but you have to got a job to complete the event.";
emotion e_swt,1;
close;
}
if(EVENT_HALWN06&1 && EVENT_HALWN06&2){
mes "I am sorry but you have already completed the event.";
emotion e_sry;
close;
}
mes "Greetings fellow lively human.";
next;
mes "[Hallows' Eve Event]";
mes "Halloween is upon us and it is almost time to adventure out into places few dare go.";
next;
mes "[Hallows' Eve Event]";
mes "Trick or treat, which do you prefer?";
next;
menu "Trick",-, "Treat",L_Treat;
mes "[Hallows' Eve Event]";
if(EVENT_HALWN06&2){
mes "I'm sorry but you have already had a trick. Why don't you go pick a treat now.";
emotion e_sry;
close;
}
mes "Give me a min...";
next;
set BaseExp,BaseExp+BaseLevel*1000;
set EVENT_HALWN06,EVENT_HALWN06|2;
mes "[Hallows' Eve Event]";
mes "Here is your treat. Your Base EXP has been slightly increased.";
next;
mes "[Hallows' Eve Event]";
mes "I hope you enjoy your trick and Happy Halloween!";
close;
L_Treat:
mes "[Hallows' Eve Event]";
if(EVENT_HALWN06&1){
mes "I'm sorry but you have already had a treat. Why don't you go pick a trick now.";
emotion e_sry;
close;
}
if(!(EVENT_HALWN06&4)){
mes "Great! This shall be so much fun.";
next;
mes "[Hallows' Eve Event]";
mes "I will be sending you on a scavenger hunt for items.";
next;
mes "[Hallows' Eve Event]";
mes "Bring back all the necessary items, and I will create you a treat.";
next;
mes "[Hallows' Eve Event]";
mes "Not just any normal treat either that you can eat, but it is something you can wear on your head.";
next;
mes "[Hallows' Eve Event]";
mes "But with all things made, some items are required first.";
mes "The list:";
mes "1 Hat,";
mes "30 Pumpkin, and";
mes "20 Black Piece of Cloth";
next;
mes "[Hallows' Eve Event]";
mes "Hurry along now.";
set EVENT_HALWN06,EVENT_HALWN06|4;
close;
}
mes "Did you get the items I requested or do you need to see the list again?";
next;
menu "Got'em",-, "Don't Have",L_Dont_Have, "See List",L_List;
mes "[Hallows' Eve Event]";
if((countitem(2220) < 1) || (countitem(535) < 30) || (countitem(7205) < 20)){
mes "You don't have enough items. Come back when you do.";
emotion e_sry;
close;
}
delitem 2220,1;
delitem 535,30;
delitem 7205,20;
getitem 5134,1;
set EVENT_HALWN06,EVENT_HALWN06|1;
mes "Good job! I hope you are happy with your item.";
emotion e_grat;
next;
mes "[Hallows' Eve Event]";
mes "Enjoy the rest of your halloween.";
emotion e_scissors,1;
close;
L_Dont_Have:
mes "[Hallows' Eve Event]";
mes "Go back out and search for them. Would you like to view the list?";
next;
menu "No",-, "Yes",L_List;
close;
L_List:
mes "[Hallows' Eve Event]";
mes "I require the following items:";
mes "1 Hat,";
mes "30 Pumpkin, and";
mes "20 Black Piece of Cloth.";
close;
}
|