//================= Hercules Script ======================================= //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ //================= License =============================================== //= This file is part of Hercules. //= http://herc.ws - http://github.com/HerculesWS/Hercules //= //= Copyright (C) 2012-2020 Hercules Dev Team //= Copyright (C) Dastgir //= //= 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 . //========================================================================= //= General Eclage NPC. //================= Description =========================================== //= Eclage Town NPC //================= Current Version ======================================= //= 1.0 //========================================================================= ecl_in02,96,22,3 script sign#prison_inn 2_BOARD1,{ mes "[North] Prison"; mes "[West] Clinic"; close; } ecl_in01,8,71,5 script Eclage Guard#pri_inn 4_M_FAIRYSOLDIER,{ mes "[Eclage Guard]"; mes "This path will take you to the lower parts of Eclage. You'll find a prison and a clinic there."; close; } ecl_in02,164,56,3 script Receptionist#Laphine 4_F_FAIRYKID2,{ mes "[Receptionist}"; mes "Welcome to Eclage Clinic."; next; switch (select("Save Location", "Rest", "Finish the conversation")) { case 1: mes "[Receptionist}"; mes "Clinic has been set as your save point. Be careful though~"; savepoint "ecl_in02",162,50; close; case 2: mes "[Receptionist}"; mes "Restore your mind and body at our clinic. It's filled with Eclage's clean energy."; mes "We charge 1 Splendide Coin normally, but we offer a special discount for travelers. Your total is 5,000 zeny. "; next; switch (select("Pay with Splendide Coin", "Pay with Zeny", "Forget it")) { case 1: if (!countitem(Splendide_Coin)) { mes "[Receptionist}"; mes "It seems like you don't have enough coins. Would you check your account again, please?"; close; } mes "[Receptionist}"; mes "Make yourself at home~"; close2; delitem Splendide_Coin,1; //Splendide_Coin percentheal 100,100; warp "ecl_in02",167,49; end; case 2: if (Zeny < 5000) { mes "[Receptionist]"; mes "Looks like you don't have enough resources to proceed. Do you mind checking your account again?"; close; } mes "[Receptionist}"; mes "Make yourself at home~"; close2; Zeny -= 5000; percentheal 100,100; warp "ecl_in02",167,49; end; case 3: close; } case 3: close; } } ecl_in02,135,45,5 script Injured Laphine 4_F_FAIRYKID6,{ mes "[Injured Laphine]"; mes "Ooww..."; mes "Where...am...I?"; next; mes "[Doctor]"; mes "You're at a clinic. Don't worry."; mes "We stopped the bleeding and cast emergency spells."; mes "You were bleeding a lot. That was close, you know."; next; mes "[Injured Laphine]"; mes "......"; mes "What, no, I...I don't feel anything...what's going on?"; next; mes "[Doctor]"; mes "Umm...the arrow damaged your wing pretty badly..."; next; mes "[Injured Laphine]"; mes "...what do you mean?"; next; mes "[Doctor]"; mes "Well...I was going to tell you after you recover, but you should know. You can't decorate the Yai anymore. "; mes "In other words, you injured your wing. The arrow went through the most critical part in the wing."; next; mes "[Injured Laphine]"; mes "What? No way...please...doctor!! No!!"; close; } ecl_in02,137,44,3 duplicate(Injured Laphine) Doctor Laphine#doctor 4_M_FAIRYKID