breeder.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. prontera.gat,122,200,1 script Universal Rental Npc 726,{
  2. mes "[Universal Rental Npc]";
  3. mes "Hi, here you can rent Carts, Falcons or Pecopecos.";
  4. next;
  5. L_Menu:
  6. menu "Rent a Cart",L_Cart,"Rent a Falcon",L_Falcon,"Rent a Pecopeco",L_Peco,"Quit",L_Quit;
  7. close;
  8. L_Cart:
  9. if(Class == 5 && checkcart(0) == 0) goto L_Cart_Ok;
  10. if(Class == 10 && checkcart(0) == 0) goto L_Cart_Ok;
  11. if(Class == 18 && checkcart(0) == 0) goto L_Cart_Ok;
  12. if(Class == 4006 && checkcart(0) == 0) goto L_Cart_Ok;
  13. if(Class == 4011 && checkcart(0) == 0) goto L_Cart_Ok;
  14. if(Class == 4019 && checkcart(0) == 0) goto L_Cart_Ok;
  15. if(getskilllv(39)<1) goto L_Need_Skill;
  16. mes "[Universal Rental Npc]";
  17. mes "Sorry " + strcharinfo(0) + " but I only rent carts to Merchants, Blacksmiths and Alchimists who have enough skills to handle a cart.";
  18. close;
  19. L_Cart_Ok:
  20. setcart;
  21. goto L_Quit2;
  22. L_Need_Skill:
  23. mes "[Universal Rental Npc]";
  24. mes "Sorry you don't have the required skill to rent a cart.";
  25. close;
  26. L_Falcon:
  27. if(Class == 11 && checkfalcon(0) == 0) goto L_falc;
  28. if(Class == 4012 && checkfalcon(0) == 0) goto L_falc;
  29. if(getskilllv(127)<1) goto L_Need_Skill2;
  30. mes "[Universal Rental Npc]";
  31. mes "Sorry " + strcharinfo(0) + " but I only rent falcons to Hunters who the ability to handle 'em.";
  32. close;
  33. L_falc:
  34. setfalcon;
  35. goto L_Quit2;
  36. L_Need_Skill2:
  37. mes "[Universal Rental Npc]";
  38. mes "Sorry you don't have the required skill to tame a Falcon.";
  39. close;
  40. L_Peco:
  41. if (Class == 7 && checkriding(0) == 0) goto L_Peco_Ok;
  42. if (Class == 14 && checkriding(0) == 0) goto L_Peco_Ok;
  43. if (Class == 4008 && checkriding(0) == 0) goto L_Peco_Ok;
  44. if (Class == 4015 && checkriding(0) == 0) goto L_Peco_Ok;
  45. if(getskilllv(63)<1) goto L_Need_Skill3;
  46. mes "[Universal Rental Npc]";
  47. mes "Sorry" + strcharinfo(0) + "but I only rent pecopecos to Knights and Crusaders who can harness them.";
  48. close;
  49. L_Peco_Ok:
  50. setriding;
  51. goto L_Quit2;
  52. L_Need_Skill3:
  53. mes "[Universal Rental Npc]";
  54. mes "Sorry you don't have the required skill to ride a Peco Peco.";
  55. close;
  56. L_Quit:
  57. mes "[Universal Rental Npc]";
  58. mes strcharinfo(0) + ", please come back when you are ready to rent something.";
  59. close;
  60. L_Quit2:
  61. mes "[Universal Rental Npc]";
  62. mes strcharinfo(0) + ", please come again when you want another...";
  63. close;
  64. }