summaryrefslogtreecommitdiff
path: root/npc/quests/eden/eden_service.txt
blob: cbfbc5a7408fd843cb0100d2a448b0078f3c226a (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
//===== rAthena Script ======================================= 
// Eden Group Quests - Service NPCs
//===== By: ================================================== 
//= L0ne_W0lf
//===== Current Version: ===================================== 
//= 1.0
//===== Compatible With: ===================================== 
//= rAthena 1.0
//===== Description: ========================================= 
//= [AEGIS Conversion]
//===== Additional Comments: ================================= 
//= 1.0 First Version.
//============================================================

moc_para01,172,120,0	script	Goods Cabinet#01	111,{
	mes "It is a Goods Storage Cabinet.";
	mes "A message is written on a piece of paper.";
	next;
	mes "+ Cabinet is exclusively +";
	mes "+ for the Eden group +";
	mes "If you want to use this";
	mes "cabinet please check";
	mes "the following:";
	next;
	mes "1.Are you a member";
	mes "   of Eden group?";
	mes "2.Have you learned";
	mes "   enough basic skills?";
	mes "3.Cabinet fee is";
	mes "  ^4d4dff500 zeny^000000!";
	next;
	if (countitem(6219) > 0) {
		mes "You need to insert zeny to use the cabinet.";
		mes "Cost : 500 Zeny ";
		mes "Would you like to use it?";
		next;
		switch(select("Use the Cabinet.:Cancel.")) {
		case 1:
			if (Zeny > 499) {
				if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
					mes "The cabinet is not working for me.";
					mes "Maybe I am not yet qualified to use Cabinet.";
				}
				else {
					set zeny,zeny-500;
					openstorage;
				}
			}
			else {
				mes "I don't have enough zeny.";
				mes "I need at least 500 zeny to use the Cabinet.";
			}
			break;
		case 2:
			mes "I will use it next time.";
		}
	}
	else
		mes "I need an Eden Group Mark to use this Cabinet.";
	close;
}

moc_para01,170,120,0	script	Goods Cabinet#02	111,{
	mes "It is a Goods Storage Cabinet.";
	mes "A message is written on a piece of paper.";
	next;
	mes "+ Cabinet is exclusively +";
	mes "+ for the Eden group +";
	mes "If you want to use this";
	mes "cabinet please check";
	mes "the following:";
	next;
	mes "1.Are you a member";
	mes "   of Eden group?";
	mes "2.Have you learned";
	mes "   enough basic skills?";
	mes "3.Cabinet fee is";
	mes "  ^4d4dff500 zeny^000000!";
	next;
	if (countitem(6219) > 0) {
		mes "You need to insert zeny to use the cabinet.";
		mes "Cost : 500 Zeny ";
		mes "Would you like to use it?";
		next;
		switch(select("Use the Cabinet.:Cancel.")) {
		case 1:
			if (Zeny > 499) {
				if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
					mes "The cabinet is not working for me.";
					mes "Maybe I am not yet qualified to use Cabinet.";
				}
				else {
					set zeny,zeny-500;
					openstorage;
				}
			}
			else {
				mes "I don't have enough zeny.";
				mes "I need at least 500 zeny to use the Cabinet.";
			}
			break;
		case 2:
			mes "I will use it next time.";
		}
	}
	else
		mes "I need an Eden Group Mark to use this Cabinet.";
	close;
}