summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/mask_of_alarm.txt
blob: d461d2dd5658ca80f3ca698df36149a8deb42bb3 (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
//===== eAthena Script =======================================
//= Mask of Alarm Quest
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.4a
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Alarm Mask quest.
//===== Additional Comments: ================================= 
//= 1.2 Fixed wrong labels, added missing text and labels,
//= changed Zeny amount, fixed wrong item ID [Lupus]
//= 1.3 Fixed possible exploit [Lupus]
//= 1.4 Added correct item list. [shadow] & [Lupus]
//= 1.4a fixed coords [Lupus]
//============================================================

alde_alche.gat,104,171,3	script	Muslam	819,{
	mes "[Muslam]";
	mes "I love Alarms, so evil, just like me.";
	mes "Touch me and I will rip your arm off!";
	next;
	mes "[Muslam]";
	mes "Anyways... If you want an Alarm Mask, bring me";
	mes "3,000 Clock Hands,";
	mes "and 1 Mr. Scream.";
	next;
	mes "[Muslam]";
	mes "Got these?";
	next;
	menu "Yep!",-,"Nope!",M_EXIT;

	if(countitem(1095) < 3000 || countitem(2288) < 1) GOTO L_NOITEM;//Items: Mr Scream,
	delitem 1095,3000;//Items: Clock Hand
	delitem 2288,1;//Items: Mr Scream
	mes "[Muslam]";
	mes "Great!";
	next;
	getitem 5086,1;//Items: Alarm Mask,
	mes "[Muslam]";
	mes "Enjoy your item!";
	close;

L_NOITEM:
	mes "[Muslam]";
	mes "Where are 3,000 Clock Hands and 1 Mr. Scream?";
	close;

M_EXIT:
	mes "[Muslam]";
	mes "Mkay! byeee.";
	close;
}