DevilSupremeRO Posted March 11, 2021 Share Posted March 11, 2021 (edited) i want this to have like an item that is needed to convert your character looks into fourth or 3rd job guild_vs1,54,54,6 script Stylist#custom_stylist 2_M_DYEINGER,{ OnTalk: setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray [email protected][1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; mes .npc$; mes "Hey ^008aff"+strcharinfo(0)+"^000000. Im a super stylist. Want to try out my services?"; mes "I can customize your character's appearance in a hand full of ways."; next; set [email protected], select(.bcor$+"Cloth color:"+.bcor$+"Hairstyle:"+.bcor$+"Hair color:"+.bcor$+"Dress Room"); if([email protected] == 4){ callfunc "F_DRESSROOM"; close; } if([email protected] == 1){ if (( getlook(LOOK_BODY2) == 5 ) || ( getlook(LOOK_BODY2) == 2 ) || ( getlook(LOOK_BODY2) == 3 ) || ( getlook(LOOK_BODY2) == 4 )) { setlook LOOK_CLOTHES_COLOR,0; mes .npc$; mes "Cloathes color not available for Body Custom."; close; } } if(Class == Job_Summoner){ setarray [email protected][1], 3,//max_cloth_color 10,//max_hair_style 8;//max_hair_color }else{ setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); } set [email protected], getlook([email protected][[email protected]]); set [email protected],1; while(1) { setlook [email protected][[email protected]], [email protected]; message strcharinfo(0),"This is style #"[email protected]+"."; switch(select(.bcor$+"Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:0)+"^000000):"+.bcor$+"Previous (^0055FF"+(([email protected]!=0)[email protected]:[email protected][[email protected]])+"^000000):"+.bcor$+"Jump to...:"+.rcor$+"Revert to original (^0055FF"[email protected]+"^000000)")){ case 1: set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 0); break; case 2: set [email protected], (([email protected] != 0) ? [email protected] : [email protected][[email protected]]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+"."; input [email protected],0,[email protected][[email protected]]; if ([email protected]) set [email protected], rand(1,[email protected][[email protected]]); break; case 4: set [email protected], [email protected]; setlook [email protected][[email protected]], [email protected]; break; } } OnInit: .npc$ = "^FF7F00[ Super Stylist ]^000000"; // Name of NPC; .bcor$ = "^008aff[>]^000000 "; // Option Button Symbol; .rcor$ = "^ff0000[>]^000000 "; // Cancel button symbol; end; } Edited March 11, 2021 by Mael Use codebox Quote Link to comment Share on other sites More sharing options...
i want this to have like an item that is needed to convert your character looks into fourth or 3rd job
guild_vs1,54,54,6 script Stylist#custom_stylist 2_M_DYEINGER,{ OnTalk: setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray [email protected][1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; mes .npc$; mes "Hey ^008aff"+strcharinfo(0)+"^000000. Im a super stylist. Want to try out my services?"; mes "I can customize your character's appearance in a hand full of ways."; next; set [email protected], select(.bcor$+"Cloth color:"+.bcor$+"Hairstyle:"+.bcor$+"Hair color:"+.bcor$+"Dress Room"); if([email protected] == 4){ callfunc "F_DRESSROOM"; close; } if([email protected] == 1){ if (( getlook(LOOK_BODY2) == 5 ) || ( getlook(LOOK_BODY2) == 2 ) || ( getlook(LOOK_BODY2) == 3 ) || ( getlook(LOOK_BODY2) == 4 )) { setlook LOOK_CLOTHES_COLOR,0; mes .npc$; mes "Cloathes color not available for Body Custom."; close; } } if(Class == Job_Summoner){ setarray [email protected][1], 3,//max_cloth_color 10,//max_hair_style 8;//max_hair_color }else{ setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); } set [email protected], getlook([email protected][[email protected]]); set [email protected],1; while(1) { setlook [email protected][[email protected]], [email protected]; message strcharinfo(0),"This is style #"[email protected]+"."; switch(select(.bcor$+"Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:0)+"^000000):"+.bcor$+"Previous (^0055FF"+(([email protected]!=0)[email protected]:[email protected][[email protected]])+"^000000):"+.bcor$+"Jump to...:"+.rcor$+"Revert to original (^0055FF"[email protected]+"^000000)")){ case 1: set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 0); break; case 2: set [email protected], (([email protected] != 0) ? [email protected] : [email protected][[email protected]]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+"."; input [email protected],0,[email protected][[email protected]]; if ([email protected]) set [email protected], rand(1,[email protected][[email protected]]); break; case 4: set [email protected], [email protected]; setlook [email protected][[email protected]], [email protected]; break; } } OnInit: .npc$ = "^FF7F00[ Super Stylist ]^000000"; // Name of NPC; .bcor$ = "^008aff[>]^000000 "; // Option Button Symbol; .rcor$ = "^ff0000[>]^000000 "; // Cancel button symbol; end; }
Edited by MaelUse codebox
Link to comment
Share on other sites