akbare

daily quest

Dec 27th, 2021 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. //======Name========================================
  2. // Daily Gem Collection Quest
  3. //======Version=====================================
  4. // 1.0
  5. //======Author(s)===================================
  6. // Sandbox
  7. // Modified Akbaremonz
  8. //======Comments====================================
  9. // In loving memory of AstralRO
  10. //==================================================
  11.  
  12. prontera,127,213,5 script Daily Raid Quest 754,{
  13.  
  14. if(#TaskDelay+86400 > gettimetick(2)) goto Ltdelay;
  15. if(BaseLevel <= 50) goto noob;
  16.  
  17.  
  18. mes "[ ^000088Daily Raid Quest^000000 ]";
  19. mes "Greetings, ^008800"+strcharinfo(0)+"^000000. I am the renowned gem collector, ^880000De Luca^000000! I have gathered all of the birthstones available in Rune Midgard!";
  20. next;
  21. mes "[ ^000088Daily Raid Quest^000000 ]";
  22. mes "I need to collect more of them, If you help me, I will give you something to compensate your endeavor.";
  23. next;
  24.  
  25. mes "[ ^000088Daily Raid Quest^000000 ]";
  26. if (checkquest(80002) == -1) {
  27. setquest 80002;
  28. }
  29. mes "You are in part (^FF0000"+(#dtq+1)+"^000000/4) of this daily task, this is the gem that you'll need to acquire: ^880000";
  30. if(#dtq == 0) mes "Tassel (600)";
  31. else if(#dtq == 1) mes "Straw Basket (600)";
  32. else if(#dtq == 2) mes "Huge Leaf (600)";
  33. else if(#dtq == 3) mes "Munak Doll (600)";
  34. mes "^000000";
  35. next;
  36. mes "[ ^000088Daily Raid Quest^000000 ]";
  37. mes "For every task you finish, I will reward you 1 ^0000FFRaid Ticket^000000 depending on my mood!";
  38. menu "Gem on!",-,"I have the gems already!",Lgotit;
  39. close;
  40.  
  41. Lgotit:
  42. next;
  43. if(#dtq == 0 && countitem(7301) < 600) goto Lnenough;
  44. else if(#dtq == 1 && countitem(7299) < 600) goto Lnenough;
  45. else if(#dtq == 2 && countitem(7198) < 600) goto Lnenough;
  46. else if(#dtq == 3 && countitem(7277) < 600) goto Lnenough;
  47. mes "[ ^000088Daily Raid Quest^000000 ]";
  48. mes "Thank you, this will be kept in my trunk full of gemstones! Bahahahaha.";
  49. if(#dtq == 0) delitem 7301,600;
  50. else if(#dtq == 1) delitem 7299,600;
  51. else if(#dtq == 2) delitem 7198,600;
  52. else if(#dtq == 3) delitem 7277,600;
  53.  
  54. getitem 51014,1; //Edit to the reward that you would be giving
  55. set #dtq,#dtq+1;
  56. if(#dtq == 4)
  57. { set #dtq,0;
  58. set #TaskDelay,gettimetick(2);
  59. erasequest 80002;
  60. }
  61. close;
  62.  
  63.  
  64. Lnenough:
  65. mes "[ ^000088Daily Raid Quest^000000 ]";
  66. mes "This monocle never fails to tell me if someone's deceiving me.";
  67. close;
  68.  
  69. Ltdelay:
  70. mes "[ ^000088Daily Raid Quest^000000 ]";
  71. mes "I don't need any gems for now, come back again tomorrow.";
  72. close;
  73.  
  74. noob:
  75. mes "Need level 50";
  76. close;
  77. }
Add Comment
Please, Sign In to add comment