diff options
Diffstat (limited to 'npc/merchants/coin_exchange.txt')
-rw-r--r-- | npc/merchants/coin_exchange.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt index c52db9787..160a7e5bc 100644 --- a/npc/merchants/coin_exchange.txt +++ b/npc/merchants/coin_exchange.txt @@ -1,5 +1,5 @@ //===== Hercules Script ====================================== -//= Manuk & Splendide Coin Merchants +//= Coin Merchants //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== @@ -8,7 +8,7 @@ //= [Official Conversion] //= Coin redemption NPCs. //===== Additional Comments: ================================= -//= 1.0 First version +//= 1.0 First version //= 1.1 Fixed checkweight. [Gepard] //= 1.2 Optimized and merged into one file. [Euphy] //============================================================ @@ -28,34 +28,34 @@ mes "What are you looking for?"; next; if (strnpcinfo(1) == "Merchant of Manuk") { - setarray .@Items[2],12342,12343,12348; + setarray .@items[2],12342,12343,12348; set .@Book,11019; //Manuk_Selling_Item - set .@Coin,6080; //Manuk_Coin + set .@coin,6080; //Manuk_Coin set .@i, select("View item description:Manuk's Opportunity:Manuk's Courage:Manuk's Faith:Cancel"); } else { - setarray .@Items[2],12344,12345,12349; + setarray .@items[2],12344,12345,12349; set .@Book,11018; //Splendide_Selling_Item - set .@Coin,6081; //Splendide_Coin + set .@coin,6081; //Splendide_Coin set .@i, select("View item description:Buy Pinguicula's Fruit Jam:Buy Luciola's Honey Jam:Buy Cornus' Tears:Do nothing"); } mes .@n$; if (.@i == 1) { mes "Here are the item descriptions."; close2; - ReadBook .@Book,1; + readbook .@Book,1; end; } else if (.@i < 5) { - mes "I can sell you 3 "+getitemname(.@Items[.@i])+" for ^3131FF1 coin^000000."; + mes "I can sell you 3 "+getitemname(.@items[.@i])+" for ^3131FF1 coin^000000."; next; switch(select("Purchase:Do not purchase")) { case 1: - if (countitem(.@Coin)) { + if (countitem(.@coin)) { mes .@n$; mes "Thank you for coming."; - delitem .@Coin,1; - getitem .@Items[.@i],3; + delitem .@coin,1; + getitem .@items[.@i],3; close; } else { @@ -83,5 +83,5 @@ close; } } -man_in01,286,16,1 duplicate(merchant_13_2) Merchant of Manuk 454 -spl_in01,110,326,5 duplicate(merchant_13_2) Merchant of Splendide 439
\ No newline at end of file +man_in01,286,16,1 duplicate(merchant_13_2) Merchant of Manuk 4_MAN_PIOM +spl_in01,110,326,5 duplicate(merchant_13_2) Merchant of Splendide 4_F_FAIRYKID4 |