summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/mushroom_hairband.txt
blob: 8be76f8006873b0184f4f2cb40fa5a542e300f0e (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
//===== eAthena Script =======================================
//= Mushroom Hairband Quest
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.3
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Mushroom Hairband quest.
//===== Additional Comments: ================================= 
//= 1.2 Fixed wrong labels, added missing text [Lupus]
//= 1.3 Fixed possible exploit [Lupus]
//============================================================

geffen.gat,66,87,6	script	Aipo	819,{
 mes "[Aipo]";
 if(BaseJob == Job_Novice) GOTO L_NOVICE;
 mes "Heeeeee.";
 next;
 mes "[Aipo]";
 mes "Have you ever wondered what you would look like with a ^000080Mushroom Hairband^000000?";
 mes "Well, I can make you one if you like, just give me 300 Mushroom Spores!";
 next;
 mes "[Aipo]";
 mes "This wondrous item grew in the depths of a gave and needs the spores for the final";
 mes "materials neededm";
 mes "Want me to make it for you?";
 next;
 menu "Yes! Now make me the item!",-,"No, thanks!",M_EXIT;

 if(countitem(921) < 300) GOTO L_NOITEM;//Items: Mushroom Spore,
 delitem 921,300;//Items: Mushroom Spore,
 mes "[Aipo]";
 mes "Wow! Thanks! Lemme make the item then.";
 next;
 mes "[Aipo]";
 mes "Okay, thanks for the items, now yours in return!";
 next;
 getitem 5082,1;//Items: Mushroom Hairband,
 mes "[Aipo]";
 mes "Thanks again! Bye!";
 close;

L_NOITEM:
 mes "[Aipo]";
 mes "You don't have enough Mushroom Spores... sorry!";
 close;

L_NOVICE:
 mes "I love musrooms. I wanna be their master one day...";
 close;

M_EXIT:
 mes "[Aipo]";
 mes "Well, I'm always here if you change your mind!";
 close;
}