summaryrefslogblamecommitdiff
path: root/npc/events/dumplingfestival.txt
blob: 641b8f2da71695c1a46a97adb3b673a49a8965f5 (plain) (tree)



























                                                                           
                                  
                                                                           
                                                 


                                                                           
 
                                                              








                                                                       




                                                                                            


                                                               









                                                         


                                              
                                         


                                    













                                                                                                                                                                    


                                                               
 
 
                                                            
















                                                                   
 
                                                                  
 


                                                          
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Lupus
//= Copyright (C)  Massdriller
//=
//= 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 <http://www.gnu.org/licenses/>.
//=========================================================================
//= Imitation of Dumpling Festival
//================= Description ===========================================
//= A complete redering of the Dumpling Festival.
//================= Current Version =======================================
//= 1.01
//=========================================================================

payon,93,81,4	script	Exorcist Master Fahae	4_M_BUDDHIST,{

	mes "[Exorcist Master Fahae]";
	mes "Greetings young warrior, I'm the Exorcist Master Fahae.";
	mes "I have been tracking the elusive Bacsojin for some time.";
	next;
	mes "[Exorcist Master Fahae]";
	mes "I feel it is time I let another warrior try to complete";
	mes "my quest. I have some items to assist you in my quest.";
	next;
	if (select("I wish to buy","No thanks") != 1) {
		mes "[Exorcist Master Fahae]";
		mes "The path of fully venquishing evil is far, help me in the way of God.";
		close;
	}
	mes "[Exorcist Master Fahae]";
	mes "I have 2 items which might become useful to you.";
	next;
	switch (select("Realgar Wine","Exorcize Herb")) {
	case 1:
		.@itemid = Realgar_Wine; // 682
		.@price = 20000;
		break;
	case 2:
		.@itemid = Exorcize_Herb; // 683
		.@price = 10000;
		break;
	}
	mes "[Exorcist Master Fahae]";
	mes "How many do you require?";
	mes "You may only buy 5 at one time.";
	mes "Each costs "+ .@price +"z.";
	mes "(Type in 0 to cancel)";
	next;
	input @input;
	if (@input == 0)
		close;
	if (@input > 5) {
		mes "[Exorcist Master Fahae]";
		mes "You must not be stingy, it is the path of God to be honest.";
		close;
	}
	if (Zeny < @input * .@price) {
		mes "[Exorcist Master Fahae]";
		mes "Money doesn't bring joy to everyone, but we need it to support the temple and myself. Please, try to kill some monsters and take their drops.";
		close;
	}
	Zeny -= @input * .@price;
	getitem .@itemid, @input;
	mes "[Exorcist Master Fahae]";
	mes "Here you go, I hope you may succeed in my quest.";
	close;
}

//== Monsters ==============================================
gef_fild00,0,0,0,0	monster	Dumpling	1520,20,60000,66000
gef_fild07,0,0,0,0	monster	Dumpling	1520,20,60000,66000
gef_fild04,0,0,0,0	monster	Dumpling	1520,20,60000,66000
gef_fild00,0,0,0,0	monster	Dumpling	1520,20,60000,66000
prt_fild06,0,0,0,0	monster	Dumpling	1520,20,60000,66000
prt_fild01,0,0,0,0	monster	Dumpling	1520,20,60000,66000
prt_fild05,0,0,0,0	monster	Dumpling	1520,20,60000,66000
prt_fild08,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild04,0,0,0,0	monster	Dumpling	1520,20,60000,66000
moc_fild02,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild01,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild07,0,0,0,0	monster	Dumpling	1520,20,60000,66000
moc_fild03,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild06,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild05,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild02,0,0,0,0	monster	Dumpling	1520,20,60000,66000
pay_fild09,0,0,0,0	monster	Dumpling	1520,20,60000,66000

moc_fild03,0,0,0,0	monster	Bacsojin	1518,1,60000,66000

moc_fild03,0,0,0,0	monster	Chung E	1519,1,60000,66000
moc_fild13,0,0,0,0	monster	Chung E	1519,1,60000,66000
pay_fild01,0,0,0,0	monster	Chung E	1519,1,60000,66000