summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/sea_otter_hat.txt
blob: 87e3021929a14fd82075e8b7aee5cc8e44f340e3 (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
//===== eAthena Script ======================================= 
//= Sea Otter Hat Quest
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.2
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Seo Otter Hat quest.
//===== Additional Comments: ================================= 
//= 1.2 Fixed wrong labels, added missing text [Lupus]
//============================================================

xmas.gat,184,267,4	script	Pretty Rency	818,{
 mes "[Pretty Rency]";
 mes "Wow! you heard of a Sea Otter Hat?";
 next;
 mes "[Pretty Rency]";
 mes "The requirements for this item, are very simple:";
 mes "1 Lazy Racoon Hat,";
 mes "1 Transformation Leaf";
 next;
 mes "[Pretty Rency]";
 mes "Do you have these items?";
 next;
 menu "Yes.",-,"No.",M_EXIT;

 if ((countitem(5084) < 1) || (countitem(5064) < 1)) GOTO L_NOITEM;//Items: Lazy Racoon Hat, Transformation Leaf,
 mes "[Pretty Rency]";
 mes "Congratulations!";
 next;
 delitem 5084,1;//Items: Lazy Racoon Hat,
 delitem 5064,1;//Items: Transformation Leaf,
 mes "[Pretty Rency]";
 mes "Thanks for your items! Now I will make yours for you!";
 next;
 getitem 5078,1;//Items: Sea Otter Hat,
 mes "[Pretty Rency]";
 mes "Thanks! Byeeeeeee!";
 close;

L_NOITEM:
 mes "[Pretty Rency]";
 mes "Sorry, not enough items.";
 close;

M_EXIT:
 mes "[Pretty Rency]";
 mes "Byebye! Have a nice time in the world of Ragnarok!";
 close;
}