- Added Falcon Flute Trader NPC.
- Added Falcon Flute to db/pre-re/item_db.txt, db/re/item_db.txt and item_db.sql. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16095 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -5196,6 +5196,7 @@
|
||||
12771,Passion_Hat_Box2,Passion Hat Box2,2,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
|
||||
12772,Cool_Hat_Box2,Cool Hat Box2,2,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
|
||||
12773,Victory_Hat_Box2,Victory Hat Box2,2,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
|
||||
12848,Falcon_Flute,Falcon Flute,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if (getskilllv(127)) { if (checkoption(Option_Wug) || checkoption(Option_Wugrider)) end; if (checkfalcon() == 1) { setfalcon 0; } else { setfalcon 1; } } },{},{}
|
||||
12900,Battle_Manual_Box,Battle Manual Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12208,10; },{},{}
|
||||
12901,Insurance_Package,Insurance Package,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12209,10; },{},{}
|
||||
12902,Bubble_Gum_Box,Bubble Gum Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12210,10; },{},{}
|
||||
|
||||
@@ -5732,6 +5732,7 @@
|
||||
//
|
||||
12775,Ancient_Spirit_Amulet,Ancient Spirit Amulet,2,20,,600,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
|
||||
//
|
||||
12848,Falcon_Flute,Falcon Flute,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if (getskilllv(127)) { if (checkoption(Option_Wug) || checkoption(Option_Wugrider)) end; if (checkfalcon() == 1) { setfalcon 0; } else { setfalcon 1; } } },{},{}
|
||||
12900,Battle_Manual_Box,Battle Manual Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12208,10; },{},{}
|
||||
12901,Insurance_Package,Insurance Package,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12209,10; },{},{}
|
||||
12902,Bubble_Gum_Box,Bubble Gum Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 12210,10; },{},{}
|
||||
|
||||
107
npc/merchants/falcon_flute.txt
Normal file
107
npc/merchants/falcon_flute.txt
Normal file
@@ -0,0 +1,107 @@
|
||||
//===== rAthena Script =======================================
|
||||
//= Falcon Flute Trader
|
||||
//===== By: ==================================================
|
||||
//= Masao
|
||||
//= Credits to Muad_Dib for the translation.
|
||||
//===== Current Version: =====================================
|
||||
//= 1.0
|
||||
//===== Compatible With: =====================================
|
||||
//= rAthena
|
||||
//===== Description: =========================================
|
||||
//= An NPC which sells you an Falcon Flute so you're able to
|
||||
//= summon an Falcon wherever you are.
|
||||
//===== Additional Comments: =================================
|
||||
//= 1.0 First Version. [Masao]
|
||||
//============================================================
|
||||
|
||||
- script Falcon Flute Trader#fft1::fflute 51,{
|
||||
|
||||
if (Class == Job_Hunter || Class == Job_Sniper || Class == Job_Ranger || Class == Job_Ranger_T) {
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Do you need a Falcon?";
|
||||
mes "With a magical Flute, you can call your Falcon from anywhere!";
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "It's marvelous, isn't it? Ha ha ha!";
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Why I'm selling these Falcon Flutes?";
|
||||
mes "It's because I have no clue how they work.";
|
||||
mes "Ha ha ha!";
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Of course, you'll need the Skill ^ff0000Falcon Mastery^000000.";
|
||||
mes "I don't have the Skill, so I don't know how to handle Falcons.";
|
||||
mes "As it's for now, I may never have a Falcon.";
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "But I can't give you one for free!";
|
||||
mes "I have to make money since i also need to eat!";
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "If you need a Falcon Flute I will sell them for 12,500 zeny. Or is that too expensive?";
|
||||
next;
|
||||
if (Class == Job_Hunter || Class == Job_Sniper) {
|
||||
switch (select("Don't buy one:Buy a Falcon Flute")) {
|
||||
case 1:
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "That's too bad. If you need one, come back!";
|
||||
close;
|
||||
case 2:
|
||||
if (Zeny >= 12500) {
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Here, take this Flute.";
|
||||
mes "With it you can whistle for your Falcon from anywhere.";
|
||||
set Zeny, Zeny - 12500;
|
||||
getitem 12848,1; // Falcon Flute
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Just a reminder.";
|
||||
mes "You need the Skill ^ff0000Falcon Mastery^000000 in order to use it!";
|
||||
close;
|
||||
}
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "I'm sorry but you don't have enough money to buy a Falcon Flute, please come back when you have more money!";
|
||||
close;
|
||||
}
|
||||
}
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "For Rangers however, I have a special Price of 10,000 zeny!";
|
||||
next;
|
||||
switch (select("Don't buy one:Buy a Falcon flute")) {
|
||||
case 1:
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "That's too bad. If you need one, come back!";
|
||||
close;
|
||||
case 2:
|
||||
if (Zeny >= 10000) {
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Here take this Flute.";
|
||||
mes "With it you can whistle for your Falcon from anywhere.";
|
||||
set Zeny, Zeny - 10000;
|
||||
getitem 12848,1; // Falcon Flute
|
||||
next;
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Just a reminder.";
|
||||
mes "You need the Skill ^ff0000Falcon Mastery^000000 in order to use it!";
|
||||
close;
|
||||
}
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "I'm sorry but you don't have enough money to buy a Falcon Flute, please come back when you have more money!";
|
||||
close;
|
||||
}
|
||||
}
|
||||
if (Class == Job_Archer){
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Hello young one!";
|
||||
mes "Currently i can't help you,";
|
||||
mes "but why don't you return to me when you've become an great Hunter and learned how to handle Falcons properly?";
|
||||
close;
|
||||
}
|
||||
mes "[Falcon Flute Trader]";
|
||||
mes "Isn't it a beautiful Day today?";
|
||||
close;
|
||||
}
|
||||
|
||||
hu_in01,386,306,3 duplicate(fflute) Falcon Flute Trader#fft2 51
|
||||
pay_arche,91,134,3 duplicate(fflute) Falcon Flute Trader#fft3 51
|
||||
@@ -63,6 +63,7 @@ npc: npc/merchants/buying_shops.txt
|
||||
npc: npc/merchants/3rd_trader.txt
|
||||
npc: npc/merchants/diamond.txt
|
||||
npc: npc/merchants/cashheadgear_dye.txt
|
||||
npc: npc/merchants/falcon_flute.txt
|
||||
// --------------------------------------------------------------
|
||||
// ------------------------- Cash Shop --------------------------
|
||||
// See file before enabling, as you may wish to change the
|
||||
|
||||
@@ -5756,6 +5756,7 @@ REPLACE INTO `item_db` VALUES (12773,'Victory_Hat_Box2','Victory Hat Box2',2,0,N
|
||||
#
|
||||
REPLACE INTO `item_db` VALUES (12775,'Ancient_Spirit_Amulet','Ancient Spirit Amulet',2,20,NULL,600,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
#
|
||||
REPLACE INTO `item_db` VALUES (12848,'Falcon_Flute','Falcon Flute',11,0,NULL,10,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'if (getskilllv(127)) { if (checkoption(Option_Wug) || checkoption(Option_Wugrider)) end; if (checkfalcon() == 1) { setfalcon 0; } else { setfalcon 1; } }',NULL,NULL);
|
||||
REPLACE INTO `item_db` VALUES (12900,'Battle_Manual_Box','Battle Manual Box',18,20,NULL,10,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem 12208,10;',NULL,NULL);
|
||||
REPLACE INTO `item_db` VALUES (12901,'Insurance_Package','Insurance Package',18,20,NULL,10,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem 12209,10;',NULL,NULL);
|
||||
REPLACE INTO `item_db` VALUES (12902,'Bubble_Gum_Box','Bubble Gum Box',18,20,NULL,10,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'getitem 12210,10;',NULL,NULL);
|
||||
|
||||
Reference in New Issue
Block a user