OSDN Git Service

First version
[st-ro/stro.git] / npc / re / quests / pile_bunker.txt
1 //===== rAthena Script ======================================= 
2 //= Pile Bunker Quest
3 //===== By: ================================================== 
4 //= JayPee Mateo
5 //===== Current Version: ===================================== 
6 //= 2.2
7 //===== Compatible With: ===================================== 
8 //= rAthena Project
9 //===== Description: ========================================= 
10 //= 1.0 A Pile Bunker quest based on iRO WiKi. [JayPee Mateo]
11 //= 2.0 Rewrited the Script a little so it looks a bit better. [Masao]
12 //= 2.1 Switched to official script, coded by Gennosuke Kouga. [Euphy]
13 //= 2.2 Updated to match the official script. [Euphy]
14 //============================================================ 
15
16 // Main NPC :: mech_book
17 //============================================================
18 yuno,179,174,4  script  Gomer   851,{
19         if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
20                 mes "[Gomer]";
21                 mes "You are carrying so much. Drop off some of your luggage and come back to me.";
22                 close;
23         }
24         if (countitem(1549)) {
25                 mes "[Gomer]";
26                 mes "So how's that Pilebuncker working out for you?";
27                 close;
28         }
29         if (Class != Job_Mechanic && Class != Job_Mechanic_T && Class != Job_Baby_Mechanic) {
30                 mes "[Gomer]";
31                 mes "I'm a retired Mechanic and I don't think I have any business with you.";
32                 close;
33         }
34         mes "[Gomer]";
35         mes "So? What does it feel like to be on a Madogear?";
36         mes "It's something that's not allowed for those who failed to seek out their own path.";
37         next;
38         mes "[Gomer]";
39         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.";
40         next;
41         mes "[Gomer]";
42         mes "So I've decided to stay here forging gears for Madogear.";
43         mes "Huh? I'm not saying I have any complaints about this work.";
44         next;
45         mes "[Gomer]";
46         mes "Forced to do something you don't like, there is nothing more miserable than that.";
47         next;
48         mes "[Gomer]";
49         mes "There are people who are happy just being props, you know, like being the wall for someone to lean on.";
50         next;
51         mes "[Gomer]";
52         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?";
53         next;
54         switch(select("I am not that interested.:What are you going to make?:Where do you get the materials?:I brought the materials.")) {
55         case 1:
56                 mes "[Gomer]";
57                 mes "Nothing I can do";
58                 mes "about it then.";
59                 mes "See you next time!";
60                 close;
61         case 2:
62                 mes "[Gomer]";
63                 mes "Um, a huge metal stick that could smash an opponent in one hit!";
64                 next;
65                 mes "[Gomer]";
66                 mes "It doesn't look fancy, but I've designed a spring-loaded device to attack with great strength.";
67                 next;
68                 mes "[Gomer]";
69                 mes "It's concealed, so when you find a chance, one shot could put an opponent in critical condition!";
70                 mes "I can't wait to see it in action!";
71                 next;
72                 mes "[Gomer]";
73                 mes "If you were to imagine how good this kind of weapon could be, I will make it come true.";
74                 next;
75                 mes "[Gomer]";
76                 mes "Bring me 200 Steel, 30 Flexible Tubes, and 1 Brocca. I could make what I just described with those materials.";
77                 close;
78         case 3:
79                 mes "[Gomer]";
80                 mes "You should be able get steel from many monsters like Kobolds.";
81                 next;
82                 mes "[Gomer]";
83                 mes "Flexible Tubes are more rare, dropped by Metalings around Einbroch and Lighthalzen.";
84                 next;
85                 mes "[Gomer]";
86                 mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!";
87                 close;
88         case 4:
89                 if (countitem(999) < 200 || countitem(7325) < 30 || countitem(1415) < 1) {
90                         mes "[Gomer]";
91                         mes "You haven't brought all of the materials that I asked for.";
92                         next;
93                         mes "[Gomer]";
94                         mes "I have a habit of giving up what I've been making and trying to make new things when the inspiration comes up.";
95                         mes "You'd better hurry!";
96                         close;
97                 } else {
98                         mes "[Gomer]";
99                         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.";
100                         specialeffect EF_REPAIRWEAPON;
101                         next;
102                         mes "[Gomer]";
103                         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.";
104                         next;
105                         mes "[Gomer]";
106                         mes "Combination of weight, volume and look at its color and gloss. It catches my heart!";
107                         next;
108                         mes "[Gomer]";
109                         mes "...........";
110                         next;
111                         mes "[Gomer]";
112                         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.";
113                         next;
114                         mes "[Gomer]";
115                         mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back.";
116                         delitem 999,50; //Steel
117                         delitem 7325,30; //Tube
118                         delitem 1415,1; //Skewer
119                         getitem 1549,1; //Pilebuncker
120                         getitem 1360,1; //Two_Handed_Axe
121                         close;
122                 }
123         }
124 }