diff options
Diffstat (limited to 'npc/custom/item_signer.txt')
-rw-r--r-- | npc/custom/item_signer.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/custom/item_signer.txt b/npc/custom/item_signer.txt index fad2f92f9..dfc93fb85 100644 --- a/npc/custom/item_signer.txt +++ b/npc/custom/item_signer.txt @@ -13,7 +13,7 @@ prt_in,24,61,7 script Perchik 1_M_01,{ - setarray .@Item[0],644,3; // Item requirements: <ID>,<Count>{,...} (0 to disable) + setarray .@item[0],644,3; // Item requirements: <ID>,<Count>{,...} (0 to disable) setarray .@Cost[0],0,5000; // Zeny requirements: <base price>,<price per refine> disable_items; @@ -26,10 +26,10 @@ prt_in,24,61,7 script Perchik 1_M_01,{ emotion e_ic; next; mes "[Perchik]"; - if (getarraysize(.@Item) || getarraysize(.@Cost)) { + if (getarraysize(.@item) || getarraysize(.@Cost)) { mes "For my work I accept:"; - if (getarraysize(.@Item)) for(set .@i,0; .@i<getarraysize(.@Item); set .@i,.@i+2) - mes " ~ "+.@Item[.@i+1]+"x "+getitemname(.@Item[.@i]); + if (getarraysize(.@item)) for(set .@i,0; .@i<getarraysize(.@item); set .@i,.@i+2) + mes " ~ "+.@item[.@i+1]+"x "+getitemname(.@item[.@i]); if (.@Cost[0]) mes " ~ "+.@Cost[0]+" Zeny"; if (.@Cost[1]) mes " ~ "+.@Cost[1]+" Zeny per refine"; } @@ -92,11 +92,11 @@ prt_in,24,61,7 script Perchik 1_M_01,{ close; } set .@price, .@Cost[0]+(.@Cost[1]*.@ref); - if (getarraysize(.@Item) || .@price) { + if (getarraysize(.@item) || .@price) { mes "I will need:"; - if (getarraysize(.@Item)) for(set .@i,0; .@i<getarraysize(.@Item); set .@i,.@i+2) { - mes " ~ "+.@Item[.@i+1]+"x "+getitemname(.@Item[.@i]); - if (countitem(.@Item[.@i]) < .@Item[.@i+1]) set .@nr,1; + if (getarraysize(.@item)) for(set .@i,0; .@i<getarraysize(.@item); set .@i,.@i+2) { + mes " ~ "+.@item[.@i+1]+"x "+getitemname(.@item[.@i]); + if (countitem(.@item[.@i]) < .@item[.@i+1]) set .@nr,1; } if (.@price) mes " ~ "+.@price+" Zeny"; } @@ -122,8 +122,8 @@ prt_in,24,61,7 script Perchik 1_M_01,{ close; } if (.@price) set Zeny, Zeny-.@price; - if (getarraysize(.@Item)) for(set .@i,0; .@i<getarraysize(.@Item); set .@i,.@i+2) - delitem .@Item[.@i], .@Item[.@i+1]; + if (getarraysize(.@item)) for(set .@i,0; .@i<getarraysize(.@item); set .@i,.@i+2) + delitem .@item[.@i], .@item[.@i+1]; delitem2 .@id,1,1,.@ref,0,.@slot[0],.@slot[1],.@slot[2],.@slot[3]; mes "Done!"; emotion e_proud; |