summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/traveler.txt
blob: 24e9fd20a9ed874c8401d55400be3a767e75ee04 (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
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
123
124
125
126
127
128
129
130
131
132
//===== eAthena Script ======================================= 
//= Traveler (New Hat Quests)
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.4b
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate New Hat quests.
//===== Additional Comments: ================================= 
//= 1.2 Fixed wrong labels, added missing text
//=	added missing delitem, fixed names, item amount [Lupus]
//= 1.3 Fixed possible exploit [Lupus]
//= 1.4 Fixed ingredients: Sashimi knife->Raw Fish (Sashimi) [Lupus]
//= 1.4a fixed coords [Lupus]
//============================================================

morocc.gat,273,78,6	script	Traveler	807,{ 
 mes "[Traveler]";
 if(BaseJob == Job_Novice) GOTO L_NOVICE;
 mes "What kind of hat do you want from me?";
 next;
 menu "Lazy Racoon Hat.",-,"Fresh Bluish Fish",M_N2,"Drooping Cat",M_N3,"Transformation Leaf",M_N4,"Nothing.",M_EXIT;

 mes "[Traveler]";
 mes "Gimme 1000 Acorns,";
 mes "100 Sea Otter Skins,";
 mes "and 10 Raccoon Leaf";
 next;
 mes "[Traveler]";
 mes "Got these items?";
 next;
 menu "Yep.",-,"No!",M_EXIT;

 if(countitem(1026) < 1000 || countitem(7065) < 100 || countitem(945) < 10) GOTO L_NOITEM;//Items: Acorn, Sea Otter Fur, Raccoon Leaf,
 delitem 1026,1000;//Items: Acorn,
 delitem 7065,100;//Items: Sea Otter Fur,
 delitem 945,10;//Items: Raccoon Leaf,
 mes "[Traveler]";
 mes "Well, then here is your item";
 next;
 getitem 5084,1;//Items: Lazy Racoon Hat,
 mes "[Traveler]";
 mes "Enjoy.";
 close;

M_N2:
 mes "[Traveler]";
 mes "Gimme 1 Rotten Fish,";
 mes "300 Rotten Scales,";
 mes "50 Raw Fish (Sashimi, not a knife),";
 mes "1 Fish Tail,";
 mes "and 100 Sticky Mucus";
 next;
 mes "[Traveler]";
 mes "Got these items?";
 menu "Yes",-,"No.",M_EXIT;

 if(countitem(624) < 1 || countitem(959) < 300 || countitem(544) < 50 || countitem(1023) < 1 || countitem(938) < 100) GOTO L_NOITEM; //Items: Rotten Fish, Stinky Scale, Sashimi, Fish Tail, Sticky Mucus,
 delitem 624,1;//Items: Rotten Fish,
 delitem 959,300;//Items: Stinky Scale,
 delitem 544,50;//Items: Raw Fish,
 delitem 1023,1;//Items: Fish Tail,
 delitem 938,100;//Items: Sticky Mucus,
 mes "[Traveler]";
 mes "Okay, thanks.";
 next;
 getitem 5065,1;//Items: Fresh Blueish Fish,
 mes "[Traveler]";
 mes "Thanks. Bye.";
 close;

M_N3:
 mes "[Traveler]";
 mes "Give me 1 Slotted Circlet,";
 mes "1 Black Dyestuff,";
 mes "and 300 Black Cat Dolls.";
 mes "Loli Ruri drops the last one.";
 next;
 mes "[Traveler]";
 mes "Have you these items?";
 next;
 menu "Yes",-,"No.",M_EXIT;

 if(countitem(2233) < 1 || countitem(983) < 1 || countitem(7206) < 300) GOTO L_NOITEM;//Items: Circlet, Black Dyestuff, Black Cat Doll,
 delitem 2233,1;//Items: Circlet,
 delitem 983,1;//Items: Black Dyestuff,
 delitem 7206,300;//Items: Black Cat Doll,
 mes "[Traveler]";
 mes "Okay, here you are.";
 next;
 getitem 5058,1;//Items: Resting Cat,
 mes "[Traveler]";
 mes "Good luck.";
 close;

M_N4:
 mes "[Traveler]";
 mes "Bring me 600 Raccoon Dog's Leaves (Raccoon Leaf).";
 next;
 mes "[Traveler]";
 mes "You have these?";
 next;
 menu "Yes!",-,"Nope.",M_EXIT;

 if(countitem(945) < 600) GOTO L_NOITEM;//Items: Raccoon Leaf,
 delitem 945,600;//Items: Raccoon Leaf,
 mes "[Traveler]";
 mes "Thanks. here's your leaf.";
 next;
 getitem 5064,1;//Items: Transformation Leaf,
 mes "[Traveler]";
 mes "Enjoy your Item.";
 close;

L_NOITEM:
 mes "[Traveler]";
 mes "No stuff, no item!";
 mes "When you have it, come back.";
 close;

L_NOVICE:
 mes "It's damn hot today...";
 close;

M_EXIT:
 mes "[Traveler]";
 mes "Bye.";
 close;
}