Everytime i talk to the npc, im getting 1 only identified items. is there anything wrong with this script?
mes "[ ^ffa500Eternal Kafra^000000 ]";
mes "Need me to identify your equipment?";
next;
prompt("Yes, please.:No thanks.");
switch(@menu){
case 1:
mes "[ ^ffa500Eternal Kafra^000000 ]";
mes "Okay, let me have a look at your inventory.";
next;
getinventorylist;
while( .@i < @inventorylist_count ){
if ( !@inventorylist_identify[.@i] ){
delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
getitem @inventorylist_id[.@i],1;
mes "[ ^ffa500Eternal Kafra^000000 ]";
mes "I have successfully identified "+.@i+" items.";
next;
goto Kaf_End;
}
.@i++;
}
mes "[ ^ffa500Eternal Kafra^000000 ]";
mes "Everything has already been identified.";
next;
goto Kaf_End;
end;
Question
Limestone
Everytime i talk to the npc, im getting 1 only identified items. is there anything wrong with this script?
Edit the title
Link to comment
Share on other sites
5 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.