summaryrefslogtreecommitdiff
path: root/npc/events/dumplingfestival.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-22 08:17:49 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-22 08:17:49 +0000
commit5cdb595dfb8fa69611b0234b9671deddab2b4716 (patch)
treebb057a6a96b8ba9dc2df7353dbc9025d0d9b07ce /npc/events/dumplingfestival.txt
parent2ccfc43c2da5b25d21c26e8d0221c243afba9b10 (diff)
downloadhercules-5cdb595dfb8fa69611b0234b9671deddab2b4716.tar.gz
hercules-5cdb595dfb8fa69611b0234b9671deddab2b4716.tar.bz2
hercules-5cdb595dfb8fa69611b0234b9671deddab2b4716.tar.xz
hercules-5cdb595dfb8fa69611b0234b9671deddab2b4716.zip
fixed minor bugs
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8844 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events/dumplingfestival.txt')
-rw-r--r--npc/events/dumplingfestival.txt119
1 files changed, 58 insertions, 61 deletions
diff --git a/npc/events/dumplingfestival.txt b/npc/events/dumplingfestival.txt
index 3873535ff..ea6e265c9 100644
--- a/npc/events/dumplingfestival.txt
+++ b/npc/events/dumplingfestival.txt
@@ -3,83 +3,80 @@
//===== By ================================================
//= Massdriller
//===== Version ===========================================
-//= 1.0
+//= 1.01
//===== Compatible With ===================================
//= eAthena 0.52+
//===== Description =======================================
//= A complete redering of the Dumpling Festival.
//===== Comments ==========================================
//= Ver 1.0- Duplicate of MRO's Dumpling Event
+//= 1.01 fixed bugs [Lupus]
//=========================================================
payon.gat,93,81,4 script Exorcist Master Fahae 834,{
-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;
-menu "I wish to buy",menu_1, "No thanks",finish;
+ 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;
+ menu "I wish to buy",-, "No thanks",M_FIN;
-menu_1:
-mes "[Exorcist Master Fahae]";
-mes "I have 2 items which might become useful to you.";
-next;
-menu "Realgar Wine",wine, "Exorcize Herb",herb;
+ mes "[Exorcist Master Fahae]";
+ mes "I have 2 items which might become useful to you.";
+ next;
+ menu "Realgar Wine",-, "Exorcize Herb",M_HERB;
-wine:
-mes "[Exorcist Master Fahae]";
-mes "How many do you require?";
-mes "You may only buy 5 at one time.";
-mes "Each costs 20000z.";
-mes "(Type in 0 to cancel)";
-next;
-input @input;
-if(@input<0) goto end;
-if(@input>5) goto sorry;
-if(Zeny< @input*20000) goto no_money;
-getitem 682,@input;
-set Zeny,Zeny-20000*@input;
-mes "[Exorcist Master Fahae]";
-mes "Here you go, I hope you may succeed in my quest.";
-close;
+ mes "[Exorcist Master Fahae]";
+ mes "How many do you require?";
+ mes "You may only buy 5 at one time.";
+ mes "Each costs 20000z.";
+ mes "(Type in 0 to cancel)";
+ next;
+ input @input;
+ if(@input==0) close;
+ if(@input>5) goto L_SORRY;
+ if(Zeny< @input*20000) goto L_NOZENY;
+ set Zeny,Zeny-20000*@input;
+ getitem 682,@input;
+ mes "[Exorcist Master Fahae]";
+ mes "Here you go, I hope you may succeed in my quest.";
+ close;
-sorry:
-mes "[Exorcist Master Fahae]";
-mes "You must not be stingy, it is the path of God to be honest.";
-close;
+L_SORRY:
+ mes "[Exorcist Master Fahae]";
+ mes "You must not be stingy, it is the path of God to be honest.";
+ close;
-finish:
-mes "[Exorcist Master Fahae]";
-mes "The path of fully venquishing evil is far, help me in the way of God.";
-close;
+M_FIN:
+ mes "[Exorcist Master Fahae]";
+ mes "The path of fully venquishing evil is far, help me in the way of God.";
+ close;
-herb:
-mes "[Exorcist Master Fahae]";
-mes "How many do you require?";
-mes "You may only buy 5 at one time.";
-mes "Each costs 10000z.";
-mes "(Type in 0 to cancel)";
-next;
-input @input;
-if(@input<0) goto end;
-if(@input>5) goto sorry;
-if(Zeny< @input*10000) goto no_money;
-getitem 683,@input;
-set Zeny,Zeny-10000*@input;
-mes "[Exorcist Master Fahae]";
-mes "Here you go, I hope you may succeed in my quest.";
-close;
-
-no_money:
-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;
-
+M_HERB:
+ mes "[Exorcist Master Fahae]";
+ mes "How many do you require?";
+ mes "You may only buy 5 at one time.";
+ mes "Each costs 10000z.";
+ mes "(Type in 0 to cancel)";
+ next;
+ input @input;
+ if(@input==0) close;
+ if(@input>5) goto L_SORRY;
+ if(Zeny< @input*10000) goto L_NOZENY;
+ set Zeny,Zeny-10000*@input;
+ getitem 683,@input;
+ mes "[Exorcist Master Fahae]";
+ mes "Here you go, I hope you may succeed in my quest.";
+ close;
+L_NOZENY:
+ 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;
}
//////////////////////////////////////////////