summaryrefslogtreecommitdiff
path: root/npc/003-1/mahoud.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/mahoud.txt')
-rw-r--r--npc/003-1/mahoud.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/003-1/mahoud.txt b/npc/003-1/mahoud.txt
index f5ecc5857..73d97dcb4 100644
--- a/npc/003-1/mahoud.txt
+++ b/npc/003-1/mahoud.txt
@@ -6,17 +6,14 @@
// Mahoud is the Tulimshar Well Master
003-1,46,79,0 script Mahoud NPC_PLAYER,{
-
- .@COST_PER_BOTTLE = 50;
-
mesn;
- mes l("I can fill your bottle with water for only @@ gp the bottle.", .@COST_PER_BOTTLE);
+ mes l("I can fill your bottle with water for only @@ gp the bottle.", .COST_PER_BOTTLE);
mes l("After all, I am the Well Master!");
input .@count;
if (.@count == 0)
close;
- .@Cost = .@count * .@COST_PER_BOTTLE;
+ .@Cost = .@count * .COST_PER_BOTTLE;
.@empty = countitem("EmptyBottle");
if (.@empty < .@count)
@@ -44,6 +41,7 @@ L_NotEnoughMoney:
close;
OnInit:
+ .COST_PER_BOTTLE = 50;
.sex = G_MALE;
.distance = 7;