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
|
//===== eAthena Script =======================================
//= Mr. Smile Quest
//===== By: ==================================================
//= kobra_k88, Akaru
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= eAthena 7.15 +
//===== Description: =========================================
//=
//===== Additional Comments: =================================
//= Fully working. 1.1 Optimized
//= 1.2 updated Payon coords [Lupus]
//= 1.3 fixed exploit [Lupus]
//============================================================
// Alberta ------------------------------------------------------------------------------------------
alberta.gat,113,53,3 script Smile Assistance::SmileAT 92,{
mes "[Smile Assistant]";
mes "Hi, I'm a Smile Assistance. How may I help you?";
next;
menu "^0099FFMr. Smile^000000?",M_0, "Construct a ^0099FFMr. Smile^000000",M_1, "Quit",M_End;
M_0:
mes "[Smile Assistant]";
mes "Oh, the Mr. Smile Event is a nationwide event that is being sponsered by ^0099FFHis Majesty Tristram the 3rd^000000.";
mes "The goal of the event is to get the citizens of Rune Midgard to put on happy looking Mr. Smile masks.";
next;
mes "[Smile Assistance]";
mes "By having this event, His Majesty wishes to encourage the people of Rune Midgard to have more fun and enjoy themselves!";
mes "As you may have guessed, the Mr. Smile mask is simply a smiley face.";
next;
mes "[Smile Assistance]";
mes "Although it may be simple, no one can argue the power of a smile! And if everybody in the kingdom were to wear one....";
mes "just imagine how much joy and cheer the world would see!";
next;
mes "[Smile Assistant]";
mes "As a Smile Assistant, it is my job to make a Mr. Smile mask for all of those who want one.";
mes "All I need to make the mask are some little items, namely:";
mes "^5555FF10 Jellopy^000000";
mes "^5555FF10 Fluff^000000";
mes "^5555FF10 Clover^000000";
next;
mes "[Smile Girl]";
mes "The world could use more smiles so get those items and come back soon. I'll be waiting right here.";
close;
M_1:
mes "[Smile Assistant]";
if(countitem(705) < 10 || countitem(909) < 10 || countitem(914) < 10) goto sL_NoItems;
delitem 705,10;
delitem 909,10;
delitem 914,10;
mes "Oh, great! You've brought back all of the items needed. Wait just a sec while I get your Mr. Smile ready.....";
next;
mes "~!shook!~!shook!~!clack!~!clack!~!tok!~!tok!~";
next;
mes "[Smile Assistant]";
mes "Here ya go, your very own Mr. Smile!";
getitem 2278,1;
next;
mes "[Smile Assistant]";
mes "The Mr. Smile Event is just one of the many ways His Majesty Tristam the 3rd is trying to make life more enjoyable here in Rune Midgard.";
next;
mes "[Smile Assistant]";
mes "Hopefully you will be reminded of that fact everytime you put on your Mr. Smile.";
close;
sL_NoItems:
mes "Oh... Unfortunately you don't have enough items for a Mr. Smile. What you need are:";
mes "^5555FF10 Jellopy^000000,";
mes "^5555FF10 Fluff^000000,";
mes "^5555FF10 Clover^000000,";
mes "I'll be waiting here so hurry back.";
close;
M_End:
close;
}
// Aldebaran --------------------------------------------------------------------------------
aldebaran.gat,136,135,4 duplicate(SmileAT) Smile Assistance#2 92
// Geffen -----------------------------------------------------------------------------------
geffen.gat,119,107,4 duplicate(SmileAT) Smile Assistance#3 92
// Izlude -----------------------------------------------------------------------------------
izlude.gat,129,118,4 duplicate(SmileAT) Smile Assistance#4 92
// Morroc -----------------------------------------------------------------------------------
morocc.gat,158,97,4 duplicate(SmileAT) Smile Assistance#5 92
// Payon ------------------------------------------------------------------------------------
payon.gat,168,225,4 duplicate(SmileAT) Smile Assistance#6 92
// Prontera ---------------------------------------------------------------------------------
prontera.gat,157,187,4 duplicate(SmileAT) Smile Assistance#7 92
|