From ff5e9eebcc2b116f37bb6f909f3f60f902bb462d Mon Sep 17 00:00:00 2001 From: Mass Date: Sat, 27 Nov 2004 12:50:22 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@380 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/cities/louyang.txt | 319 ------------------------------------------------- 1 file changed, 319 deletions(-) diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt index f0f2695bf..14b7fffcb 100644 --- a/npc/cities/louyang.txt +++ b/npc/cities/louyang.txt @@ -62,323 +62,4 @@ 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 -- cgit v1.2.3-70-g09d2