setarray .@indices[1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_MID, EQI_HEAD_LOW;
for( set .@i,1; .@i <= 10; set .@i,.@i+1 ) {
if( getequipisequiped(.@indices[.@i]) )
set .@menu$, .@menu$ + F_getpositionname(.@indices[.@i]) + " - [ " + getequipname(.@indices[.@i]) + " ]";
set .@menu$, .@menu$ + ":";
}
set .@part, .@indices[ select(.@menu$) ];
if(!getequipisequiped(.@part)) {
mes "[ ^04B4AEIsaac^000000 ]";
mes "Young one... Your not wearing anything there that I can remove cards from.";
end;
}
set .@cardcount,getequipcardcnt(.@part);
if(.@cardcount == 0) {
mes "[ ^04B4AEIsaac^000000 ]";
mes "Young one... There are no cards compounded on this item. I can do nothing with it, I'm afraid.";
end;
}
if (!checkweight(1202,(.@cardcount+1))) {
mes "^3355FFJust a minute!";
mes "I can't offer any of my";
mes "services to you because";
mes "you're carrying too much";
mes "stuff. Put your extra items in";
mes "Kafra Storage and come again~";
end;
}
countbound;
.@size = getarraysize(@bound_items);
.@item = getquipid(.@part);
for(.@i = 0;.@i< .@size;.@i++) {
if(@bound_items[.@i] == .@item) {
mes "This item is bounded.";
close;
}
}