summaryrefslogtreecommitdiff
path: root/npc/custom/item_signer.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 05:09:37 +0100
committerHaru <haru@dotalux.com>2013-11-10 05:09:37 +0100
commitf7f10cf7bb600b6871ed37f493fef18110dc182b (patch)
tree8675372615de5b48093f5093f0e0e890834971f0 /npc/custom/item_signer.txt
parentb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (diff)
downloadhercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.gz
hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.bz2
hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.xz
hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.zip
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in remaining variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/item_signer.txt')
-rw-r--r--npc/custom/item_signer.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/custom/item_signer.txt b/npc/custom/item_signer.txt
index dfc93fb85..3cd66234b 100644
--- a/npc/custom/item_signer.txt
+++ b/npc/custom/item_signer.txt
@@ -14,7 +14,7 @@
prt_in,24,61,7 script Perchik 1_M_01,{
setarray .@item[0],644,3; // Item requirements: <ID>,<Count>{,...} (0 to disable)
- setarray .@Cost[0],0,5000; // Zeny requirements: <base price>,<price per refine>
+ setarray .@cost[0],0,5000; // Zeny requirements: <base price>,<price per refine>
disable_items;
mes "[Perchik]";
@@ -26,12 +26,12 @@ 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 (.@Cost[0]) mes " ~ "+.@Cost[0]+" Zeny";
- if (.@Cost[1]) mes " ~ "+.@Cost[1]+" Zeny per refine";
+ if (.@cost[0]) mes " ~ "+.@cost[0]+" Zeny";
+ if (.@cost[1]) mes " ~ "+.@cost[1]+" Zeny per refine";
}
else mes "I work for free, but...";
next;
@@ -91,7 +91,7 @@ prt_in,24,61,7 script Perchik 1_M_01,{
emotion e_hmm;
close;
}
- set .@price, .@Cost[0]+(.@Cost[1]*.@ref);
+ set .@price, .@cost[0]+(.@cost[1]*.@ref);
if (getarraysize(.@item) || .@price) {
mes "I will need:";
if (getarraysize(.@item)) for(set .@i,0; .@i<getarraysize(.@item); set .@i,.@i+2) {