summaryrefslogtreecommitdiff
path: root/npc/merchants/refine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/refine.txt')
-rw-r--r--npc/merchants/refine.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt
index fc1e683b9..d65fd5c2e 100644
--- a/npc/merchants/refine.txt
+++ b/npc/merchants/refine.txt
@@ -81,7 +81,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 986,1; // Anvil
- Zeny -=30000;
+ set Zeny, Zeny-30000;
mes "[Christopher Guillenrow]";
mes "This is the cheapest one, but efficient enough to forge most items. Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -92,7 +92,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 987,1; // Oridecon_Anvil
- Zeny -=120000;
+ set Zeny, Zeny-120000;
mes "[Christopher Guillenrow]";
mes "Aye, friend ye have an eye for the anvil. This must be the proper anvil for a Blacksmith, eh? Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -103,7 +103,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 988,1; // Golden_Anvil
- Zeny -=300000;
+ set Zeny, Zeny-300000;
mes "[Christopher Guillenrow]";
mes "This one is the best among all me stuffs in me workshop! With this, ye can rule the Blacksmith world! Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -156,7 +156,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 612,.@input; // Portable_Furnace
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -167,7 +167,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 613,1; // Iron_Hammer
- Zeny -=1000;
+ set Zeny, Zeny-1000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -178,7 +178,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 614,1; // Golden_Hammer
- Zeny -=3000;
+ set Zeny, Zeny-3000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -189,7 +189,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 615,1; // Oridecon_Hammer
- Zeny -=5000;
+ set Zeny, Zeny-5000;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -237,7 +237,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 1010,.@input; // Phracon
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need.";
close;
@@ -275,7 +275,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{
close;
}
getitem 1011,.@input; // Emveretarcon
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
mes "[Christopher Guillenrow]";
mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need, whenever ye want.";
close;
@@ -357,7 +357,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
close;
}
getitem 986,1; //Anvil
- Zeny -=30000;
+ set Zeny, Zeny-30000;
mes "[Paul Spanner]";
mes "It is the cheapest anvil which has the most basic ability.";
mes "Thank you for using my shop. If you need anything, just let me know.";
@@ -369,7 +369,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
close;
}
getitem 987,1; //Oridecon_Anvil
- Zeny -=120000;
+ set Zeny, Zeny-120000;
mes "[Paul Spanner]";
mes "Ah, you have an eye for anvil. A Blacksmith needs an anvil at least as good as this.";
mes "Thank you for using my shop. If you need anything, just let me know.";
@@ -381,7 +381,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
close;
}
getitem 988,1; //Golden_Anvil
- Zeny -=300000;
+ set Zeny, Zeny-300000;
mes "[Paul Spanner]";
mes "I can tell your ambition to become a good Blacksmith just by looking at you to choose this Golden Anvil!";
mes "This anvil will surely aid you in creating the best weapons.";
@@ -460,7 +460,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
mes "Hey, you look pale. Why don't you go lighten your weight first.";
close;
}
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
getitem .@item,.@input;
mes "[Paul Spanner]";
mes "Thank you for using my shop. If you need anything, just let me know.";
@@ -515,7 +515,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{
close;
}
getitem .@item,.@input;
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
mes "[Paul Spanner]";
mes "Thank you for using my shop. If you need anything, just let me know.";
close;
@@ -735,7 +735,7 @@ function script refinemain {
mes "here all day if you need me.";
close;
}
- Zeny -=.@price;
+ set Zeny, Zeny-.@price;
delitem .@material,1;
//custom checks
@@ -856,7 +856,7 @@ function script refinemain {
mes "Is that all you got? Unfortunately I can't work for you at a lower price. Try putting yourself in my shoes.";
close;
}
- Zeny -= .@fullprice;
+ set Zeny, Zeny - .@fullprice;
delitem .@material,.@refinecnt;
while(.@refinecnt){
if (getequipisequiped(.@part) == 0) {
@@ -882,7 +882,7 @@ function script refinemain {
mes "Here's the unused Zeny and materials back...";
getitem .@material,.@refinecnt;
set .@fullprice,.@refinecnt * .@price;
- Zeny += .@fullprice;
+ set Zeny, Zeny + .@fullprice;
close;
}
successrefitem .@part;
@@ -1000,7 +1000,7 @@ function script phramain {
close;
}
getitem .@material,.@input;
- Zeny -=.@sell;
+ set Zeny, Zeny-.@sell;
mes "[" + getarg(0) + "]";
mes "Here you are!";
mes "Thank you for";
@@ -1238,7 +1238,7 @@ function script repairmain {
}
set .@checkitem2,.@checkitem2-1;
if (.@checkitem == .@checkitem2) {
- Zeny -=.@totalcost;
+ set Zeny, Zeny-.@totalcost;
while (.@checkitem) {
repair(.@checkitem);
set .@checkitem,.@checkitem-1;