summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-25 06:39:47 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-25 06:39:47 +0000
commit88bc9b73bd51917177338cd99db54bb7ea0a5b2a (patch)
tree2e5aa9d5f94abd8cf4cc4764ea155b972518dac5 /npc/merchants
parentdce258e74c03bf55c537ef364c429188a66f49c5 (diff)
downloadhercules-88bc9b73bd51917177338cd99db54bb7ea0a5b2a.tar.gz
hercules-88bc9b73bd51917177338cd99db54bb7ea0a5b2a.tar.bz2
hercules-88bc9b73bd51917177338cd99db54bb7ea0a5b2a.tar.xz
hercules-88bc9b73bd51917177338cd99db54bb7ea0a5b2a.zip
added Thanks to Au{R}oN + some lighthalzen NPC
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8854 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/shuriken_maker.txt157
1 files changed, 157 insertions, 0 deletions
diff --git a/npc/merchants/shuriken_maker.txt b/npc/merchants/shuriken_maker.txt
new file mode 100644
index 000000000..09882cfb3
--- /dev/null
+++ b/npc/merchants/shuriken_maker.txt
@@ -0,0 +1,157 @@
+//===== eAthena Script ========================================
+//= Shuriken Blacksmith
+//===== By: ==================================================
+//= Au{R}oN
+//===== Current Version: =====================================
+//= 1.2
+//===== Compatible With: =====================================
+//= eAthena 1.0+
+//===== Description: =========================================
+//= Shuriken Weapon Maker.
+//===== Additional Comments: =================================
+//= Converted from Aegis
+//= 1.0 Added the 4 Shuriken. [Au{R}oN]
+//= 1.1 Fix getitem bugs and add if ninja job check. [Au{R}oN]
+//= 1.2 more bugs fixed,wrong labels, missing stuf, etc[Lupus]
+//============================================================
+
+que_ng.gat,22,62,3 script Taitsu 709,{
+
+ mes "[Taitsu]";
+ if(Class!=Job_Ninja){
+ mes "Sorry, buy I can use my ability only for Ninja Class.";
+ close;
+ }
+ mes "Hello";
+ mes "I'm Taitsu, the Blacksmith of Fuuma Ninja.";
+ next;
+ mes "[Taitsu]";
+ mes "Due to a burst of interest, my life became very miserable.";
+ mes "So, I'm taking everything from the beginning, but haven't made weapon in a long time...";
+ next;
+ mes "[Taitsu]";
+ mes "However, in terms of making Fuuma weapons, no one can make them any better then mine.";
+ mes "Here, take a look.";
+ next;
+ menu "Fuuma Shuriken Beneki",M_BENEKI,"Fuuma Shuriken Daisharin",M_DAIS,
+ "Fuuma Shuriken Daisharin [4]",M_DAIS4,"Fuuma Shuriken Rekka",M_REKKA;
+
+//=====================BENEKI========================
+M_BENEKI:
+ mes "[Taitsu]";
+ mes "You want make ^FF0000Fuuma Shuriken Beneki^000000";
+ mes "Fuuma Shuriken Beneki needs:";
+ mes "50 Steel, 20 Harpy's Feathers, 5 Oridecon, and 90.000z.";
+ mes "Do you want me to make it?";
+ next;
+ menu "Yes",-,"No Thanks",M_NOPE;
+
+ mes "[Taitsu]";
+ mes "So let me check for your items...";
+ set @z,90000;
+ if(Zeny < @z) goto L_NOZENY;
+ if(countitem(999)<50 || countitem(7115)<20 || countitem(984)<5) goto L_NOITEMS;
+ set Zeny,Zeny-@z;
+ delitem 999,50;
+ delitem 7115,20;
+ delitem 984,5;
+ next;
+ getitem 13300,1;
+ mes "[Taitsu]";
+ mes "Ok, enjoy with your new weapon.";
+ close;
+
+//=====================DAISHARIN========================
+M_DAIS:
+ mes "[Taitsu]";
+ mes "You want make ^FF0000Fuuma Shuriken Daisharin^000000";
+ mes "Fuuma Shuriken Daisharin needs:";
+ mes "30 Steel, 100 Tassels, 2 Oridecon, and 40.000z.";
+ mes "Do you want me to make it?";
+ next;
+ menu "Yes",-,"No Thanks",M_NOPE;
+
+ mes "[Taitsu]";
+ mes "So let me check for your items...";
+ set @z,40000;
+ if(Zeny < @z) goto L_NOZENY;
+ if(countitem(999)<30 || countitem(7301)<100 || countitem(984)<2) goto L_NOITEMS;
+ set Zeny,Zeny-@z;
+ delitem 999,30;
+ delitem 7301,100;
+ delitem 984,2;
+ next;
+ getitem 13301,1;
+ mes "[Taitsu]";
+ mes "Ok, enjoy with your new weapon.";
+ close;
+
+//=====================DAISHARIN4========================
+M_DAIS:
+ mes "[Taitsu]";
+ mes "You want make ^FF0000Fuuma Shuriken Daisharin[4]^000000";
+ mes "Fuuma Shuriken Daisharin[4] needs:";
+ mes "20 Cracked Diamonds, 1 Fuuma Shuriken Daisharin, 2 Oridecon, and 40.000z.";
+ mes "Do you want me to make it?";
+ next;
+ menu "Yes",-,"No Thanks",M_NOPE;
+
+ mes "[Taitsu]";
+ mes "So let me check for your items...";
+ set @z,40000;
+ if(Zeny < @z) goto L_NOZENY;
+ if(countitem(733)<20 || countitem(13301)<1 || countitem(984)<3) goto L_NOITEMS;
+ set Zeny,Zeny-@z;
+ delitem 733,20;
+ delitem 13301,1;
+ delitem 984,3;
+ next;
+ getitem 13302,1;
+ mes "[Taitsu]";
+ mes "Ok, enjoy with your new weapon.";
+ close;
+
+//=====================REKKA========================
+M_REKKA:
+ mes "[Taitsu]";
+ mes "You want make ^FF0000Fuuma Shuriken Rekka^000000";
+ mes "Fuuma Shuriken Rekka needs:";
+ mes "50 Steel, 100 Live Coal, 2 Oridecon, 50 Burning Stone and 78.000z.";
+ mes "Do you want me to make it?";
+ next;
+ menu "Yes",-,"No Thanks",M_NOPE;
+
+ mes "[Taitsu]";
+ mes "So let me check for your items...";
+ set @z,78000;
+ if(Zeny < @z) goto L_NOZENY;
+ if(countitem(733)<50 || countitem(7098)<100 || countitem(7097)<100 || countitem(7521)<50)) goto L_NOITEMS;
+ set Zeny,Zeny-@z;
+ delitem 733,50;
+ delitem 7098,100;
+ delitem 7097,100;
+ delitem 7521,50;
+ next;
+ getitem 13303,1;
+ mes "[Taitsu]";
+ mes "Ok, enjoy with your new weapon.";
+ close;
+
+//=====================I'M SORRY========================
+L_NOITEMS:
+ mes "[Taitsu]";
+ mes "Sorry, but you not have all required items.";
+ emotion e_sry;
+ close;
+
+L_NOZENY:
+ mes "[Taitsu]";
+ mes "I'm sorry, but you need "+@z+"z";
+ emotion e_cash;
+ close;
+
+M_NOPE:
+ mes "[Taitsu]";
+ mes "Ok came back when you want.";
+ close;
+}