From 288490094a7fe9167747dc78d416940759a31197 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Tue, 5 Dec 2006 13:23:07 +0000 Subject: - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/merchants/milk_trader.txt | 122 +++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 61 deletions(-) (limited to 'npc/merchants/milk_trader.txt') diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt index 42be03f63..559c1cc0d 100644 --- a/npc/merchants/milk_trader.txt +++ b/npc/merchants/milk_trader.txt @@ -1,61 +1,61 @@ -//===== eAthena Script ======================================= -//= Milk Trader -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.2a -//===== Compatible With: ===================================== -//= eAthena 7.15 + -//===== Description: ========================================= -//= trades bottles for milk -//===== Additional Comments: ================================= -//= Fully working -//= 1.1 Negative input bug fixed [Lupus] -//= 1.2 Raised the price to close zeny exploit [Lupus] -//= 1.2a Switched to Lupus's "loopless" technique.[kobra_k88] -//============================================================ - - -// Milk Trader ------------------------------------------------------------- -prontera.gat,71,131,7 script Milk Trader 86,{ - mes "[Milk Trader]"; - mes "If you bring me an empty bottle and 20 Zeny, I will exchange it for 1 bottle of milk."; - next; - menu "-Exchange as many as possible.",M_0, "-Let me set the amount.",M_1, "-Cancel",M_End; - - M_0: - set @amount, 1000; - if(zeny/20 < @amount) set @amount, zeny/20; - if(countitem(713) < @amount) set @amount, countitem(713); - if(@amount > 0) goto L_Milk; - mes "[Milk Trader]"; - mes "..... Are you trying to make a fool of me.... ?"; - close; - - M_1: - input @amount; - if(@amount < 1 || @amount > 1000) goto M_End; - if(countitem(713) < @amount) goto L_NoBottle; - if(zeny < (@amount*20)) goto L_NoZeny; - - L_Milk: - set zeny, zeny - (@amount*20); - delitem 713, @amount; - getitem 519, @amount; - - M_End: - mes "[Milk Trader]"; - mes "Come back anytime."; - close; - - L_NoBottle: - mes "[Milk Trader]"; - mes "Ok, empty bottle please! Empty Bottle!!"; - mes "... Aww.. you don't have enough...?"; - close; - - L_NoZeny: - mes "[Milk Trader]"; - mes "You need more zeny."; - close; -} +//===== eAthena Script ======================================= +//= Milk Trader +//===== By: ================================================== +//= kobra_k88 +//===== Current Version: ===================================== +//= 1.2a +//===== Compatible With: ===================================== +//= eAthena 7.15 + +//===== Description: ========================================= +//= trades bottles for milk +//===== Additional Comments: ================================= +//= Fully working +//= 1.1 Negative input bug fixed [Lupus] +//= 1.2 Raised the price to close zeny exploit [Lupus] +//= 1.2a Switched to Lupus's "loopless" technique.[kobra_k88] +//============================================================ + + +// Milk Trader ------------------------------------------------------------- +prontera.gat,71,131,7 script Milk Trader 86,{ + mes "[Milk Trader]"; + mes "If you bring me an empty bottle and 20 Zeny, I will exchange it for 1 bottle of milk."; + next; + menu "-Exchange as many as possible.",M_0, "-Let me set the amount.",M_1, "-Cancel",M_End; + + M_0: + set @amount, 1000; + if(zeny/20 < @amount) set @amount, zeny/20; + if(countitem(713) < @amount) set @amount, countitem(713); + if(@amount > 0) goto L_Milk; + mes "[Milk Trader]"; + mes "..... Are you trying to make a fool of me.... ?"; + close; + + M_1: + input @amount; + if(@amount < 1 || @amount > 1000) goto M_End; + if(countitem(713) < @amount) goto L_NoBottle; + if(zeny < (@amount*20)) goto L_NoZeny; + + L_Milk: + set zeny, zeny - (@amount*20); + delitem 713, @amount; + getitem 519, @amount; + + M_End: + mes "[Milk Trader]"; + mes "Come back anytime."; + close; + + L_NoBottle: + mes "[Milk Trader]"; + mes "Ok, empty bottle please! Empty Bottle!!"; + mes "... Aww.. you don't have enough...?"; + close; + + L_NoZeny: + mes "[Milk Trader]"; + mes "You need more zeny."; + close; +} -- cgit v1.2.3-70-g09d2