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/the_sign_quest.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'npc/quests/the_sign_quest.txt') diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt index 4c97821aa..ba0d259e9 100644 --- a/npc/quests/the_sign_quest.txt +++ b/npc/quests/the_sign_quest.txt @@ -4438,7 +4438,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ else { mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; - set Zeny, Zeny-10000; + Zeny -= 10000; specialeffect EF_COIN; close; } @@ -4520,7 +4520,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ mes "to me tomorrow night and"; mes "we'll start your test..."; set sign_q,27; - set Zeny, Zeny-30000; + Zeny -= 30000; } close; case 2: @@ -4768,7 +4768,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ mes "um, ''Bakerlan'' in Alberta."; set sign_q,35; getitem 7177,1; //Part_Of_Star's_Sob - set Zeny, Zeny+20000; + Zeny += 20000; if (checkre(3)) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 700,0; @@ -4813,7 +4813,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; mes "Giggle giggle.."; - set Zeny, Zeny-10000; + Zeny -= 10000; close; } } @@ -4826,7 +4826,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ mes "cash. You know, for old"; mes "time's sake. ^FF0000Yoink!^000000"; emotion e_gg; - set Zeny, Zeny-10000; + Zeny -= 10000; } else { mes "I got nothin' for you and"; @@ -6339,7 +6339,7 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{ mes "just one bottle, but this"; mes "stuff is extremely potent!"; next; - set Zeny, Zeny-10000; + Zeny -= 10000; delitem 526,10; //Royal_Jelly delitem 518,20; //Honey delitem 948,30; //Bear's_Foot @@ -11370,7 +11370,7 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{ mes "Heh heh!"; close; } - set Zeny, Zeny-40000; + Zeny -= 40000; close; case 2: mes "[Laichin]"; @@ -11389,7 +11389,7 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{ mes "crawling back when"; mes "you can't figure out"; mes "where the soul pieces are!"; - set Zeny, Zeny-40000; + Zeny -= 40000; if (.@select_s == 1) set sign_q,97; else if (.@select_s == 2) set sign_q,98; else if (.@select_s == 3) set sign_q,99; @@ -11425,7 +11425,7 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set Zeny, Zeny-60000; + Zeny -= 60000; if (.@select_s == 1) set sign_q,101; else if (.@select_s == 2) set sign_q,102; else if (.@select_s == 3) set sign_q,103; @@ -11486,7 +11486,7 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set Zeny, Zeny-20000; + Zeny -= 20000; if (sign_q == 97) set sign_q,101; else if (sign_q == 98) set sign_q,102; else if (sign_q == 99) set sign_q,103; -- cgit v1.2.3-70-g09d2