From 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Cleaned up Zeny manipulation in scripts. --- npc/quests/quests_aldebaran.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/quests/quests_aldebaran.txt') diff --git a/npc/quests/quests_aldebaran.txt b/npc/quests/quests_aldebaran.txt index 17fd9190e..00490940d 100644 --- a/npc/quests/quests_aldebaran.txt +++ b/npc/quests/quests_aldebaran.txt @@ -41,7 +41,7 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{ delitem 2275,1; //Red_Bandana delitem 998,50; //Iron delitem 733,1; //Crystal_Jewel___ - set Zeny, Zeny-3500; + Zeny -=3500; mes "[Trader]"; mes "Hm! You don't have a medical license, do you? It's alright, I've heard about a rogue, unlicensed physician who performed medical miracles! But... That might have been a comic book."; next; @@ -61,7 +61,7 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{ if ((countitem(2247) > 0) && (countitem(916) > 299) && (Zeny > 499)) { delitem 2247,1; //Oldman's_Romance delitem 916,300; //Feather_Of_Birds - set Zeny, Zeny-500; + Zeny -=500; mes "[Trader]"; mes "Ooh~! You have good fashion sense. I know you've had a hard time collecting this stuff, but this hat is worth it. Take it. All you need now is a fur coat and a cane!"; getitem 5018,1; //Feather_Bonnet @@ -77,7 +77,7 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{ if ((countitem(998) > 19) && (countitem(707) > 0) && (Zeny > 4999)){ //Iron Singing_Plant delitem 998,20; //Iron delitem 707,1; //Singing_Plant - set Zeny, Zeny-5000; + Zeny -=5000; mes "[Trader]"; mes "This one? It's a little bit scary, though it has some sort of romantic quality. What do you think? You like it? Alright, take it, it's yours!"; getitem 2281,1; //Phantom_Of_Opera @@ -91,7 +91,7 @@ aldeba_in,152,166,4 script Trader#01 4_M_04,{ case 4: if ((countitem(1019) > 119) && (Zeny > 9999)){ //Wooden_Block delitem 1019,120; //Wooden_Block - set Zeny, Zeny-10000; + Zeny -=10000; mes "[Trader]"; mes "If you have a chance to visit the Uplander Village, Payon, please go and meet the Sakkat Craftsman."; next; -- cgit v1.2.3-70-g09d2