- script Costume Clown -1,{
mes "[Clown]";
mes "^FF0000Costumes give no Stats.^000000";
mes "Here you can convert your headgears into a Costume Headgear for 5 donation ticket or restore to its Original form.";
switch(select("I want to convert.:I want to restore.:No thanks.")) {
case 1:
next;
if(countitem(7146)<5) goto L_NoMake;
mes "Please, select what to convert.";
mes "Remember, cards and refine will be removed.";
next;
setarray .@Position$[1],"Top","Mid","Low";
setarray .@Position[1], 1, 9, 10;
set .@Menu$,"";
for( set .@i, 1; .@i < 5; set .@i, .@i + 1 )
{
if( getequipisequiped(.@Position[.@i]) )
set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]";
set .@Menu$, .@Menu$ + ":";
}
set .@Part, .@Position[ select(.@Menu$) ];
if( !getequipisequiped(.@Part) )
{
mes "[Clown]";
mes "Your not wearing anything there...";
close;
}
mes "[Clown]";
mes "You want to Costume your " + getitemname(getequipid(.@Part)) + "?";
next;
if( select("Yes, proceed:No, I am sorry.") == 2 )
{
mes "[Clown]";
mes "Need some time to think about it, huh?";
mes "Alright, I can understand.";
close;
}
costume .@Part; // Convert the Headgear
mes "[Costume-IT]";
mes "Done, enjoy your costume headgear.";
delitem 7146,5;
end;
case 2:
next;
mes "Please, select what to restore.";
mes "Remember, I will only restore it back without refine and cards.";
next;
setarray .@Position$[1],"Top","Mid","Low";
setarray .@Position[1], 13, 12, 11;
set .@Menu$,"";
for( set .@i, 1; .@i < 5; set .@i, .@i + 1 )
{
if( getequipisequiped(.@Position[.@i]) )
set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]";
set .@Menu$, .@Menu$ + ":";
}
set .@Part, .@Position[ select(.@Menu$) ];
if( !getequipisequiped(.@Part) )
{
mes "[Clown]";
mes "Your not wearing anything there...";
close;
}
mes "[Clown]";
mes "You want to restore your " + getitemname(getequipid(.@Part)) + "?";
next;
if( select("Yes, proceed:No, I am sorry.") == 2 )
{
mes "[Clown]";
mes "Need some time to think about it, huh?";
mes "Alright, I can understand.";
close;
}
a = getequipid(.@Part);
delitem a,1;
getitem a,1;
mes "[Clown]";
mes "Done, enjoy your restored headgear.";
end;
case 3:
mes "[Clown]";
mes "Very well. Return at once if you seek my services.";
end;
}
L_NoMake:
mes " You don't have tickets, sorry.";
close;
}
// --------------------------------------------------------------------------
// Use duplicates to put your npc on different cities
//
So that's the script, Provide by sehrentos
His script pretty much converts headgear items to headgear costumes, but i found a flaw in game.
The costume retains the level & class restriction. Is there a way to remove it?
Question
Rain408
So that's the script, Provide by sehrentos
His script pretty much converts headgear items to headgear costumes, but i found a flaw in game.
The costume retains the level & class restriction. Is there a way to remove it?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.