dye.txt 5.4 KB

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