dye.txt 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. //===== eAthena Script =======================================
  2. //= Stylist Script
  3. //===== By: ==================================================
  4. //= eAthena Dev team
  5. //= Revised by Nekosume [pyRO v3.0]
  6. //===== Current Version: =====================================
  7. //= 4.2
  8. //===== Compatible With: =====================================
  9. //= Any eAthena Version
  10. //===== Description: =========================================
  11. //= Revised dye NPC
  12. //===== Additional Comments: =================================
  13. //= v4.2 - Renamed to avoid conflict [Paradox924X]
  14. //= v4.1 - New hairstyles added [Mass Zero]
  15. //= v4.0 - Refined and Combined [Darkchild]
  16. //= v3.0 - Added the 'Browse' options
  17. //= v2.5 - Added more hair colors
  18. //= v2.0 - Changed palette and hair style select
  19. //= v1.5 - Revised script / different dialog
  20. //= v1.0 - Split into two NPCs
  21. //============================================================
  22. //Stylist------------------------------------------------------------------------------------------------------------
  23. prontera,170,180,1 script Stylist#custom_stylist 122,{
  24. mes "[^FF8000Stylist^000000]";
  25. mes "I'm the greatest stylist in all of Rune-Midgard~~!";
  26. mes "I can change your hair style or color!";
  27. mes "What do you wish to change?";
  28. next;
  29. menu "Hair style",Lstyle,"Hair color",Lcolor,"Cloth Color",Lcloth,"Nothing",LCancel;
  30. Lstyle:
  31. mes "[^FF8000Stylist^000000]";
  32. mes "Do you want to browse through the choices, or do you know what you want?";
  33. next;
  34. menu "Browse",Lbrowsesty,"I know what I want",Lwantsty;
  35. Lwantsty:
  36. mes "[^FF8000Stylist^000000]";
  37. mes "Great! Now just pick a style and I'll get started!";
  38. next;
  39. mes "[^FF8000Stylist^000000]";
  40. mes "Please pick a style number ^0000FFbetween 0 and 23^000000.";
  41. mes "Number 0, by the way, is the default style for your character.";
  42. next;
  43. input @sty;
  44. if (@sty>23) close;
  45. if (@sty<0) close;
  46. setlook 1,@sty;
  47. next;
  48. mes "[^FF8000Stylist^000000]";
  49. mes "Is this good, or do you want a different style?";
  50. next;
  51. menu "This is good",-,"Different style, please",Lwantsty;
  52. next;
  53. mes "[^FF8000Stylist^000000]";
  54. mes "You look great~! Come back again, okay?";
  55. close;
  56. Lbrowsesty:
  57. set @look, -1;
  58. mes "[^FF8000Stylist^000000]";
  59. mes "Okay, here we go~! Just stop me when you see something you like, okay?";
  60. next;
  61. Lbrowserep:
  62. set @look,@look+1;
  63. setlook 1,@look;
  64. mes "This is Pallete Number^FF9009 "+@look+" ^000000!";
  65. if(@look == 23) menu "Back To The Begin",Lbrowsesty,"I like this one",Lstop;
  66. if(@look != 23) menu "Keep going",Lbrowserep,"I like this one",Lstop;
  67. Lcolor:
  68. mes "[^FF8000Stylist^000000]";
  69. mes "Do you want to browse through the choices, or do you know what you want?";
  70. next;
  71. menu "Browse",Lbrowsecolor,"I know what I want",Lwantcolor;
  72. Lwantcolor:
  73. mes "[^FF8000Stylist^000000]";
  74. mes "Just pick a color and we can get started.";
  75. next;
  76. mes "[^FF8000Stylist^000000]";
  77. mes "Please pick a style number ^0000FFbetween 0 and 20^000000.";
  78. mes "Number 0, by the way, is the default color for your character.";
  79. next;
  80. mes "[^FF8000Stylist^000000]";
  81. mes "0 is default...";
  82. mes "1 is blonde...";
  83. mes "2 is lavender...";
  84. mes "3 is brown...";
  85. mes "4 is green...";
  86. mes "5 is blue...";
  87. mes "6 is white...";
  88. mes "7 is black...";
  89. mes "8 is red...";
  90. mes "and 9-20 are new colors.";
  91. input @color;
  92. if (@color>20) close;
  93. if (@color<0) close;
  94. setlook 6,@color;
  95. next;
  96. mes "[^FF8000Stylist^000000]";
  97. mes "Is this good, or do you want a different color?";
  98. next;
  99. menu "This is good",-,"Different color, please",Lwantcolor;
  100. next;
  101. mes "[^FF8000Stylist^000000]";
  102. mes "You look great~! Come back again, okay?";
  103. close;
  104. Lbrowsecolor:
  105. set @look, -1;
  106. mes "[^FF8000Stylist^000000]";
  107. mes "Okay, here we go~! Just stop me when you see something you like, okay?";
  108. next;
  109. Lbrowsecolorrep:
  110. set @look,@look+1;
  111. setlook 6,@look;
  112. mes "This is Pallete Number^FF9009 "+@look+" ^000000!";
  113. if(@look == 20) menu "Back To The Begin",Lbrowsecolor,"I like this one",Lstop;
  114. if(@look != 20) menu "Keep going",Lbrowsecolorrep,"I like this one",Lstop;
  115. Lstop:
  116. mes "[^FF8000Stylist^000000]";
  117. mes "You look great~! I love it~! ^_^";
  118. close;
  119. LCancel:
  120. mes "[^FF8000Stylist^000000]";
  121. mes "Well come again.";
  122. close;
  123. Lcloth:
  124. mes "[^FF8000Stylist^000000]";
  125. mes "Do you want to browse through the choices, or do you know what you want?";
  126. next;
  127. menu "Browse",Lbrowsecloth,"I know what I want",Lwantcloth;
  128. Lwantcloth:
  129. mes "[^FF8000Stylist^000000]";
  130. mes "Great! Now just pick a pallete and I'll get started!";
  131. next;
  132. mes "[^FF8000Stylist^000000]";
  133. mes "Please pick a style number ^0000FFbetween 0 and 77^000000.";
  134. mes "Number 0, by the way, is the default style for your character.";
  135. next;
  136. input @pal;
  137. if (@pal>77) close;
  138. if (@pal<0) close;
  139. setlook 7,@pal;
  140. next;
  141. mes "[^FF8000Stylist^000000]";
  142. mes "Is this good, or do you want a different pallet";
  143. next;
  144. menu "This is good",-,"Different pallet, please",Lwantcloth;
  145. next;
  146. mes "[^FF8000Stylist^000000]";
  147. mes "You look great~! Come back again, okay?";
  148. close;
  149. Lbrowsecloth:
  150. set @look, -1;
  151. mes "[^FF8000Stylist^000000]";
  152. mes "Okay, here we go~! Just stop me when you see something you like, okay?";
  153. next;
  154. Lbrowseclothrep:
  155. set @look,@look+1;
  156. setlook 7,@look;
  157. mes "This is Pallete Number^FF9009 "+@look+" ^000000!";
  158. if(@look == 77) menu "Back To The Begin",Lbrowsecloth,"I like this one",Lstop;
  159. if(@look != 77) menu "Keep going",Lbrowseclothrep,"I like this one",Lstop;
  160. }