diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-10 20:33:57 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-10 20:33:57 +0000 |
commit | 297ec47268b9fe62dc08413306d66c143f3e9aea (patch) | |
tree | 8549a983bbb0727476ab231f850d5cb4663610e0 /npc/merchants/splendide.txt | |
parent | 72f7c891fd5b2bca64b8f366bced65ca568f77c2 (diff) | |
download | hercules-297ec47268b9fe62dc08413306d66c143f3e9aea.tar.gz hercules-297ec47268b9fe62dc08413306d66c143f3e9aea.tar.bz2 hercules-297ec47268b9fe62dc08413306d66c143f3e9aea.tar.xz hercules-297ec47268b9fe62dc08413306d66c143f3e9aea.zip |
* Optimized Splendide coin merchant and merged it to a template with Manuk's (merchants\coin_exchange.txt)
* Fixed and enabled a Manuk NPC (cities\manuk.txt)
* Other small changes and fixes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16773 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/splendide.txt')
-rw-r--r-- | npc/merchants/splendide.txt | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/npc/merchants/splendide.txt b/npc/merchants/splendide.txt deleted file mode 100644 index b8d4f8f71..000000000 --- a/npc/merchants/splendide.txt +++ /dev/null @@ -1,117 +0,0 @@ -//===== rAthena Script ======================================= -//= Splendide Merchant -//===== By: ================================================== -//= rAthena dev team -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= -//= [Aegis Conversion] -//= Splendide coin redemption NPC. -//===== Additional Comments: ================================= -//= 1.0 First version -//= 1.1 Fixed checkweight. [Gepard] -//============================================================ - -spl_in01,110,326,5 script Merchant of Splendide 439,{ - if ((isequipped(2782) == 1) && (ep13_2_rhea == 100)) { - if (checkweight(1201,1) == 0) { - mes "[Merchant of Splendide]"; - mes "It looks like you're carrying too many things."; - mes "Why not put some of your items in storage and come back?"; - close; - } - mes "[Merchant of Splendide]"; - mes "Hello."; - mes "What are you looking for?"; - next; - switch(select("View item description:Buy Pinguicula's fruit Jam:Buy Luciola's Honey Jam:Buy Cornus' Tears:Do nothing")) { - case 1: - mes "[Merchant of Splendide]"; - mes "Would you like to see the item description?"; - close2; - ReadBook 11018,1; - end; - case 2: - mes "[Merchant of Splendide]"; - mes "I can sell you 3 Pinguicula's fruit Jam for^3131FF 1 coin^000000"; - next; - switch(select("Purchase:Do not purchase.")) { - case 1: - if (countitem(6081) > 0) { - mes "[Merchant of Splendide]"; - mes "Thank you for coming."; - delitem 6081,1; //Splendide_Coin - getitem 12344,3; //Pinguicula's_fruit_Jam - close; - } - else { - mes "[Merchant of Splendide]"; - mes "You don't have enough coins."; - close; - } - case 2: - mes "[Merchant of Splendide]"; - mes "Come again if you change your mind."; - close; - } - case 3: - mes "[Merchant of Splendide]"; - mes "I can sell you 3 Luciola's Honey Jam for^3131FF 1 coin^000000"; - next; - switch(select("Purchase:Do not purchase.")) { - case 1: - if (countitem(6081) > 0) { - mes "[Merchant of Splendide]"; - mes "Thank you for coming."; - delitem 6081,1; //Splendide_Coin - getitem 12345,3; //Luciola's_Honey_Jam - close; - } - else { - mes "[Merchant of Splendide]"; - mes "You don't have enough coins."; - close; - } - case 2: - mes "[Merchant of Splendide]"; - mes "Come again if you change your mind."; - close; - } - case 4: - mes "[Merchant of Splendide]"; - mes "I can sell you 3 Cornus' Tears for^3131FF 1 coin^000000"; - next; - switch(select("Purchase:Do not purchase.")) { - case 1: - if (countitem(6081) > 0) { - mes "[Merchant of Splendide]"; - mes "Thank you for coming."; - delitem 6081,1; //Splendide_Coin - getitem 12349,3; //Cornus'_Tears - close; - } - else { - mes "[Merchant of Splendide]"; - mes "You don't have enough coins."; - close; - } - case 2: - mes "[Merchant of Splendide]"; - mes "Come again if you change your mind."; - close; - } - case 5: - mes "[Merchant of Splendide]"; - mes "Come again if you change your mind."; - close; - } - } - else { - mes "[Merchant of Splendide]"; - mes "BurWehAla"; - mes "tasnarAndu Ie Ru"; - close; - } -} |