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/re/quests/eden/eden_iro.txt | 4 ++-- npc/re/quests/eden/eden_quests.txt | 16 ++++++++-------- npc/re/quests/eden/eden_service.txt | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'npc/re/quests/eden') diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt index b4400854f..f7481d04d 100644 --- a/npc/re/quests/eden/eden_iro.txt +++ b/npc/re/quests/eden/eden_iro.txt @@ -63,7 +63,7 @@ moc_para01,14,32,5 script Aperture#acolytewarp 4_F_01,{ specialeffect2 EF_TELEPORTATION; specialeffect2 EF_PORTAL; next; - set Zeny, Zeny - .@cost[.@i]; + Zeny -= .@cost[.@i]; switch(.@i) { case 0: warp "prontera",116,72; break; case 1: warp "izlude",128,98; break; @@ -585,7 +585,7 @@ moc_para01,174,33,3 script Bathory#2012spirits BATHORY,{ mes "[Bathory]"; mes "Alright, hold on tight!"; close2; - set Zeny, Zeny-1000; + Zeny -= 1000; warp "niflheim",194,185; end; case 2: diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt index c96d5a049..cebd70b87 100644 --- a/npc/re/quests/eden/eden_quests.txt +++ b/npc/re/quests/eden/eden_quests.txt @@ -3622,7 +3622,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ next; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered some HP and SP. -"; - set Zeny, Zeny - 2700; + Zeny -= 2700; percentheal 50,0; percentheal 0,50; close; @@ -3639,7 +3639,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ next; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered some HP and SP. -"; - set Zeny, Zeny - 3000; + Zeny -= 3000; percentheal 50,0; percentheal 0,50; close; @@ -3661,7 +3661,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ next; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered some HP and SP. -"; - set Zeny, Zeny - 3600; + Zeny -= 3600; percentheal 75,0; percentheal 0,75; close; @@ -3678,7 +3678,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ next; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered some HP and SP. -"; - set Zeny, Zeny - 4000; + Zeny -= 4000; percentheal 75,0; percentheal 0,75; close; @@ -3697,7 +3697,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ mes "- The Rib Eye Roll is grilled on the oak."; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered your HP and SP. -"; - set Zeny, Zeny - 4500; + Zeny -= 4500; percentheal 100,0; percentheal 0,100; close; @@ -3716,7 +3716,7 @@ moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ mes "- The Rib Eye Roll is grilled on the oak."; mes "- After eating the meal, You feel a little bit full."; mes "You've recovered your HP and SP. -"; - set Zeny, Zeny - 5000; + Zeny -= 5000; percentheal 100,0; percentheal 0,100; close; @@ -4580,7 +4580,7 @@ moc_para01,111,83,3 script Toren 2_M_OLDBLSMITH,{ mes "You dont have enough zeny."; close; } - set Zeny, Zeny - 250000; + Zeny -= 250000; getitem .@check[.@i],1; mes "[Toren]"; mes "These advanced gears are not easy to make, please take better care of this one."; @@ -4764,7 +4764,7 @@ moc_para01,112,79,3 script Weapons Expert 4_M_REPAIR,{ mes "Wait... Your Class doesn't have a weapon."; close; } - set Zeny, Zeny - 250000; + Zeny -= 250000; if (BaseClass == Job_Swordman) { mes "Swordman Class gets a choice of weapons, would you like to have a sword or a spear?"; callsub L_Select, diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt index 8335b9fbe..544c7b11a 100644 --- a/npc/re/quests/eden/eden_service.txt +++ b/npc/re/quests/eden/eden_service.txt @@ -41,7 +41,7 @@ mes "Maybe I am not yet qualified to use Cabinet."; close; } - set Zeny, Zeny - 500; + Zeny -= 500; close2; openstorage; end; -- cgit v1.2.3-70-g09d2