summaryrefslogtreecommitdiff
path: root/npc/re/quests/pile_bunker.txt
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-07-04 14:35:24 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-07-04 14:35:24 -0300
commit5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac (patch)
tree1a622268c8f8f148de045c408b6e94f4b4592b93 /npc/re/quests/pile_bunker.txt
parent5479f9631f8579d03fbfd14d8a49c7976226a156 (diff)
parent6ced266cc8d41ce6a3c5323c22f295e37b3f5684 (diff)
downloadhercules-5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac.tar.gz
hercules-5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac.tar.bz2
hercules-5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac.tar.xz
hercules-5ea7b8b9e172ed16fda6ee5a051ae0dbb767b4ac.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc/re/quests/pile_bunker.txt')
-rw-r--r--npc/re/quests/pile_bunker.txt29
1 files changed, 18 insertions, 11 deletions
diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt
index c2c979430..0a6304c8d 100644
--- a/npc/re/quests/pile_bunker.txt
+++ b/npc/re/quests/pile_bunker.txt
@@ -3,16 +3,27 @@
//===== By: ==================================================
//= JayPee Mateo
//===== Current Version: =====================================
-//= 2.1
+//= 2.2
//===== Compatible With: =====================================
//= Hercules
//===== 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]
+//= 2.2 Updated to match the official script. [Euphy]
//============================================================
yuno,179,174,4 script Gomer 851,{
+ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ mes "[Gomer]";
+ mes "You are carrying so much. Drop off some of your luggage and come back to me.";
+ close;
+ }
+ if (countitem(1549)) {
+ mes "[Gomer]";
+ mes "So how's that Pilebuncker working out for you?";
+ close;
+ }
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.";
@@ -73,11 +84,7 @@ yuno,179,174,4 script Gomer 851,{
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) {
+ if (countitem(999) < 200 || countitem(7325) < 30 || countitem(1415) < 1) {
mes "[Gomer]";
mes "You haven't brought all of the materials that I asked for.";
next;
@@ -104,11 +111,11 @@ yuno,179,174,4 script Gomer 851,{
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]
+ delitem 999,50; //Steel
+ delitem 7325,30; //Tube
+ delitem 1415,1; //Skewer
+ getitem 1549,1; //Pilebuncker
+ getitem 1360,1; //Two_Handed_Axe
close;
}
}