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

xmas.gat,152,176,3	script	Bora	826,{
 mes "[Bora]";
 mes "Don't bears have such a cute expression on their faces?";
 mes "And I bet you wouldn't mind one of those cute expressions yourself!";
 next;
 mes "[Bora]";
 mes "Well, I can make you a Bear Hat!";
 next;
 menu "Yes, make me one now!",-,"What are the requirements?",M_REQ,"No, thanks.",M_EXIT;

 If ((countitem(5030) < 1) || (countitem(7213) < 100) || (countitem(7217) < 100) || (countitem(7167) < 300)) GOTO L_NOITEM;//Items: Panda Hat, Pin Cusion, Spool of Thread, Strange Piece of Iron,
 mes "[Bora]";
 mes "Yay! now I can make my famous Bear Hat!";
 mes "Now, give me your items!";
 delitem 5030,1;//Items: Panda Hat,
 delitem 7213,100;//Items: Pin Cusion,
 delitem 7217,100;//Items: Spool of Thread,
 delitem 7167,300;//Items: Strange Piece of Iron,
 next;
 mes "[Bora]";
 mes "Now I will give you the hat!";
 next;
 getitem 5059,1;//Items: Bear Hat,
 mes "[Bora]";
 mes "Thanks, and bye!";
 close;

M_REQ:
 mes "[Bora]";
 mes "Bring me...";
 mes "1 Panda Hat,";
 mes "100 Pin Cusion,";
 mes "100 Spool of Thread";
 mes "300 Strange Pieces of Iron.";
 next;
 mes "[Bora]";
 mes "For the Pin Cusion (Stabbing Needles) and Spool of Thread,";
 mes "Hyzoloists in Niflheim drop those, I believe.";
 close;

L_NOITEM:
 mes "[Bora]";
 mes "Sorry, I want all the items I asked.";
 mes "Please dont try to cheat me.";
 close;

M_EXIT:
 mes "[Bora]";
 mes "Okay, well, byebye!";
 close;
}