sphinx_mask.txt 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //===== eAthena Script =======================================
  2. //= Sphinx Mask Quest (custom)
  3. //===== By: ==================================================
  4. //= sabernet09 & eAthena Team
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  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. //===========================================================================
  15. morocc,140,156,5 script Turban Thief 58,{
  16. if(event_umbala < 2) goto AWAY;
  17. if(sphmask_q) goto NoBus;
  18. mes "[Turban Thief]";
  19. mes "E'llo mah frien, would I interesst tu with this rare mask? Its value I assure you is real mah frien. Tis manific!";
  20. next;
  21. mes "[Turban Thief]";
  22. 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?";
  23. next;
  24. menu "Pay 1,000,000z",-,"No deal",NoGo;
  25. if(Zeny < 1000000) goto NotEnough;
  26. set Zeny,Zeny-1000000;
  27. mes "[Turban Thief]";
  28. mes "O ho ho, its a deal then!";
  29. getitem 7114,1;//Items: Sphinx Mask,
  30. set sphmask_q,1;
  31. close;
  32. NoGo:
  33. mes "[Turban Thief]";
  34. mes "Ahh a business man are you no? Fine, how about...";
  35. next;
  36. menu "Pay 750,000",-,"Nope lower",NoGoB;
  37. if(Zeny < 750000) goto NotEnough;
  38. set Zeny,Zeny-750000;
  39. mes "[Turban Thief]";
  40. mes "It is a done deal, no refunds!";
  41. getitem 7114,1;//Items: Sphinx Mask,
  42. set sphmask_q,1;
  43. close;
  44. NoGoB:
  45. mes "[Turban Thief]";
  46. mes "Hmmm... you drive a hard bargain, ok... my final offer...";
  47. next;
  48. menu "Pay 500,000",-,"It can go lower than that.",NoGoC;
  49. if(Zeny < 500000) goto NotEnough;
  50. set Zeny,Zeny-500000;
  51. mes "[Turban Thief]";
  52. mes "Alright, here you go then...";
  53. getitem 7114,1;//Items: Sphinx Mask,
  54. set sphmask_q,1;
  55. close;
  56. NoGoC:
  57. next;
  58. mes "[Turban Thief]";
  59. mes "Ack! Forgez it! I can do bettaz en elsez where!";
  60. set sphmask_q,1;
  61. close;
  62. NoBus:
  63. mes "[Turban Thief]";
  64. mes "You have no more business with me, go away!";
  65. close;
  66. AWAY:
  67. mes "[Turban Thief]";
  68. mes "What do you wan te withz me? Be gone!";
  69. close;
  70. NotEnough:
  71. mes "[Turban Thief]";
  72. mes "Are youz playin wit me? You don't have ze money!";
  73. close;
  74. }