From b437c7382e6d0ca1339427ddbc3e20ca3c6cdf57 Mon Sep 17 00:00:00 2001 From: Ridley8819 Date: Sat, 10 Sep 2016 22:10:54 +0200 Subject: removed unnecessary lines (thx to Aleos) added missing mapflags for c_tower2_ and c_tower3_ --- npc/re/quests/quests_aldebaran.txt | 59 +++++++-------------- npc/re/quests/quests_glastheim.txt | 104 +++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+), 39 deletions(-) create mode 100644 npc/re/quests/quests_glastheim.txt (limited to 'npc/re/quests') diff --git a/npc/re/quests/quests_aldebaran.txt b/npc/re/quests/quests_aldebaran.txt index 017421258..336ddb1c7 100644 --- a/npc/re/quests/quests_aldebaran.txt +++ b/npc/re/quests/quests_aldebaran.txt @@ -11,6 +11,7 @@ //= //= Copyright (C) 2016 Hercules Dev Team //= Copyright (C) 2016 Ridley +//= Copyright (C) 2016 Aleos //= //= Hercules is free software: you can redistribute it and/or modify //= it under the terms of the GNU General Public License as published by @@ -29,7 +30,7 @@ //================= Description =========================================== //= NPCs related to Aldebaran Clock Tower (Nightmare) //================= Current Version ======================================= -//= 1.0 +//= 1.1 //========================================================================= c_tower1,232,222,5 script Belljamin Button#ct 4_M_RUSMAN2,{ mes("[Belljamin Button]"); @@ -43,43 +44,21 @@ c_tower1,232,222,5 script Belljamin Button#ct 4_M_RUSMAN2,{ mes("[Belljamin Button]"); mes("I'm begging you not to ask more about it. It might put your life in danger."); next; - switch (select("Don't ask", "Go to 2nd floor of warped tower", "Go to 3rd floor of warped tower")) { + .@menu = select("Don't ask", "Go to 2nd floor of warped tower", "Go to 3rd floor of warped tower"); + switch (.@menu) { case 1: - mes("[Belljamin Button]"); - mes("Phew...You've made good choice. The place is so brutal so you should probably get back to a safe area."); - close; - case 2: - mes("[Belljamin Button]"); - mes("Be careful with your choice."); - next; - mes("[Belljamin Button]"); - mes("I need ^0000FF10,000z^000000 to let you in. It's a pretty dangerous place to be."); - next; - switch (select("Quit", "Pay 10,000z", "Why do you need money?")) { - case 1: - mes("[Belljamin Button]"); - mes("Phew...You've made good choice. The place is so brutal so you should probably get back to a safe area."); - close; - case 2: - if (Zeny < 10000) { - mes("[Belljamin Button]"); - mes("Really? You don't have money and asked me to take you there?"); - close; - } - Zeny -= 10000; - mes("[Belljamin Button]"); - mes("I'm not sure how you'll keep track of time in there but be as careful as you can."); - close2; - warp "c_tower2_", 268, 26; - end; - case 3: - mes("[Belljamin Button]"); - mes("I am here all day for the safety of adventurers. I always alert them about the danger. That's why I need some pay."); - emotion e_swt; - close; - } break; + case 2: case 3: + if (.@menu == 2) { + .@map$ = "c_tower2_"; + .@x = 268; + .@y = 26; + } else { + .@map$ = "c_tower3_"; + .@x = 65; + .@y = 147; + } mes("[Belljamin Button]"); mes("Be careful with your choice."); next; @@ -88,9 +67,7 @@ c_tower1,232,222,5 script Belljamin Button#ct 4_M_RUSMAN2,{ next; switch (select("Quit", "Pay 10,000z", "Why do you need money?")) { case 1: - mes("[Belljamin Button]"); - mes("Phew...You've made good choice. The place is so brutal so you should probably get back to a safe area."); - close; + break; case 2: if (Zeny < 10000) { mes("[Belljamin Button]"); @@ -101,7 +78,7 @@ c_tower1,232,222,5 script Belljamin Button#ct 4_M_RUSMAN2,{ mes("[Belljamin Button]"); mes("I'm not sure how you'll keep track of time in there but be as careful as you can."); close2; - warp "c_tower3_", 65, 147; + warp .@map$, .@x, .@y; end; break; case 3: @@ -110,7 +87,11 @@ c_tower1,232,222,5 script Belljamin Button#ct 4_M_RUSMAN2,{ emotion e_swt; close; } + break; } + mes("[Belljamin Button]"); + mes("Phew...You've made good choice. The place is so brutal so you should probably get back to a safe area."); + close; } c_tower2_,274,26,3 script Belljamin Button#nct1 4_M_RUSCHILD,{ diff --git a/npc/re/quests/quests_glastheim.txt b/npc/re/quests/quests_glastheim.txt new file mode 100644 index 000000000..cc6f2dc9d --- /dev/null +++ b/npc/re/quests/quests_glastheim.txt @@ -0,0 +1,104 @@ +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2016 Hercules Dev Team +//= Copyright (C) 2016 Ridley +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= +//= Nightmare Glastheim Dungeon +//================= Description =========================================== +//= NPCs related to Glastheim (Nightmare) +//================= Current Version ======================================= +//= 1.0 +//========================================================================= +glast_01,195,273,4 script Hugin's Follower#n_gh 2_F_MAGICMASTER,{ + mes("[Hugin's Follower]"); + mes("I can't move between time and dimension like a master Hugin but I can pretend to move."); + next; + mes("[Hugin's Follower]"); + mes("What about this Glast Heim is born with powerful dark force?"); + next; + if (select("I don't care", "That is interesting, please tell me more") != 1) { + mes("[Hugin's Follower]"); + mes("As learning ability from Hugin, I just find out the path to Old Glast Heim of more powerful dark force."); + next; + mes("[Hugin's Follower]"); + mes("How is it? Do you want to explore there?"); + next; + if (select("No, I want to stop it", "I really want to do that!") != 1) { + mes("[Hugin's Follower]"); + mes("Sure that is not free~ I have to get something little bit. Hoho..."); + next; + mes("[Hugin's Follower]"); + mes("I can send you just two place. How is it? Do you want to try?"); + next; + .@menu = select("Cancel", "Monastery Cemetery (Lv100~130) - 5000z", "Corridor of 2nd floor (Over Lv140) - 10000z"); + switch (.@menu) { + case 1: + mes("[Hugin's Follower]"); + mes("Alright, please come back whenever you change mind. I think you will have lots of thing to talk with me..."); + close; + case 2: + case 3: + if (.@menu == 2) { + .@map$ = "gl_chyard_"; + .@x = 148; + .@y = 144; + .@zeny = 5000; + } else { + .@map$ = "gl_cas02_"; + .@x = 104; + .@y = 31; + .@zeny = 10000; + } + if (Zeny < .@zeny) { + mes("[Hugin's Follower]"); + mes("What, did you ask me without money?"); + close; + } + Zeny -= .@zeny; + warp .@map$, .@x, .@y; + end; + } + } + } + mes("[Hugin's Follower]"); + mes("Well~ If you are not interested in it, never mind."); + close; +} + +gl_chyard_,148,149,4 script Hugin's Follower#n_gh1 2_F_MAGICMASTER,{ + mes("[Hugin's Follower]"); + mes("You want to break?"); + mes("Ok, let's get out of here.?"); + next; + if (select("Ah, wrong click... I mean I was not talk to you", "Please let me out from here") == 1) { + mes("[Hugin's Follower]"); + mes("Alright just tell me whenever you want to leave."); + close; + } + warp "glast_01", 210, 269; + end; +} + +gl_cas02_,104,36,4 duplicate(Hugin's Follower#n_gh1) Hugin's Follower#n_gh2 2_F_MAGICMASTER -- cgit v1.2.3-70-g09d2