summaryrefslogtreecommitdiff
path: root/npc/re/quests/pile_bunker.txt
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
commit31825ccc2dde034a218d9ad466dd721c40b5651d (patch)
tree961b976e45988f7f7158d33b3f11a18688f34b1f /npc/re/quests/pile_bunker.txt
parent22c75b070526de8b103032f5bf13504af81e0095 (diff)
downloadhercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.gz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.bz2
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.xz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.zip
Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them.
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/re/quests/pile_bunker.txt')
-rw-r--r--npc/re/quests/pile_bunker.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt
new file mode 100644
index 000000000..6f8d5ae54
--- /dev/null
+++ b/npc/re/quests/pile_bunker.txt
@@ -0,0 +1,59 @@
+//===== rAthena Script =======================================
+//= Pile Bunker Quest
+//===== By: ==================================================
+//= JayPee Mateo
+//===== Current Version: =====================================
+//= 2.0
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= 1.0 A Pile Bunker quest based on iRO WiKi. [JayPee Mateo]
+//= iRO WiKi Link: http://irowiki.org/wiki/Pile_Bunker_quest
+//= 2.0 Rewrited the Script a little so it looks a bit better. [Masao]
+//============================================================
+
+yuno,179,174,5 script Gomer 813,{
+
+ if(Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic){
+ mes "[Gomer]";
+ mes "Hello "+strcharinfo(0)+",";
+ mes "My name is Gomer and i can create Pile Bunkers for you if you bring me the required Items i need.";
+ next;
+ switch(select("Required items for Pile Bunker?:I brought the materials!")){
+ case 1:
+ mes "[Gomer]";
+ mes "These are the required Items:";
+ mes "1x Brocca";
+ mes "200x Steel";
+ mes "30x Flexible Tube";
+ close;
+ case 2:
+ if(countitem(1415) < 1 || countitem(999) < 200 || countitem(7325) < 30){
+ mes "[Gomer]";
+ mes "You dont have all the required items. Just talk to me when you have all the requirements.";
+ close;
+ }
+ mes "[Gomer]";
+ mes "Great you brought me all the materials i needed!";
+ next;
+ delitem 1415,1; // Brocca
+ delitem 999,50; // Steel
+ delitem 7325,30; // Flexible Tube
+ getitem 1549,1; // Pile Bunker
+ getitem 1360,1; // Two-Handed Axe
+ mes "[Gomer]";
+ mes "So please, take this Pile Bunker and this Two-Handed Axe i made for you.";
+ mes "If you need an new Pile Bunker just come and visit me again!";
+ close;
+ }
+ }
+ if(BaseJob == Merchant){
+ mes "[Gomer]";
+ mes "I'm sorry young one, but you do not seem ready yet to use the Pile Bunker.";
+ mes "Come back when you've grown in strength!";
+ close;
+ }
+ mes "[Gomer]";
+ mes "Isn't it a beautiful Day today?";
+ close;
+}