sphinx_mask.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. //===== rAthena Script =======================================
  2. //= Sphinx Mask Quest (custom)
  3. //===== By: ==================================================
  4. //= sabernet09
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= this quest is related to Umbalian Chief
  11. //= 1.1 Removed it from official Umbala quests [Lupus]
  12. //= 1.2 Added a missing variable (sphmask_q) [erKURITA]
  13. //============================================================
  14. morocc,140,156,5 script Turban Thief 58,{
  15. if(event_umbala < 2) goto AWAY;
  16. if(sphmask_q) goto NoBus;
  17. mes "[Turban Thief]";
  18. mes "E'llo mah frien, would I interesst tu with this rare mask? Its value I assure you is real mah frien. Tis manific!";
  19. next;
  20. mes "[Turban Thief]";
  21. mes "Wah? O ho ho ho, so you know thaz I steal dis from those savages no? Well I won'tz give it back. But I will for a pricez... wat you say?";
  22. next;
  23. menu "Pay 1,000,000z",-,"No deal",NoGo;
  24. if(Zeny < 1000000) goto NotEnough;
  25. set Zeny,Zeny-1000000;
  26. mes "[Turban Thief]";
  27. mes "O ho ho, its a deal then!";
  28. getitem 7114,1;//Items: Sphinx Mask,
  29. set sphmask_q,1;
  30. close;
  31. NoGo:
  32. mes "[Turban Thief]";
  33. mes "Ahh a business man are you no? Fine, how about...";
  34. next;
  35. menu "Pay 750,000",-,"Nope lower",NoGoB;
  36. if(Zeny < 750000) goto NotEnough;
  37. set Zeny,Zeny-750000;
  38. mes "[Turban Thief]";
  39. mes "It is a done deal, no refunds!";
  40. getitem 7114,1;//Items: Sphinx Mask,
  41. set sphmask_q,1;
  42. close;
  43. NoGoB:
  44. mes "[Turban Thief]";
  45. mes "Hmmm... you drive a hard bargain, ok... my final offer...";
  46. next;
  47. menu "Pay 500,000",-,"It can go lower than that.",NoGoC;
  48. if(Zeny < 500000) goto NotEnough;
  49. set Zeny,Zeny-500000;
  50. mes "[Turban Thief]";
  51. mes "Alright, here you go then...";
  52. getitem 7114,1;//Items: Sphinx Mask,
  53. set sphmask_q,1;
  54. close;
  55. NoGoC:
  56. next;
  57. mes "[Turban Thief]";
  58. mes "Ack! Forgez it! I can do bettaz en elsez where!";
  59. set sphmask_q,1;
  60. close;
  61. NoBus:
  62. mes "[Turban Thief]";
  63. mes "You have no more business with me, go away!";
  64. close;
  65. AWAY:
  66. mes "[Turban Thief]";
  67. mes "What do you wan te withz me? Be gone!";
  68. close;
  69. NotEnough:
  70. mes "[Turban Thief]";
  71. mes "Are youz playin wit me? You don't have ze money!";
  72. close;
  73. }