for (.@i=0; .@i < @inventorylist_count; .@i++) {
if( @inventorylist_attribute[.@i] ){
.@items[.@broken] = @inventorylist_id[.@i];
.@menu$ = .@menu$ + getitemname(@inventorylist_id[.@i]) + ":";
.@broken++;
}
}
if (!.@broken) {
mes "["+ .@npc_name$ +"]";
mes "Oh wow, this is incredible!";
mes "You must take very good care of your things. None of your items are damaged!";
}
next;
.@select = select(.@menu$) - 1;
mes "["+ .@npc_name$ +"]";
mes "You are trying to repair the item "+getitemname(.@items[.@select]);
next;
if( select( "Yes","No" ) == 2 ) end;
!!! repair (Help with the Formula of the specific/selected broked id?)
mes "["+ .@npc_name$ +"]";
mes "Okay! All done. Now, try to be a little more careful. Items have lives too you know.";
close;
I need help in identifying the correct formula in repairing a selected broken item from the menu.
Question
Selerie
for (.@i=0; .@i < @inventorylist_count; .@i++) { if( @inventorylist_attribute[.@i] ){ .@items[.@broken] = @inventorylist_id[.@i]; .@menu$ = .@menu$ + getitemname(@inventorylist_id[.@i]) + ":"; .@broken++; } } if (!.@broken) { mes "["+ .@npc_name$ +"]"; mes "Oh wow, this is incredible!"; mes "You must take very good care of your things. None of your items are damaged!"; } next; .@select = select(.@menu$) - 1; mes "["+ .@npc_name$ +"]"; mes "You are trying to repair the item "+getitemname(.@items[.@select]); next; if( select( "Yes","No" ) == 2 ) end; !!! repair (Help with the Formula of the specific/selected broked id?) mes "["+ .@npc_name$ +"]"; mes "Okay! All done. Now, try to be a little more careful. Items have lives too you know."; close;
I need help in identifying the correct formula in repairing a selected broken item from the menu.
I tried...
but it's not quite right.. the repaired item is the wrong selection... Anyhelp is appreciated.
Link to comment
Share on other sites
2 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.