1 | //===== eAthena Script ======================================= |
---|
2 | //= Mr. Smile Quest |
---|
3 | //===== By: ================================================== |
---|
4 | //= kobra_k88, Akaru |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.4a |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena 7.15 + |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Trade Clover, Fluff and Jellopy for a Mr. Smile mask. |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
14 | //= 1.4a Fixed a little Typo error in duplicates. (bugreport:749) [Samuray22] |
---|
15 | //============================================================ |
---|
16 | |
---|
17 | prontera,157,187,4 script Smile Assistance#prt::SmileHelper 92,{ |
---|
18 | mes "[Smile Girl]"; |
---|
19 | mes "Hi ~ Hi ~"; |
---|
20 | mes "This is Smile Assistance."; |
---|
21 | mes "How may I help you ?"; |
---|
22 | next; |
---|
23 | switch(select("^3355FFMr. Smile^000000 ?:Construct ^3355FFMr. Smile^000000 :Quit")) { |
---|
24 | case 1: |
---|
25 | mes "[Smile Girl]"; |
---|
26 | mes "National Event held by the command of ^5577FFHis majesty Tristram the 3rd^000000,"; |
---|
27 | mes "that intends to encourage the nation of the Rune-Midgarts Kingdom"; |
---|
28 | mes " to play in more enjoyable atmosphere!"; |
---|
29 | mes "I am ^3355FF' Smile Assistance '^000000,"; |
---|
30 | mes ".. who leads the national event under the name of "; |
---|
31 | mes "^3355FFSmile throughout the Rune-Midgarts Kingdom~^000000"; |
---|
32 | next; |
---|
33 | mes "[Smile Girl]"; |
---|
34 | mes "With simple and easy-to-get items,"; |
---|
35 | mes "I can provide you"; |
---|
36 | mes "^3355FF' Mr. Smile '^000000."; |
---|
37 | mes "The requirements are followings."; |
---|
38 | next; |
---|
39 | mes "[Smile Girl]"; |
---|
40 | mes "^3355FF10 Jellopy^000000"; |
---|
41 | mes "^3355FF10 Fluff^000000"; |
---|
42 | mes "^3355FF10 Clover^000000"; |
---|
43 | next; |
---|
44 | mes "[Smile Girl]"; |
---|
45 | mes "With this event"; |
---|
46 | mes "Everybody will be happy and smile,"; |
---|
47 | mes "getting together with other people,"; |
---|
48 | mes "And will try to make Ragnarok the most enjoyable game in the world."; |
---|
49 | close; |
---|
50 | case 2: |
---|
51 | if (countitem(909) > 9 && countitem(914) > 9 && countitem(705) > 9) { |
---|
52 | mes "[Smile Girl]"; |
---|
53 | mes "Congratulations !"; |
---|
54 | mes "Now please take this Mr.Smile."; |
---|
55 | next; |
---|
56 | delitem 909,10; //Jellopy |
---|
57 | delitem 914,10; //Fluff |
---|
58 | delitem 705,10; //Clover |
---|
59 | getitem 2278,1; //Mr_Smile |
---|
60 | mes "[Smile Girl]"; |
---|
61 | mes "His majesty,Tristram the 3rd"; |
---|
62 | mes "has promised to try his best to make Ragnarok better and more enjoyable."; |
---|
63 | next; |
---|
64 | mes "The fact mentioned above"; |
---|
65 | mes "was announced by"; |
---|
66 | mes "the Public Information Bureau of the Rune-Midgarts Kingom."; |
---|
67 | close; |
---|
68 | } |
---|
69 | else { |
---|
70 | mes "[Smile Girl]"; |
---|
71 | mes "Oh - unfortunately"; |
---|
72 | mes "You have not brought"; |
---|
73 | mes "enough items for Mr. Smile."; |
---|
74 | mes "^3355FF10 Jellopy^000000"; |
---|
75 | mes "^3355FF10 Fluff^000000"; |
---|
76 | mes "^3355FF10 Clover^000000"; |
---|
77 | mes "Please check the requirements above."; |
---|
78 | close; |
---|
79 | } |
---|
80 | case 3: |
---|
81 | mes "[Smile Girl]"; |
---|
82 | mes "Thank you for visiting us."; |
---|
83 | mes "We .."; |
---|
84 | mes "The Rune-Midgarts Kingdom"; |
---|
85 | mes "always try to make Ragnarok"; |
---|
86 | mes "better and more enjoyable game."; |
---|
87 | next; |
---|
88 | mes "[Smile Girl]"; |
---|
89 | mes "We sincerely ask you"; |
---|
90 | mes "to cooperate."; |
---|
91 | mes "The fact mentioned above"; |
---|
92 | mes "was announced by the Public Information Bureau of the Rune-Midgarts Kingom."; |
---|
93 | close; |
---|
94 | } |
---|
95 | } |
---|
96 | |
---|
97 | // Additional Smile Assistance staff |
---|
98 | morocc,158,97,4 duplicate(SmileHelper) Smile Assistance#moc 92 |
---|
99 | aldebaran,136,135,4 duplicate(SmileHelper) Smile Assistance#alde 92 |
---|
100 | geffen,119,107,4 duplicate(SmileHelper) Smile Assistance#gef 92 |
---|
101 | alberta,113,53,4 duplicate(SmileHelper) Smile Assistance#alb 92 |
---|
102 | payon,186,104,5 duplicate(SmileHelper) Smile Assistance#pay 92 |
---|
103 | izlude,129,118,4 duplicate(SmileHelper) Smile Assistance#iz 92 |
---|
104 | |
---|
105 | //============================================================ |
---|
106 | // Old changelog |
---|
107 | //============================================================ |
---|
108 | //= Fully working. 1.1 Optimized |
---|
109 | //= 1.2 updated Payon coords [Lupus] |
---|
110 | //= 1.3 fixed exploit [Lupus] |
---|
111 | //============================================================ |
---|