summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-14 12:40:15 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-14 12:40:15 +0000
commitf989edbc2eef439d33e19c890566ff96b2a941c4 (patch)
treec6a90c08b818f7d1132e2260e957d70ab8228f65 /npc
parent725ec02b01ed0dbc2f2ae50139b0d56d7bedb7a2 (diff)
downloadhercules-f989edbc2eef439d33e19c890566ff96b2a941c4.tar.gz
hercules-f989edbc2eef439d33e19c890566ff96b2a941c4.tar.bz2
hercules-f989edbc2eef439d33e19c890566ff96b2a941c4.tar.xz
hercules-f989edbc2eef439d33e19c890566ff96b2a941c4.zip
- Added Pile Bunker Quest. bugreport:5397
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16112 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/pile_bunker.txt53
-rw-r--r--npc/scripts_athena.conf1
2 files changed, 54 insertions, 0 deletions
diff --git a/npc/quests/pile_bunker.txt b/npc/quests/pile_bunker.txt
new file mode 100644
index 000000000..242260352
--- /dev/null
+++ b/npc/quests/pile_bunker.txt
@@ -0,0 +1,53 @@
+//===== 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 bought the materials")){
+ case 1:
+ mes "[Gomer]";
+ mes "These are the required Items:";
+ mes "1x Brocca";
+ mes "50x Steel";
+ mes "30x Flexible Tube";
+ close;
+ case 2:
+ if(countitem(1415)<1 || countitem(999)<50 || 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 the Pile Bunker and the Two-Handed Axe i made for you.";
+ mes "If you need an new Pile Bunker just come and visit me again!";
+ close;
+ }
+ }
+ mes "[Gomer]";
+ mes "Isn't it a beautiful Day today?";
+ close;
+} \ No newline at end of file
diff --git a/npc/scripts_athena.conf b/npc/scripts_athena.conf
index 4f41d7eef..76f6bc683 100644
--- a/npc/scripts_athena.conf
+++ b/npc/scripts_athena.conf
@@ -84,6 +84,7 @@ npc: npc/airports/yuno.txt
// ------------------------- RE - Quests ------------------------
// npc: npc/quests/cupet.txt
npc: npc/quests/magic_books.txt
+npc: npc/quests/pile_bunker.txt
// --------------------------------------------------------------
// --------------------------- Quests ---------------------------