diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-20 02:06:41 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-20 02:06:41 +0000 |
commit | 0836d92ab347ad3e8c5b35a360a20367e1ef9f36 (patch) | |
tree | 5fa5190eb4f5307c570bc15e15afe4c40901bcee /npc/merchants/diamond.txt | |
parent | 1cf8506c4b51235a0e48cd7d55559062b782315f (diff) | |
download | hercules-0836d92ab347ad3e8c5b35a360a20367e1ef9f36.tar.gz hercules-0836d92ab347ad3e8c5b35a360a20367e1ef9f36.tar.bz2 hercules-0836d92ab347ad3e8c5b35a360a20367e1ef9f36.tar.xz hercules-0836d92ab347ad3e8c5b35a360a20367e1ef9f36.zip |
* Optimized "Guild Battle NPC" (other\guildpvp.txt)
* Cleanup of "Gonryun Power Arena" script (other\powernpc.txt)
* Condensed "Seal Status" script a little bit (other\sealstatus.txt)
* Other general cleaning... :3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16323 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/diamond.txt')
-rw-r--r-- | npc/merchants/diamond.txt | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/npc/merchants/diamond.txt b/npc/merchants/diamond.txt index b6b42ec83..118a3d111 100644 --- a/npc/merchants/diamond.txt +++ b/npc/merchants/diamond.txt @@ -50,10 +50,8 @@ next; set .@menu$, "^FF82FF'17 Carat Diamond'^000000?"; - - if (countitem(6024)) { - set .@menu$, .@menu$ + ":Exchange my 17 Carat Diamond for zeny.."; - } + if (countitem(6024)) + set .@menu$, .@menu$ + ":Exchange my 17 Carat Diamond for zeny..."; switch(select(.@menu$)) { case 1: @@ -109,7 +107,6 @@ next; while(1) { - if (select("^B9062FI will sign the contract.^000000:^828282Nevermind, I changed my mind.^000000") == 2) { mes .@npc$; mes "I see, that's too bad.."; @@ -129,7 +126,6 @@ next; input .@charname$; - if (.@charname$ == strcharinfo(0)) { mes .@npc$; mes "Okay, good."; @@ -145,11 +141,8 @@ mes "Calculating the price and service fee.."; mes "501,000,000 zeny."; mes "Amount has been confirmed."; - emotion e_loud; - set Zeny, Zeny - 501000000; - getitem 6024, 1; next; @@ -157,9 +150,7 @@ mes "You may exchange the diamond back for zeny at any time."; mes "However, there will be a 1,000,000z service fee."; mes "Thank you for your business."; - emotion e_thx; - close; } else { @@ -168,9 +159,7 @@ mes "I'm sorry, but you don't have sufficient funds."; mes "Including the service fee, a total of 501,000,000z is required."; mes "Please check your zeny balance and try again."; - emotion e_hmm; - close; } } @@ -184,15 +173,12 @@ case 2: mes .@npc$; mes "AAH. You would like to exchange your ^FF82FF'17 Carat Diamond'^000000 for zeny?"; - emotion e_gasp; next; - if (select("Yes:No") == 2) { mes .@npc$; mes "Then, what is it you desire?.."; mes ". . . . . ...."; - emotion e_dots; close; } @@ -223,7 +209,6 @@ } input .@charname$; - if (.@charname$ == strcharinfo(0)) { mes .@npc$; mes "Your signature has been received."; @@ -235,11 +220,8 @@ mes "Thank you for your business."; mes "Whenever you need a ^FF82FF'17 Carat Diamond'^000000,"; mes "come back anytime with 500 million zeny."; - emotion e_thx; - delitem 6024, 1; - set Zeny, Zeny + 499000000; close; } |