summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNasedo <Nasedo@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 02:37:35 +0000
committerNasedo <Nasedo@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 02:37:35 +0000
commitbb9c16c88e28f00b8dc48c3b0b6b279c61b8f1b0 (patch)
treeff2d0df3acba71aa7d9f09ee69ac101de6a65be3
parent77353f1b32c2fa30466f5223600ea12184e383e1 (diff)
downloadhercules-bb9c16c88e28f00b8dc48c3b0b6b279c61b8f1b0.tar.gz
hercules-bb9c16c88e28f00b8dc48c3b0b6b279c61b8f1b0.tar.bz2
hercules-bb9c16c88e28f00b8dc48c3b0b6b279c61b8f1b0.tar.xz
hercules-bb9c16c88e28f00b8dc48c3b0b6b279c61b8f1b0.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@145 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/other/breeder.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/npc/other/breeder.txt b/npc/other/breeder.txt
new file mode 100644
index 000000000..86cb9aa99
--- /dev/null
+++ b/npc/other/breeder.txt
@@ -0,0 +1,65 @@
+prontera.gat,122,200,1 script Universal Rental Npc 726,{
+mes "[Universal Rental Npc]";
+mes "Hi, here you can rent Carts, Falcons or Pecopecos.";
+next;
+L_Menu:
+menu "Rent a Cart",L_Cart,"Rent a Falcon",L_Falcon,"Rent a Pecopeco",L_Peco,"Quit",L_Quit;
+close;
+L_Cart:
+if(Class == 5 && checkcart(0) == 0) goto L_Cart_Ok;
+if(Class == 10 && checkcart(0) == 0) goto L_Cart_Ok;
+if(Class == 18 && checkcart(0) == 0) goto L_Cart_Ok;
+if(Class == 4006 && checkcart(0) == 0) goto L_Cart_Ok;
+if(Class == 4011 && checkcart(0) == 0) goto L_Cart_Ok;
+if(Class == 4019 && checkcart(0) == 0) goto L_Cart_Ok;
+if(getskilllv(39)<1) goto L_Need_Skill;
+mes "[Universal Rental Npc]";
+mes "Sorry " + strcharinfo(0) + " but I only rent carts to Merchants, Blacksmiths and Alchimists who have enough skills to handle a cart.";
+close;
+L_Cart_Ok:
+ setcart;
+ goto L_Quit2;
+L_Need_Skill:
+mes "[Universal Rental Npc]";
+mes "Sorry you don't have the required skill to rent a cart.";
+close;
+L_Falcon:
+ if(Class == 11 && checkfalcon(0) == 0) goto L_falc;
+ if(Class == 4012 && checkfalcon(0) == 0) goto L_falc;
+ if(getskilllv(127)<1) goto L_Need_Skill2;
+ mes "[Universal Rental Npc]";
+ mes "Sorry " + strcharinfo(0) + " but I only rent falcons to Hunters who the ability to handle 'em.";
+ close;
+ L_falc:
+setfalcon;
+goto L_Quit2;
+
+L_Need_Skill2:
+mes "[Universal Rental Npc]";
+mes "Sorry you don't have the required skill to tame a Falcon.";
+close;
+L_Peco:
+if (Class == 7 && checkriding(0) == 0) goto L_Peco_Ok;
+if (Class == 14 && checkriding(0) == 0) goto L_Peco_Ok;
+if (Class == 4008 && checkriding(0) == 0) goto L_Peco_Ok;
+if (Class == 4015 && checkriding(0) == 0) goto L_Peco_Ok;
+if(getskilllv(63)<1) goto L_Need_Skill3;
+mes "[Universal Rental Npc]";
+mes "Sorry" + strcharinfo(0) + "but I only rent pecopecos to Knights and Crusaders who can harness them.";
+close;
+L_Peco_Ok:
+setriding;
+goto L_Quit2;
+L_Need_Skill3:
+mes "[Universal Rental Npc]";
+mes "Sorry you don't have the required skill to ride a Peco Peco.";
+close;
+L_Quit:
+mes "[Universal Rental Npc]";
+mes strcharinfo(0) + ", please come back when you are ready to rent something.";
+close;
+L_Quit2:
+mes "[Universal Rental Npc]";
+mes strcharinfo(0) + ", please come again when you want another...";
+close;
+} \ No newline at end of file