summaryrefslogtreecommitdiff
path: root/npc/re/quests/pile_bunker.txt
blob: cf04f152ef2e8fd011d5c1389bd305ee5912131d (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
//===== rAthena Script ======================================= 
//= Pile Bunker Quest
//===== By: ================================================== 
//= JayPee Mateo
//===== Current Version: ===================================== 
//= 2.1
//===== Compatible With: ===================================== 
//= rAthena SVN
//===== Description: ========================================= 
//= 1.0 A Pile Bunker quest based on iRO WiKi. [JayPee Mateo]
//= 2.0 Rewrited the Script a little so it looks a bit better. [Masao]
//= 2.1 Switched to official script, coded by Gennosuke Kouga. [Euphy]
//============================================================ 

yuno,179,174,4	script	Gomer	851,{
	if (Class != Job_Mechanic && Class != Job_Mechanic_T && Class != Job_Baby_Mechanic) {
		mes "[Gomer]";
		mes "I'm a retired Mechanic and I don't think I have any business with you.";
		close;
	}
	mes "[Gomer]";
	mes "So? What does it feel like to be on a Madogear?";
	mes "It's something that's not allowed for those who failed to seek out their own path.";
	next;
	mes "[Gomer]";
	mes "Me? I retired a long time ago. Because I got into an accident... got badly hurt and won't be able to ride again. I am upset about it.";
	next;
	mes "[Gomer]";
	mes "So I've decided to stay here forging gears for Madogear.";
	mes "Huh? I'm not saying I have any complaints about this work.";
	next;
	mes "[Gomer]";
	mes "Forced to do something you don't like, there is nothing more miserable than that.";
	next;
	mes "[Gomer]";
	mes "There are people who are happy just being props, you know, like being the wall for someone to lean on.";
	next;
	mes "[Gomer]";
	mes "That makes me feel good and I am about to make a new gear. I want you to help me. What do you say?";
	next;
	switch(select("I am not that interested.:What are you going to make?:Where do you get the materials?:I brought the materials.")) {
	case 1:
		mes "[Gomer]";
		mes "Nothing I can do";
		mes "about it then.";
		mes "See you next time!";
		close;
	case 2:
		mes "[Gomer]";
		mes "Um, a huge metal stick that could smash an opponent in one hit!";
		next;
		mes "[Gomer]";
		mes "It doesn't look fancy, but I've designed a spring-loaded device to attack with great strength.";
		next;
		mes "[Gomer]";
		mes "It's concealed, so when you find a chance, one shot could put an opponent in critical condition!";
		mes "I can't wait to see it in action!";
		next;
		mes "[Gomer]";
		mes "If you were to imagine how good this kind of weapon could be, I will make it come true.";
		next;
		mes "[Gomer]";
		mes "Bring me 200 Steel, 30 Flexible Tubes, and 1 Brocca. I could make what I just described with those materials.";
		close;
	case 3:
		mes "[Gomer]";
		mes "You should be able get steel from many monsters like Kobolds.";
		next;
		mes "[Gomer]";
		mes "Flexible Tubes are more rare, dropped by Metalings around Einbroch and Lighthalzen.";
		next;
		mes "[Gomer]";
		mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!";
		close;
	case 4:
		if (countitem(1549)) {
			mes "[Gomer]";
			mes "So how's that Pile Bunker working out for you?";
			close;
		} else if (countitem(1415) < 1 || countitem(999) < 200 || countitem(7325) < 30) {
			mes "[Gomer]";
			mes "You haven't brought all of the materials that I asked for.";
			next;
			mes "[Gomer]";
			mes "I have a habit of giving up what I've been making and trying to make new things when the inspiration comes up.";
			mes "You'd better hurry!";
			close;
		} else {
			mes "[Gomer]";
			mes "Oh, I've been waiting. You didn't come on time, so I was wondering if you forgot about it. Please wait there a little bit.";
			specialeffect 101;
			next;
			mes "[Gomer]";
			mes "It's done. What do you think? Not bad, eh? Although I made it myself, I have to say it's pretty decently done.";
			next;
			mes "[Gomer]";
			mes "Combination of weight, volume and look at its color and gloss. It catches my heart!";
			next;
			mes "[Gomer]";
			mes "...........";
			next;
			mes "[Gomer]";
			mes "Uh, with little improvement, it could be mass produced and delivered. I'm sure I can make more of these so I will give this one to you.";
			next;
			mes "[Gomer]";
			mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back.";
			delitem 999,50; // Steel
			delitem 7325,30; // Flexible Tube
			delitem 1415,1; // Brocca
			getitem 1549,1; // Pile Bunker	
			getitem 1360,1; // Two-handed Axe [1]
			close;
		}
	}
}