summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorMass <Mass@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-27 12:20:22 +0000
committerMass <Mass@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-27 12:20:22 +0000
commitb01879bf7be14540a9cba05469fc8457b0895582 (patch)
tree09e6e1b67f0b1a2cfa1f34083651c6386120075b /npc
parent6a028dc7436f9a78e936a7506d7c2859a7ddc6d3 (diff)
downloadhercules-b01879bf7be14540a9cba05469fc8457b0895582.tar.gz
hercules-b01879bf7be14540a9cba05469fc8457b0895582.tar.bz2
hercules-b01879bf7be14540a9cba05469fc8457b0895582.tar.xz
hercules-b01879bf7be14540a9cba05469fc8457b0895582.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@377 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/cities/louyang.txt384
1 files changed, 384 insertions, 0 deletions
diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt
new file mode 100644
index 000000000..f0f2695bf
--- /dev/null
+++ b/npc/cities/louyang.txt
@@ -0,0 +1,384 @@
+//===== eAthena Script =======================================
+//= Lou Yang City NPC's
+//===== By: ==================================================
+//= Vidar (1.0)
+//= Mass Zero (1.1)
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any eAthena Version
+//===== Description: =========================================
+//= Unofficial NPC's for Lou Yang city.
+//===== Additional Comments: =================================
+//= Originally made for Vidar
+//============================================================
+
+louyang.gat,260,96,2 script Chun Hua 770,{
+mes "[^000080Chun Hua^000000]";
+mes "Welcome traveler, you must be hungry and thirsty.";
+mes "Please come inside, there is much to eat.";
+next;
+mes "[^000080Chun Hua^000000]";
+mes "Do not be afraid about how much you ask for, there is much to go around.";
+close;
+}
+
+lou_fild01.gat,188,102,1 script Extraordinary Sailor 100,{
+mes "[Extraordinary Sailor]";
+mes "We run a line to Alberta, we could take you there if you like.";
+next;
+menu "Let me travel to Alberta",L_Menu1,"No, thanks",L_Menu2;
+close;
+L_Menu1:
+warp "alberta.gat",247,44;
+L_Menu2:
+mes "[Extraordinary Sailor]";
+mes "Suit yourself.";
+close;
+}
+
+alberta.gat,247,42,4 script Expert Sailor 100,{
+mes "[Expert Sailor]";
+mes "Have you ever been over seas?";
+next;
+menu "Yes",YES,"No",NO;
+YES:
+mes "Same here! I'm about to head back out that way again.";
+mes "Would you like to come with me?";
+next;
+menu "Sure",L_Menu1,"No, thanks",L_Menu3;
+close;
+L_Menu1:
+warp "lou_fild01.gat",192,105;
+NO:
+mes "What a shame, it is truley a sight to behold. I'm about to head back out that way again.";
+mes "Would you like to come with me?";
+next;
+menu "Sure",L_Menu2,"No, thanks",L_Menu3;
+close;
+L_Menu2:
+warp "lou_fild01.gat",192,105;
+L_Menu3:
+mes "[Expert Sailor]";
+mes "Suit yourself.";
+close;
+}
+
+louyang.gat,247,147,3 script Huang Xing 59,{
+mes "[^000080Huang Xing^000000]";
+mes "Hello traveler.";
+mes "Is there anything you need?";
+next;
+MNU:
+menu "Full Heal (1000z)",LHeal,"Red Herbs (18z)",L0,"Yellow Herbs (40z)",L1,"White Herbs (120z)",L2,"Blue Herbs (60z)",L3,"Green Herbs (10z)",L4,"Holy Water (20z)",L5,"Rice Cake (50z)",L6,"Red Potions (50z)",L7,"Orange Potions (200z)",L8,"Yellow Potions (550z)",L9,"White Potions (1200z)",L10,"Blue Potions (5000z)",L11,"Green Potions (40z)",L12,"Leaflet of Hinal (150z)",L13,"Leaflet of Aloe (360z)",L14,"Panacea (500z)",L15,"Mastela Fruit (840z)",L16,"Yggdrasilberry (5000z)",L17,"Yggdrasil Leaf (8000z)",L18;
+LHeal:
+if(Zeny < 1000) goto EXIT;
+set Zeny,Zeny-1000;
+heal 30000,30000;
+mes "[^000080Huang Xing^000000]";
+mes "Take care.";
+close;
+EXIT:
+mes "[^000080Huang Xing^000000]";
+mes "I'm sorry, but you don't have enough zeny.";
+goto ASK;
+L0:
+mes "[^000080Huang Xing^000000]";
+mes "How many Red Herbs would you like to buy?";
+mes "The cost is 18 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*18;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(507,@ITEM) > weight) goto EXIT1;
+getitem 507,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+close;
+ASK:
+next;
+mes "[^000080Huang Xing^000000]";
+mes "Is there anything else that you'd like?";
+next;
+menu "Yes",MNU,"No",LNo;
+LNo:
+mes "[^000080Huang Xing^000000]";
+mes "Very well, good luck on your travels.";
+close;
+L1:
+mes "[^000080Huang Xing^000000]";
+mes "How many Yellow Herbs would you like to buy?";
+mes "The cost is 40 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*40;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(508,@ITEM) > weight) goto EXIT1;
+getitem 508,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L2:
+mes "[^000080Huang Xing^000000]";
+mes "How many Yellow Herbs would you like to buy?";
+mes "The cost is 120 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*120;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(509,@ITEM) > weight) goto EXIT1;
+getitem 509,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L3:
+mes "[^000080Huang Xing^000000]";
+mes "How many Blue Herbs would you like to buy?";
+mes "The cost is 60 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*60;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(510,@ITEM) > weight) goto EXIT1;
+getitem 510,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L4:
+mes "[^000080Huang Xing^000000]";
+mes "How many Green Herbs would you like to buy?";
+mes "The cost is 10 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*10;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(511,@ITEM) > weight) goto EXIT1;
+getitem 511,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L5:
+mes "[^000080Huang Xing^000000]";
+mes "How many Holy Waters would you like to buy?";
+mes "The cost is 20 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*20;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(523,@ITEM) > weight) goto EXIT1;
+getitem 523,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L6:
+mes "[^000080Huang Xing^000000]";
+mes "How many Rice Cakes would you like to buy?";
+mes "The cost is 50 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*50;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(555,@ITEM) > weight) goto EXIT1;
+getitem 555,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L7:
+mes "[^000080Huang Xing^000000]";
+mes "How many Red Potions would you like to buy?";
+mes "The cost is 50 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*50;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(501,@ITEM) > weight) goto EXIT1;
+getitem 501,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L8:
+mes "[^000080Huang Xing^000000]";
+mes "How many Orange Potions would you like to buy?";
+mes "The cost is 200 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*200;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(502,@ITEM) > weight) goto EXIT1;
+getitem 502,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L9:
+mes "[^000080Huang Xing^000000]";
+mes "How many Yellow Potions would you like to buy?";
+mes "The cost is 550 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*550;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(503,@ITEM) > weight) goto EXIT1;
+getitem 503,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L10:
+mes "[^000080Huang Xing^000000]";
+mes "How many White Potions would you like to buy?";
+mes "The cost is 1200 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*1200;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(504,@ITEM) > weight) goto EXIT1;
+getitem 504,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L11:
+mes "[^000080Huang Xing^000000]";
+mes "How many Blue Potions would you like to buy?";
+mes "The cost is 5000 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*5000;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(505,@ITEM) > weight) goto EXIT1;
+getitem 505,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L12:
+mes "[^000080Huang Xing^000000]";
+mes "How many Green Potions would you like to buy?";
+mes "The cost is 40 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*40;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(506,@ITEM) > weight) goto EXIT1;
+getitem 506,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L13:
+mes "[^000080Huang Xing^000000]";
+mes "How many Leaflets of Hinal would you like to buy?";
+mes "The cost is 150 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*150;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(520,@ITEM) > weight) goto EXIT1;
+getitem 520,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L14:
+mes "[^000080Huang Xing^000000]";
+mes "How many Leaflets of Aloe would you like to buy?";
+mes "The cost is 360 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*360;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(521,@ITEM) > weight) goto EXIT1;
+getitem 521,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L15:
+mes "[^000080Huang Xing^000000]";
+mes "How many Panaceas would you like to buy?";
+mes "The cost is 500 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*500;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(525,@ITEM) > weight) goto EXIT1;
+getitem 525,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L16:
+mes "[^000080Huang Xing^000000]";
+mes "How many Mastela Fruits would you like to buy?";
+mes "The cost is 840 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*840;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(522,@ITEM) > weight) goto EXIT1;
+getitem 522,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L17:
+mes "[^000080Huang Xing^000000]";
+mes "How many Yggdrasilberries would you like to buy?";
+mes "The cost is 5000 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*5000;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(607,@ITEM) > weight) goto EXIT1;
+getitem 607,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+L18:
+mes "[^000080Huang Xing^000000]";
+mes "How many Yggdrasil Leaves would you like to buy?";
+mes "The cost is 8000 zeny per unit.";
+next;
+input @ITEM;
+set @COST,@ITEM*8000;
+if(Zeny < @COST) goto EXIT;
+if(checkweight(610,@ITEM) > weight) goto EXIT1;
+getitem 610,@ITEM;
+set Zeny,Zeny-@COST;
+mes "[^000080Huang Xing^000000]";
+mes "Thank you.";
+next;
+goto ASK;
+EXIT1:
+mes "[^000080Huang Xing^000000]";
+mes "I'm sorry, but you can't hold that many items.";
+next;
+goto ASK;
+} \ No newline at end of file