From 3bd6422dd137a4fe81c9df5c616a148eb38fd7cb Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 26 Dec 2012 23:23:18 +0100 Subject: Some punctuation and coding style fixes in the diryn script. --- world/map/npc/008-1/diryn.txt | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'world/map/npc') diff --git a/world/map/npc/008-1/diryn.txt b/world/map/npc/008-1/diryn.txt index b238b497..21767c29 100644 --- a/world/map/npc/008-1/diryn.txt +++ b/world/map/npc/008-1/diryn.txt @@ -1,9 +1,11 @@ -//This is a teleportation (warp) NPC. Its purpose is to offer expensive, fast trips throughout the world. +// This is a teleportation (warp) NPC. Its purpose is to offer expensive, fast trips throughout the world. // Author: Wombat -// cost depending on level and adapted to new srcipting guidelines: Jenalya +// cost depending on level and adapted to new scripting guidelines: Jenalya 008-1.gat,81,82,0|script|Diryn the Traveler|103,{ - if (BaseLevel < 45) goto L_LowerCost; + if (BaseLevel < 45) + goto L_LowerCost; + set @cost_druidtree, 1500; set @cost_graveyard, 1500; set @cost_magichouse, 1000; @@ -18,8 +20,7 @@ L_Start: mes "\"The monsters of the world have grown out of control, harming people, trade and travel. Needless to say, Tulimshar is not happy with this problem. Our solution: Rally those powerful enough to combat the monster threat and send them to hot spots to challenge the monster threat head on. However, teleportation to these areas is not only extremely dangerous, but also highly expensive. Do you think you got what it takes?\""; menu "I sure do!", L_Diryn_Yes, - "No thank you", L_Diryn_No; - goto L_Clearvars; + "No, thank you.", L_Diryn_No; L_Diryn_Yes: mes "[Diryn]"; @@ -31,11 +32,11 @@ L_Diryn_Yes: "Terranite Cave (" + @cost_terranitecave + " GP)", L_Diryn_Terranite, "Tulimshar Town Square (" + @cost_tulimshar + " GP)", L_Diryn_Tulimshar, "Nivalis (" + @cost_nivalis + " GP)", L_Diryn_Nivalis, - "Not Interested", L_Diryn_No; - goto L_Clearvars; + "I'm not interested.", L_Diryn_No; L_Diryn_Druid_Tree: - if (Zeny < @cost_druidtree) goto L_NoMoney; + if (Zeny < @cost_druidtree) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_druidtree; @@ -43,7 +44,8 @@ L_Diryn_Druid_Tree: goto L_Clearvars; L_Diryn_Graveyard: - if (Zeny < @cost_graveyard) goto L_NoMoney; + if (Zeny < @cost_graveyard) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_graveyard; @@ -51,7 +53,8 @@ L_Diryn_Graveyard: goto L_Clearvars; L_Diryn_Magic_House: - if (Zeny < @cost_magichouse) goto L_NoMoney; + if (Zeny < @cost_magichouse) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_magichouse; @@ -59,7 +62,8 @@ L_Diryn_Magic_House: goto L_Clearvars; L_Diryn_Terranite: - if (Zeny < @cost_terranitecave) goto L_NoMoney; + if (Zeny < @cost_terranitecave) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_terranitecave; @@ -67,7 +71,8 @@ L_Diryn_Terranite: goto L_Clearvars; L_Diryn_Tulimshar: - if (Zeny < @cost_tulimshar) goto L_NoMoney; + if (Zeny < @cost_tulimshar) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_tulimshar; @@ -75,7 +80,8 @@ L_Diryn_Tulimshar: goto L_Clearvars; L_Diryn_Nivalis: - if (Zeny < @cost_nivalis) goto L_NoMoney; + if (Zeny < @cost_nivalis) + goto L_NoMoney; mes "[Diryn]"; mes "\"Be fearless!\""; set Zeny, Zeny - @cost_nivalis; -- cgit v1.2.3-60-g2f50