Hey guys! How do you add check in this script if items are bounded? or if the player selected an item that is bounded.
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;}
Question
Radian
Hey guys! How do you add check in this script if items are bounded? or if the player selected an item that is bounded.
6 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.