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
|
//===== eAthena Script =======================================
//= Tulip Hairpin Quest
//===== By: ==================================================
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= Any eAthena Version.
//===== Description: =========================================
//= Seperate Tulip Hairpin quest.
//===== Additional Comments: =================================
//= 1.2 Fixed wrong labels, added missing text [Lupus]
//= 1.3 Fixed possible exploit and added missing close; [Lupus]
//============================================================
geffen.gat,84,189,6 script Ses 815,{
mes "[Ses]";
If (Class == 0) GOTO L_NOVICE;
mes "Woo, hello! Fruit fruit!";
mes "Sorry, I just love flowers, fruits and everything that makes me";
mes "look more FRUITY!";
next;
menu "Make me a Tulip Hairpin!",-,"What do I need?",M_REQ,"Bye!",M_EXIT;
mes "[Ses]";
mes "You have the items?";
next;
menu "Yes!",-,"No!",M_EXIT;
If ((countitem(2278) < 1) || (countitem(975) < 1)) GOTO L_NOITEM;//Items: Mr. Smile, Scarlet Dyestuffs,
mes "[Ses]";
mes "Yay! thanks! Pineapple!";
mes "Here you go!";
delitem 2278,1;//Items: Mr. Smile,
delitem 975,1;//Items: Scarlet Dyestuffs,
next;
getitem 5077,1;//Items: Tulip Hairpin,
mes "[Ses]";
mes "Enjoy being pretty!";
close;
L_NOITEM:
mes "[Ses]";
mes "You don't have enough items for a Tulip Hairpin!";
next;
M_REQ:
mes "[Ses]";
mes "Well, I need...";
mes "1 Mr. Smile for the substance";
mes "and 1 scarlet Dyestuff!";
mes "Bring these to me for your item!";
close;
L_NOVICE:
mes "I love flowers... Do you love flowers, too?";
close;
M_EXIT:
mes "[Ses]";
mes "Okay!";
mes "Byeeeee!";
close;
}
|