homu_s.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. //===== rAthena Script =======================================
  2. //= Homunculus S Quest
  3. //===== By: ==================================================
  4. //= Masao
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= Evolves an Homunculus which is at least Level 99 to the
  11. //= new Homunculus S Class.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First Version. The actual changing dialog is currently
  14. //= customized. [Masao]
  15. //= 1.1 Cleaning. [Euphy]
  16. //============================================================
  17. job3_gen01,12,44,4 script Viorel#job3_gen01 542,{
  18. if((Class != Job_Genetic) && (Class != Job_Genetic_T) && (Class != Job_Baby_Genetic)){
  19. mes "[Viorel]";
  20. mes "^FF4800Homunculus^000000 research requires a lot of time and funding.";
  21. mes "However, I believe passion is the most important factor.";
  22. next;
  23. switch(select("End conversation.:What are you talking about?:Why are you always standing there?")) {
  24. case 1:
  25. mes "[Viorel]";
  26. mes "So long~!";
  27. close;
  28. case 2:
  29. mes "[Viorel]";
  30. mes "You see, ^006400Alchemists^000000 have an inquisitive nature.";
  31. mes "People like me, especially, even think of creating life itself.";
  32. next;
  33. mes "[Viorel]";
  34. mes "You'd have to research ^FF4800Homunculus^000000 to understand.";
  35. mes "Now, if you'll excuse me~!";
  36. close;
  37. case 3:
  38. emotion 4,0;
  39. mes "[Viorel]";
  40. mes "What, is it so strange to see an Alchemist in their own lab?";
  41. mes "How so?";
  42. close;
  43. }
  44. }
  45. mes "[Viorel]";
  46. mes "Hello "+strcharinfo(0)+",";
  47. mes "what can I do for a fellow Alchemist like you?";
  48. next;
  49. switch(select("I want to evolve my Homunculus:About Homunculus S:Cancel")){
  50. case 1:
  51. mes "[Viorel]";
  52. if(!getskilllv("AM_BIOETHICS")){
  53. mes "I'm sorry, but you must know the Skill Bioethics! Otherwise I can't let your Homunculus evolve into a Homunculus S.";
  54. close;
  55. }
  56. if(!gethominfo(1)){
  57. mes "You don't even have a Homunculus!";
  58. close;
  59. }
  60. if(gethominfo(1) < 6009){
  61. mes "You must have an evolved Homunculus, or you can't turn it into the new Homunculus S.";
  62. close;
  63. }
  64. if(gethominfo(6) < 99){
  65. mes "Your Homunculus must be level 99 to evolve into a Homuculus S!";
  66. mes "Come back after you've trained your Homunculus a little bit more.";
  67. close;
  68. }
  69. if(gethominfo(1) == 6048 || gethominfo(1) == 6049 || gethominfo(1) == 6050 || gethominfo(1) == 6051 || gethominfo(1) == 6052){
  70. mes "Your Homunculus S looks great!";
  71. mes "I hope you will experience many great adventures with it!";
  72. close;
  73. }
  74. mes "Great, it seems like you're all ready to get your Homunculus to the next level!";
  75. next;
  76. mes "[Viorel]";
  77. mes "Now you can either directly change your Homunculus to a random Homunculus S or you can donate a little fee of 50,000z";
  78. mes "to the Alchemist Guild. For this you'll be able to change your Homunculus into your desired Homunculus S Class!";
  79. mes "So, what do you think?";
  80. next;
  81. switch(Select("I want to donate.:I don't want to donate.:Cancel")){
  82. case 1:
  83. if(Zeny < 50000){
  84. mes "[Viorel]";
  85. mes "Haha, nice try my friend! But you don't even have the 50,000z to donate!";
  86. mes "Come back if you have the Zeny.";
  87. close;
  88. }
  89. mes "[Viorel]";
  90. mes "Alright, now please tell me which Homunculus you'd like to have:";
  91. next;
  92. set .@i, select("Eira:Bayeri:Sera:Dieter:Elanor:Cancel");
  93. if (.@i == 6) {
  94. mes "[Viorel]";
  95. mes "So long~!";
  96. close;
  97. }
  98. case 2:
  99. mes "[Viorel]";
  100. mes "Ok, it's all set! Now just give me a moment!";
  101. next;
  102. mes "[Viorel]";
  103. mes "Abra...";
  104. next;
  105. mes "[Viorel]";
  106. mes "Kadabra...";
  107. next;
  108. mes "[Viorel]";
  109. mes "Simsala!";
  110. mes "...";
  111. mes "Oh, sorry... wrong game!";
  112. next;
  113. mes "[Viorel]";
  114. mes "Here you go! Your new Homunculus S!";
  115. if (.@i) {
  116. hommutate 6047+.@i;
  117. set Zeny,Zeny - 50000;
  118. }
  119. else hommutate;
  120. close;
  121. case 3:
  122. mes "[Viorel]";
  123. mes "So long~!";
  124. close;
  125. }
  126. case 2:
  127. mes "[Viorel]";
  128. mes "The Homunculus S are the new and improved versions of the current Homunculus you know.";
  129. mes "These new Homunculus have been made because the monsters in our world keep getting stronger and";
  130. mes "stronger, and our current Homunculus are just not able to keep up with them anymore.";
  131. next;
  132. mes "[Viorel]";
  133. mes "But since we're Alchemists and we don't want to abandon our precious Homunculus, we've discovered a way";
  134. mes "to improve their skills and strength in order to keep them by our side, and joining us once more";
  135. mes "in battle! Isn't that great?";
  136. close;
  137. case 3:
  138. mes "[Viorel]";
  139. mes "So long~!";
  140. close;
  141. }
  142. }