From 94ac9fe3303c4d604485a4784e8f5c99f5457863 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru] --- npc/quests/quests_ayothaya.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/quests/quests_ayothaya.txt') diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt index 954c532a1..5a30866f7 100644 --- a/npc/quests/quests_ayothaya.txt +++ b/npc/quests/quests_ayothaya.txt @@ -862,7 +862,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{ mes "^3355FFYou've hooked a Phen!^000000"; next; delitem 528,1; //Monster's_Feed - set Zeny, Zeny-50; + Zeny -= 50; set .@randfish,rand(1,100); if (.@randfish > 0 && .@randfish < 40) { mes "^3355FFWhile cooking the Phen, you"; @@ -2546,7 +2546,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{ if (select("I will take them.:I could get 100 Jellopies for that much!") == 1) { if (Zeny > 10999) { if (MaxWeight - Weight > 3999) { - set Zeny, Zeny-11000; + Zeny -= 11000; set tomyumgoong,3; getitem 567,20; //Prawn emotion e_no1; @@ -2590,7 +2590,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{ if (select("Yes!:No, thanks.") == 1) { if (Zeny > 10999) { if (MaxWeight - Weight > 3999) { - set Zeny, Zeny-11000; + Zeny -= 11000; getitem 567,20; //Prawn mes "[Thongpool]"; mes "There you go~"; @@ -2941,7 +2941,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{ emotion e_thx; if (Zeny > 1999) { if (MaxWeight - Weight > 1199) { - set Zeny, Zeny-2000; + Zeny -= 2000; set tomyumgoong,7; getitem 7286,30; //Chilli mes "[Merchant Thongdum]"; @@ -2997,7 +2997,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{ } if (Zeny > 1999) { if (MaxWeight - Weight > 1199) { - set Zeny, Zeny-2000; + Zeny -= 2000; getitem 7286,30; //Chilli mes "[Merchant Thongdum]"; mes "Thank you,"; -- cgit v1.2.3-70-g09d2