summaryrefslogtreecommitdiff
path: root/npc/009-3/kevin.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/009-3/kevin.txt')
-rw-r--r--npc/009-3/kevin.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/009-3/kevin.txt b/npc/009-3/kevin.txt
index cc51384f2..a883c8e08 100644
--- a/npc/009-3/kevin.txt
+++ b/npc/009-3/kevin.txt
@@ -42,9 +42,10 @@ L_ConfirmReset:
goto L_Quit;
L_Powder:
+ .@price=POL_AdjustPrice(800);
mes "";
mesn;
- mesq l("To make @@ I need one from each gem powders, and 800 GP for commission.", getitemlink(GemPowder));
+ mesq l("To make @@ I need one from each gem powders, and @@ GP for commission.", getitemlink(GemPowder), .@price);
next;
select
l("Yeah, I need one."),
@@ -63,7 +64,7 @@ L_Powder:
countitem(SapphirePowder) &&
countitem(TopazPowder) &&
countitem(AmethystPowder) &&
- Zeny >= 800) {
+ Zeny >= .@price) {
inventoryplace GemPowder, 1;
delitem DiamondPowder, 1;
@@ -72,9 +73,9 @@ L_Powder:
delitem SapphirePowder, 1;
delitem TopazPowder, 1;
delitem AmethystPowder, 1;
- Zeny=Zeny-800;
+ POL_PlayerMoney(.@price);
getitem GemPowder, 1;
- getexp rand(6,18), rand(6,18);
+ getexp rand2(6,18), rand2(6,18);
mesn;
mesq l("Thanks! Here you go. Perhaps you need another one?");
@@ -82,7 +83,7 @@ L_Powder:
goto L_Powder;
} else {
mesn;
- mesq l("Sorry, but I need one of each gem powder, and 800 GP.");
+ mesq l("Sorry, but I need one of each gem powder, and %d GP.", .@price);
next;
}
goto L_Menu;