diff options
Diffstat (limited to 'npc/custom/stylist.txt')
-rw-r--r-- | npc/custom/stylist.txt | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/npc/custom/stylist.txt b/npc/custom/stylist.txt deleted file mode 100644 index 37661ccb9..000000000 --- a/npc/custom/stylist.txt +++ /dev/null @@ -1,34 +0,0 @@ -//===== Hercules Script ====================================== -//= Stylist -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= Changes your hair style, hair color, and cloth color. -//===== Additional Comments: ================================= -//= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy] -//============================================================ - -prontera,170,180,1 script Stylist#custom_stylist 2_M_DYEINGER,{ - - setarray .@styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color"); - setarray .@Look[1],7,1,6; - set .@s, select(" ~ Cloth color", " ~ Hairstyle", " ~ Hair color"); - set .@Revert, getlook(.@Look[.@s]); - set .@style,1; - while(1) { - setlook .@Look[.@s], .@style; - message strcharinfo(0),"This is style #"+.@style+"."; - set .@menu$, " ~ Next (^0055FF"+((.@style!=.@styles[.@s])?.@style+1:1)+"^000000): ~ Previous (^0055FF"+((.@style!=1)?.@style-1:.@styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)"; - switch(select(.@menu$)) { - case 1: set .@style, ((.@style!=.@styles[.@s])?.@style+1:1); break; - case 2: set .@style, ((.@style!=1)?.@style-1:.@styles[.@s]); break; - case 3: message strcharinfo(0),"Choose a style between 1 - "+.@styles[.@s]+"."; - input .@style,0,.@styles[.@s]; - if (!.@style) set .@style, rand(1,.@styles[.@s]); - break; - case 4: set .@style, .@Revert; setlook .@Look[.@s], .@Revert; break; - } - } -} |