summaryrefslogtreecommitdiff
path: root/world/map/npc/008-1/diryn.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/008-1/diryn.txt')
-rw-r--r--world/map/npc/008-1/diryn.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/world/map/npc/008-1/diryn.txt b/world/map/npc/008-1/diryn.txt
index 21767c29..ae3368ac 100644
--- a/world/map/npc/008-1/diryn.txt
+++ b/world/map/npc/008-1/diryn.txt
@@ -2,7 +2,8 @@
// Author: Wombat
// cost depending on level and adapted to new scripting guidelines: Jenalya
-008-1.gat,81,82,0|script|Diryn the Traveler|103,{
+008-1.gat,81,82,0|script|Diryn the Traveler|103,
+{
if (BaseLevel < 45)
goto L_LowerCost;
@@ -11,7 +12,7 @@
set @cost_magichouse, 1000;
set @cost_terranitecave, 1500;
set @cost_tulimshar, 1000;
- set @cost_nivalis, 1000;
+ set @cost_nivalis, 1500;
L_Start:
mes "[Diryn]";
@@ -31,7 +32,7 @@ L_Diryn_Yes:
"Magic House (" + @cost_magichouse + " GP)", L_Diryn_Magic_House,
"Terranite Cave (" + @cost_terranitecave + " GP)", L_Diryn_Terranite,
"Tulimshar Town Square (" + @cost_tulimshar + " GP)", L_Diryn_Tulimshar,
- "Nivalis (" + @cost_nivalis + " GP)", L_Diryn_Nivalis,
+ "Sage Nikolai's Mansion (" + @cost_nivalis + " GP)", L_Diryn_Nivalis,
"I'm not interested.", L_Diryn_No;
L_Diryn_Druid_Tree:
@@ -39,6 +40,7 @@ L_Diryn_Druid_Tree:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_druidtree;
warp "005-1.gat",73,36;
goto L_Clearvars;
@@ -48,6 +50,7 @@ L_Diryn_Graveyard:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_graveyard;
warp "027-1.gat",70,85;
goto L_Clearvars;
@@ -57,6 +60,7 @@ L_Diryn_Magic_House:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_magichouse;
warp "013-1.gat",45,92;
goto L_Clearvars;
@@ -66,6 +70,7 @@ L_Diryn_Terranite:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_terranitecave;
warp "012-3.gat",445,65;
goto L_Clearvars;
@@ -75,6 +80,7 @@ L_Diryn_Tulimshar:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_tulimshar;
warp "001-1.gat",44,70;
goto L_Clearvars;
@@ -84,8 +90,9 @@ L_Diryn_Nivalis:
goto L_NoMoney;
mes "[Diryn]";
mes "\"Be fearless!\"";
+ close2;
set Zeny, Zeny - @cost_nivalis;
- warp "020-1.gat",71,100;
+ warp "048-1.gat",65,45;
goto L_Clearvars;
L_Diryn_No:
@@ -114,5 +121,5 @@ L_Clearvars:
set @cost_terranitecave, 0;
set @cost_tulimshar, 0;
set @cost_nivalis, 0;
- close;
+ end;
}