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/bard_quest.txt | 2 +- npc/quests/cooking_quest.txt | 6 +++--- npc/quests/counteragent_mixture.txt | 4 ++-- npc/quests/dandelion_request.txt | 8 ++++---- npc/quests/eye_of_hellion.txt | 2 +- npc/quests/first_class/tu_archer.txt | 2 +- npc/quests/first_class/tu_magician01.txt | 2 +- npc/quests/first_class/tu_merchant.txt | 30 +++++++++++++++--------------- npc/quests/first_class/tu_thief01.txt | 4 ++-- npc/quests/gunslinger_quests.txt | 10 +++++----- npc/quests/juice_maker.txt | 2 +- npc/quests/kiel_hyre_quest.txt | 4 ++-- npc/quests/mage_solution.txt | 4 ++-- npc/quests/monstertamers.txt | 2 +- npc/quests/newgears/2004_headgears.txt | 20 ++++++++++---------- npc/quests/newgears/2005_headgears.txt | 12 ++++++------ npc/quests/newgears/2006_headgears.txt | 4 ++-- npc/quests/ninja_quests.txt | 32 ++++++++++++++++---------------- npc/quests/quests_13_1.txt | 18 +++++++++--------- npc/quests/quests_13_2.txt | 8 ++++---- npc/quests/quests_alberta.txt | 2 +- npc/quests/quests_aldebaran.txt | 8 ++++---- npc/quests/quests_amatsu.txt | 10 +++++----- npc/quests/quests_ayothaya.txt | 10 +++++----- npc/quests/quests_ein.txt | 10 +++++----- npc/quests/quests_geffen.txt | 2 +- npc/quests/quests_hugel.txt | 14 +++++++------- npc/quests/quests_izlude.txt | 4 ++-- npc/quests/quests_lighthalzen.txt | 20 ++++++++++---------- npc/quests/quests_louyang.txt | 10 +++++----- npc/quests/quests_morocc.txt | 14 +++++++------- npc/quests/quests_moscovia.txt | 20 ++++++++++---------- npc/quests/quests_nameless.txt | 16 ++++++++-------- npc/quests/quests_payon.txt | 2 +- npc/quests/quests_prontera.txt | 4 ++-- npc/quests/quests_rachel.txt | 4 ++-- npc/quests/quests_veins.txt | 8 ++++---- npc/quests/quests_yuno.txt | 4 ++-- npc/quests/seals/brisingamen_seal.txt | 6 +++--- npc/quests/skills/bard_skills.txt | 4 ++-- npc/quests/skills/blacksmith_skills.txt | 2 +- npc/quests/thana_quest.txt | 6 +++--- npc/quests/the_sign_quest.txt | 20 ++++++++++---------- 43 files changed, 188 insertions(+), 188 deletions(-) (limited to 'npc/quests') diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt index 630b15196..d9382593e 100644 --- a/npc/quests/bard_quest.txt +++ b/npc/quests/bard_quest.txt @@ -1127,7 +1127,7 @@ S_StorySong: case 1: mes "[Errende]"; if (Zeny > 499) { - set Zeny, Zeny-500; + Zeny -= 500; cutin "bard_eland03",2; mes "Alright."; mes "Here we go~"; diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt index 28f5e26b0..4c2a84ea7 100644 --- a/npc/quests/cooking_quest.txt +++ b/npc/quests/cooking_quest.txt @@ -2108,7 +2108,7 @@ S_SellSets: mes getitemname(getarg(0))+"..."; close; } - set Zeny, Zeny-.@total_cost; + Zeny -= .@total_cost; getitem getarg(0),.@sell; mes "[Madeleine Chu]"; mes "Here you are~"; @@ -2196,7 +2196,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{ mes "raise 200 zeny, right?"; close; } - set Zeny, Zeny-200; + Zeny -= 200; getitem 555,1; //Rice_Cake mes "[Chulsoo]"; mes "Thank you very"; @@ -2367,7 +2367,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{ mes "raise 200 zeny, right?"; close; } - set Zeny, Zeny-200; + Zeny -= 200; getitem 555,1; //Rice_Cake mes "[Chulsoo]"; mes "Thank you very"; diff --git a/npc/quests/counteragent_mixture.txt b/npc/quests/counteragent_mixture.txt index 9d5b82ae4..ed8152a06 100644 --- a/npc/quests/counteragent_mixture.txt +++ b/npc/quests/counteragent_mixture.txt @@ -469,7 +469,7 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{ delitem 970,1; //Alchol delitem 971,1; //Detrimindexta delitem 713,1; //Empty_Bottle - set Zeny, Zeny-3000; + Zeny -= 3000; getitem 973,1; //Counteragent mes "[Chemist Molgenstein]"; mes "Hee hee hee..."; @@ -513,7 +513,7 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{ delitem 970,1; //Alchol delitem 972,1; //Karvodailnirol delitem 713,1; //Empty_Bottle - set Zeny, Zeny-4000; + Zeny -= 4000; getitem 974,1; //Mixture mes "[Chemist Molgenstein]"; mes "Hee hee hee..."; diff --git a/npc/quests/dandelion_request.txt b/npc/quests/dandelion_request.txt index e278a4773..d733a374b 100644 --- a/npc/quests/dandelion_request.txt +++ b/npc/quests/dandelion_request.txt @@ -2190,7 +2190,7 @@ OnTouch: mes "tired. Let me take a"; mes "freakin' 20 second yawn."; mes "*Yaaaaaaaaaaaaaaaaaaaaaaaaaawn*"; - set Zeny,Zeny - 1000; + Zeny -= 1000; close2; warp "que_job01",9,94; end; @@ -2309,7 +2309,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - set Zeny,Zeny - 1000; + Zeny -= 1000; next; mes "[Litheron]"; mes "Alright, you can come"; @@ -2473,7 +2473,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{ mes "ask you for 800. Enjoy it,"; mes "my friend, and drink it as"; mes "deeply as you would life."; - set Zeny,Zeny - 800; + Zeny -= 800; if(.@maodrink) getitem 12112,1; else getitem 12113,1; close; @@ -2495,7 +2495,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{ mes "hard feelings, but you're"; mes "already lucky to be here."; mes "Hey, enjoy your drink~"; - set Zeny,Zeny - 1000; + Zeny -= 1000; if(.@maodrink) getitem 12112,1; else getitem 12113,1; close; diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt index 135fc768b..6feb07f81 100644 --- a/npc/quests/eye_of_hellion.txt +++ b/npc/quests/eye_of_hellion.txt @@ -1371,7 +1371,7 @@ payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{ mes "clean and pure Skirt of Virgin."; mes "If you got any more questions,"; mes "I guess you can ask me later~"; - set Zeny, Zeny-10000; + Zeny -= 10000; set HELLIONQ,48; getitem 953,1; //Stone_Heart getitem 511,1; //Green_Herb diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt index 247aa0329..09f758959 100644 --- a/npc/quests/first_class/tu_archer.txt +++ b/npc/quests/first_class/tu_archer.txt @@ -1591,7 +1591,7 @@ pay_arche,130,113,3 script Alchemist Guildmember#tu 2_M_ALCHE,{ delitem 1032, .@alche_f; //Blossom_Of_Maneater delitem 905, .@alche_s; //Stem } - set Zeny,Zeny+.@total_zeny; + Zeny += .@total_zeny; close; case 2: mes "[Alchemist Guildmember]"; diff --git a/npc/quests/first_class/tu_magician01.txt b/npc/quests/first_class/tu_magician01.txt index 97ac69dcb..dc43a7852 100644 --- a/npc/quests/first_class/tu_magician01.txt +++ b/npc/quests/first_class/tu_magician01.txt @@ -786,7 +786,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "again, thanks very much~"; set tu_magician01, 28; getitem 2321,1; //Silk_Robe - set Zeny, Zeny + 3000; + Zeny += 3000; getexp 3000,1000; close; default: diff --git a/npc/quests/first_class/tu_merchant.txt b/npc/quests/first_class/tu_merchant.txt index 8636810bd..b760831df 100644 --- a/npc/quests/first_class/tu_merchant.txt +++ b/npc/quests/first_class/tu_merchant.txt @@ -710,7 +710,7 @@ prontera,66,111,3 script Sagle 4_KID01,{ mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?"; close; } else { - set Zeny, Zeny - 420; + Zeny -= 420; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -758,7 +758,7 @@ prontera,66,111,3 script Sagle 4_KID01,{ close2; end; } else { - set Zeny, Zeny - 410; + Zeny -= 410; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -805,7 +805,7 @@ prontera,66,111,3 script Sagle 4_KID01,{ mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?"; close; } else { - set Zeny, Zeny - 390; + Zeny -= 390; set tu_merchant, 9; getitem 501,10; //Red_Potion close; @@ -862,7 +862,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{ mes "You better put some of your stuff in Kafra Storage, you can't carry much else!"; close; } else { - set Zeny, Zeny - 340; + Zeny -= 340; set tu_merchant, 10; getitem 569,10; //Novice_Potion close; @@ -901,7 +901,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{ mes "You better put some of your stuff in Kafra Storage, you can't carry much else!"; close; } else { - set Zeny, Zeny - 390; + Zeny -= 390; set tu_merchant, 9; getitem 501,10; //Red_Potion close; @@ -940,7 +940,7 @@ prontera,93,330,3 script Kellion 4W_M_01,{ mes "You better put some of your stuff in Kafra Storage, you can't carry much else!"; close; } else { - set Zeny, Zeny - 400; + Zeny -= 400; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1000,7 +1000,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{ mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?"; close; } else { - set Zeny, Zeny - 390; + Zeny -= 390; set tu_merchant, 9; getitem 501,10; //Red_Potion close; @@ -1045,7 +1045,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{ mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?"; close; } else { - set Zeny, Zeny - 420; + Zeny -= 420; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1090,7 +1090,7 @@ prt_in,169,11,3 script Aigie 4_F_03,{ mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?"; close; } else { - set Zeny, Zeny - 340; + Zeny -= 340; set tu_merchant, 10; getitem 569,10; //Novice_Potion close; @@ -1145,7 +1145,7 @@ prontera,247,129,3 script Jayon 4_M_03,{ mes "You ought to free up some of your inventory space when you get the chance."; close; } else { - set Zeny, Zeny - 410; + Zeny -= 410; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1191,7 +1191,7 @@ prontera,247,129,3 script Jayon 4_M_03,{ mes "You ought to free up some of your inventory space when you get the chance."; close; } else { - set Zeny, Zeny - 400; + Zeny -= 400; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1238,7 +1238,7 @@ prontera,247,129,3 script Jayon 4_M_03,{ mes "You ought to free up some of your inventory space when you get the chance."; close; } else { - set Zeny, Zeny - 410; + Zeny -= 410; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1293,7 +1293,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{ mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items."; close; } else { - set Zeny, Zeny - 420; + Zeny -= 420; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1328,7 +1328,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{ mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items."; close; } else { - set Zeny, Zeny - 340; + Zeny -= 340; set tu_merchant, 10; getitem 501,10; //Red_Potion close; @@ -1363,7 +1363,7 @@ prt_in,251,129,3 script Maos 4_M_SEAMAN,{ mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items."; close; } else { - set Zeny, Zeny - 400; + Zeny -= 400; set tu_merchant, 10; getitem 501,10; //Red_Potion close; diff --git a/npc/quests/first_class/tu_thief01.txt b/npc/quests/first_class/tu_thief01.txt index 0c431951f..059a76477 100644 --- a/npc/quests/first_class/tu_thief01.txt +++ b/npc/quests/first_class/tu_thief01.txt @@ -570,7 +570,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "Hey, this stuff is yours. Think of it as a reward for helping us out. Take care of yourself now~"; set tu_thief01, 27; getitem 2307,1; //Mantle - set Zeny, Zeny + 5000; + Zeny += 5000; getexp 8000,3000; close; } @@ -693,7 +693,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "[Yierhan]"; mes "Hey, this stuff is yours. Think of it as a reward for helping us out. Right, and I'll let Mana know you did a great job. Take care of yourself now~"; set tu_magician01, 27; - set Zeny, Zeny + 5000; + Zeny += 5000; getexp 5000,2000; close; } diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt index a37841f89..539f6c4ae 100644 --- a/npc/quests/gunslinger_quests.txt +++ b/npc/quests/gunslinger_quests.txt @@ -311,7 +311,7 @@ SubGarrison: delitem 999,50; //Steel delitem 1003,50; //Coal delitem 7317,20; //Rusty Screw - set Zeny,Zeny-30000; + Zeny -= 30000; getitem 13104,1; //Garrison close; @@ -586,7 +586,7 @@ SubInferno: mes "I see you have the proper amount of materials and Zeny."; mes "Here is the Inferno I've created for you."; mes "Use it well."; - set Zeny,Zeny-200000; + Zeny -= 200000; delitem 7319,100; delitem 984,10; delitem 7317,50; @@ -859,7 +859,7 @@ SubDestroyer: mes "You've got the perfect materials and Zeny~"; mes "Here's the Destroyer I made ahead of time for you."; mes "Use it well."; - set Zeny,Zeny-100000; + Zeny -= 100000; delitem 7319,50; delitem 984,5; delitem 7317,70; @@ -993,7 +993,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{ mes "Please clear your inventory."; close; } - set Zeny,Zeny-100000; + Zeny -= 100000; set gun_na,0; getitem 13158,1; mes "[N. A]"; @@ -1022,7 +1022,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{ delitem 984,3; delitem 1003,70; delitem 7317,50; - set Zeny,Zeny-50000; + Zeny -= 50000; set gun_na,11; mes "[N. A]"; mes "Aha, you got me all the"; diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt index 3920de4b9..27d5e22cb 100644 --- a/npc/quests/juice_maker.txt +++ b/npc/quests/juice_maker.txt @@ -269,7 +269,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{ } delitem .@fruit,.@make; delitem 713,.@make; - set Zeny, Zeny-.@total_zeny; + Zeny -= .@total_zeny; getitem .@juice,.@make; mes "[Merchant Marx Hansen]"; diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt index ef15a7539..3083436cc 100644 --- a/npc/quests/kiel_hyre_quest.txt +++ b/npc/quests/kiel_hyre_quest.txt @@ -412,7 +412,7 @@ yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{ mes "Thank you so much"; mes "for helping me out~"; getitem 7487,1; //Tavern_Wine - set Zeny, Zeny+1000; + Zeny += 1000; close; } else { @@ -2226,7 +2226,7 @@ kh_vila,16,175,0 script Box#khp1 HIDDEN_NPC,{ mes "special about it"; mes "at all! It's just"; mes "normal Pet Food!"; - set Zeny, Zeny-1100; + Zeny -= 1100; getitem 537,1; //Pet_Food close; } diff --git a/npc/quests/mage_solution.txt b/npc/quests/mage_solution.txt index 8513ae8bf..2d4dcaab0 100644 --- a/npc/quests/mage_solution.txt +++ b/npc/quests/mage_solution.txt @@ -27,7 +27,7 @@ pay_arche,122,100,0 script Dollshoi 4_M_ORIENT01,{ close; } delitem 1092,1; //Empty_Cylinder - set Zeny, Zeny-50; + Zeny -= 50; getitem 1089,1; //Payon_Potion } close; @@ -48,7 +48,7 @@ moc_ruins,91,150,0 script Ponka-Hontas 4_F_04,{ close; } delitem 1092,1; //Empty_Cylinder - set Zeny, Zeny-50; + Zeny -= 50; getitem 1088,1; //Morocc_Potion } close; diff --git a/npc/quests/monstertamers.txt b/npc/quests/monstertamers.txt index 10f02435e..5ad2cbbdb 100644 --- a/npc/quests/monstertamers.txt +++ b/npc/quests/monstertamers.txt @@ -436,7 +436,7 @@ aldeba_in,168,175,4 script Monster Tamer#alde 4_M_TELEPORTER,{ mes "Rocker Glasses!"; delitem 912,2; //Zargon delitem 2208,1; //Ribbon - set Zeny,Zeny-400; + Zeny -= 400; getitem 10014,1; // Rocker_Glasses close; } diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt index a9ee31558..4ee75a969 100644 --- a/npc/quests/newgears/2004_headgears.txt +++ b/npc/quests/newgears/2004_headgears.txt @@ -68,7 +68,7 @@ payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{ delitem 2213,1; //Cat_Hairband delitem 983,1; //Black_Dyestuffs delitem 914,200; //Fluff - set Zeny, Zeny-10000; + Zeny -= 10000; getitem 5057,1; //Ear_Of_Black_Cat next; mes "[Neko Neko]"; @@ -250,7 +250,7 @@ geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{ mes "Hey, that looks pretty smooth! Oh, and uh, you can keep this leftover Stem."; delitem 2269,1; //Centimental_Flower delitem 999,10; //Steel - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5061,1; //Flower_Hairpin getitem 905,1; //Stem next; @@ -524,7 +524,7 @@ comodo,237,217,5 script Meruntei#1 4_M_JOB_HUNTER,{ delitem 5010,1; //Indian_Hair_Piece delitem 5049,1; //Stripe_Band delitem 7101,10; //Peco_Wing_Feather - set Zeny, Zeny-10000; + Zeny -= 10000; getitem 5071,1; //Indian_Headband next; mes "[Meruntei]"; @@ -708,7 +708,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{ mes "'Angel Wing Ears!'"; delitem 2254,1; //Angelic_Chain delitem 2286,1; //Elven_Ears - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5074,1; //Ear_Of_Angel's_Wing next; mes "[Hatbyr Mhore]"; @@ -763,7 +763,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{ mes "There you go, buddy. I am proud to say this is my masterpiece. I call it... 'Devil Wing Ears!'"; delitem 2255,1; //Satanic_Chain delitem 2286,1; //Elven_Ears - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5068,1; //Ear_Of_Devil's_Wing next; mes "[Hatbyr Mhore]"; @@ -833,7 +833,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{ mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Devil Wing Ears!'"; delitem 2255,1; //Satanic_Chain delitem 2286,1; //Elven_Ears - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5068,1; //Ear_Of_Devil's_Wing next; mes "[Hatbyr Mhore]"; @@ -887,7 +887,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{ mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Angel Wing Ears!'"; delitem 2254,1; //Angelic_Chain delitem 2286,1; //Elven_Ears - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5074,1; //Ear_Of_Angel's_Wing next; mes "[Hatbyr Mhore]"; @@ -1778,7 +1778,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{ delitem 10016,1; //Golden_Bell delitem 714,1; //Emperium delitem 969,3; //Gold - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5091,1; //Big_Golden_Bell mes "[Nehris]"; mes "Yoohoo~"; @@ -1816,7 +1816,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{ delitem 10006,1; //Queen's_Hair_Ornament delitem 714,1; //Emperium delitem 969,3; //Gold - set Zeny, Zeny-20000; + Zeny -= 20000; getitem 5080,1; //Headgear_Of_Queen mes "[Nehris]"; mes "Tah dah!"; @@ -1866,7 +1866,7 @@ yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{ delitem 2249,1; //Coronet delitem 714,1; //Emperium delitem 969,3; //Gold - set Zeny, Zeny-40000; + Zeny -= 40000; getitem 5081,1; //Mistress_Crown mes "[Nehris]"; mes "Yay! You've got a great looking crown!"; diff --git a/npc/quests/newgears/2005_headgears.txt b/npc/quests/newgears/2005_headgears.txt index 4b6981101..c18b0e441 100644 --- a/npc/quests/newgears/2005_headgears.txt +++ b/npc/quests/newgears/2005_headgears.txt @@ -572,7 +572,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{ delitem 7301,1887; delitem 5120,1; delitem 611,10; - set Zeny, Zeny - 1887; + Zeny -= 1887; set DTHATQ,2; getitem 5108,1; next; @@ -730,7 +730,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 1_M_01,{ delitem 7301,1887; delitem 5120,1; delitem 611,10; - set Zeny, Zeny - 1887; + Zeny -= 1887; set DTHATQ,2; getitem 5108,1; next; @@ -917,7 +917,7 @@ einbech,70,222,5 script Metelle#LhzHat 4_F_02,{ delitem 983,1; delitem 7267,999; delitem 749,1; - set Zeny,Zeny - 50000; + Zeny -= 50000; getitem 5115,1; next; mes "..."; @@ -1034,7 +1034,7 @@ lhz_in02,91,38,5 script Margaret Mary#LhzHat 4_F_01,{ delitem 731,10; delitem 748,3; delitem 982,1; - set Zeny,Zeny - 50000; + Zeny -= 50000; getitem 5117,1; close; @@ -1282,7 +1282,7 @@ lighthalzen,182,89,0 script Relaxed-Looking Lady 4_F_02,{ delitem 10007,1; delitem 975,1; delitem 5032,1; - set Zeny,Zeny - 50000; + Zeny -= 50000; getitem 5109,1; set LHZBTQ,3; next; @@ -1355,7 +1355,7 @@ lighthalzen,182,89,0 script Relaxed-Looking Lady 4_F_02,{ delitem 10007,1; delitem 975,1; delitem 5032,1; - set Zeny,Zeny - 50000; + Zeny -= 50000; getitem 5109,1; next; mes "[Achiha]"; diff --git a/npc/quests/newgears/2006_headgears.txt b/npc/quests/newgears/2006_headgears.txt index 8a63503c2..c77dba022 100644 --- a/npc/quests/newgears/2006_headgears.txt +++ b/npc/quests/newgears/2006_headgears.txt @@ -50,7 +50,7 @@ rachel,91,273,8 script ? 4_M_RACHMAN2,{ delitem 983,1; //Black_Dyestuffs delitem 7111,100; //Smooth_Paper delitem 938,99; //Sticky_Mucus - set Zeny,Zeny-100000; + Zeny -= 100000; getitem 5175,1; //Anonimity_Request mes "[?]"; mes "Phew...it's done. Well, it was not that difficult to make, but..."; @@ -319,7 +319,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ delitem 4166,1; //Nightmare_Terror_Card delitem 7511,1000; //Rune_Of_Darkness delitem 7563,1000; //Bloody_Rune - set Zeny,Zeny-10000000; + Zeny -= 10000000; set moza_valkylie,3; mes "[Ghenirhemin]"; mes "Now I am all nervous"; diff --git a/npc/quests/ninja_quests.txt b/npc/quests/ninja_quests.txt index 10757a60e..dfcc7d172 100644 --- a/npc/quests/ninja_quests.txt +++ b/npc/quests/ninja_quests.txt @@ -181,7 +181,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{ mes "Come and find me whenever you're ready to request more."; delitem 2102,1; delitem 2117,1; - set Zeny,Zeny-10000; + Zeny -= 10000; set ninbo,0; set MISC_QUEST,MISC_QUEST | 2048; getitem 2118,1; @@ -249,7 +249,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{ mes "If you ever want to ask me to make you more items, feel free to come back anytime."; delitem 2102,1; delitem 2117,1; - set Zeny,Zeny-10000; + Zeny -= 10000; getitem 2118,1; close; } @@ -351,7 +351,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{ mes "If you ever want to ask me to make you more items, feel free to come back anytime."; delitem 2102,1; delitem 2117,1; - set Zeny,Zeny-10000; + Zeny -= 10000; set MISC_QUEST,MISC_QUEST | 2048; getitem 2118,1; close; @@ -521,7 +521,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{ mes "If you ever want me to create more items, come and ask me anytime."; delitem 2107,1; delitem 2117,1; - set Zeny,Zeny-20000; + Zeny -= 20000; set ninbot,0; set MISC_QUEST,MISC_QUEST | 4096; getitem 2119,1; @@ -594,7 +594,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{ mes "If you ever want me to create more items, come and ask me anytime."; delitem 2107,1; delitem 2117,1; - set Zeny,Zeny-20000; + Zeny -= 20000; getitem 2119,1; close; } @@ -702,7 +702,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{ mes "If you ever want me to create more items, come and ask me anytime."; delitem 2107,1; delitem 2117,1; - set Zeny,Zeny-20000; + Zeny -= 20000; set MISC_QUEST,MISC_QUEST | 4096; getitem 2119,1; close; @@ -801,7 +801,7 @@ que_ng,27,18,3 script Toshu 4_M_SEAMAN,{ } delitem 2104,1; delitem 2119,1; - set Zeny,Zeny-40000; + Zeny -= 40000; switch (rand(5)) { case 1: @@ -905,7 +905,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{ delitem 1036,400; delitem 984,5; delitem 7123,30; - set Zeny,Zeny-200000; + Zeny -= 200000; getitem 13006,1; mes "[Kaibara]"; mes "Hmm, looks good."; @@ -956,7 +956,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{ } delitem 999,30; delitem 7022,1; - set Zeny,Zeny-20000; + Zeny -= 20000; getitem 13007,1; mes "[Kaibara]"; mes "Hmm, very well."; @@ -1004,7 +1004,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{ } delitem 999,25; delitem 7099,5; - set Zeny,Zeny-32000; + Zeny -= 32000; getitem 13011,1; mes "[Kaibara]"; mes "Hmm, very well."; @@ -1053,7 +1053,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{ } delitem 999,30; delitem 720,10; - set Zeny,Zeny-48000; + Zeny -= 48000; getitem 13012,1; mes "[Kaibara]"; mes "Hmm, very well."; @@ -1104,7 +1104,7 @@ que_ng,72,34,3 script Craftsman Kaibara 4_M_EINOLD,{ delitem 932,500; delitem 12001,10; delitem 722,5; - set Zeny,Zeny-120000; + Zeny -= 120000; getitem 13014,1; mes "[Kaibara]"; mes "Hmm, very well."; @@ -1191,7 +1191,7 @@ M_BENEKI: delitem 999,50; delitem 7115,20; delitem 984,5; - set Zeny,Zeny-90000; + Zeny -= 90000; getitem 13300,1; mes "[Tetsu]"; mes "Hmm, very well."; @@ -1239,7 +1239,7 @@ M_DAIS: delitem 999,30; delitem 7301,100; delitem 984,2; - set Zeny,Zeny-40000; + Zeny -= 40000; getitem 13301,1; mes "[Tetsu]"; mes "Hmm, very well."; @@ -1291,7 +1291,7 @@ M_DAIS4: } delitem 733,20; delitem 984,3; - set Zeny,Zeny-40000; + Zeny -= 40000; delitem 13301,1; getitem 13302,1; mes "[Tetsu]"; @@ -1340,7 +1340,7 @@ M_REKKA: delitem 7098,100; delitem 7097,100; delitem 7521,50; - set Zeny,Zeny-78000; + Zeny -= 78000; getitem 13303,1; mes "[Tetsu]"; mes "Hmm, very well."; diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index b176b4081..9e7599ba4 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -7661,7 +7661,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7708,7 +7708,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7830,7 +7830,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7943,7 +7943,7 @@ function Catwarp { close; } close2; - set Zeny, Zeny-getarg(0); + Zeny -= getarg(0); switch(getarg(1)) { case 1: warp "alberta",117,56; end; case 2: warp "prontera",116,72; end; @@ -12064,7 +12064,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "Here, drink up."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - set Zeny, Zeny-800; + Zeny -= 800; getitem 12112,1; //Tropical_Sograt } close; @@ -12082,7 +12082,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "There you go."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12112,1; //Tropical_Sograt close; } @@ -12108,7 +12108,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "[Karred]"; mes "I'll give you a special discount."; mes "Here, enjoy."; - set Zeny, Zeny-800; + Zeny -= 800; getitem 12113,1; //Vermilion_The_Beach } close; @@ -12125,7 +12125,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "[Karred]"; mes "There you go."; mes "Don't drink too much, alright?"; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12113,1; //Vermilion_The_Beach close; } @@ -12273,7 +12273,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - set Zeny, Zeny-1000; + Zeny -= 1000; next; mes "[Litheron]"; mes "Alright, you can come"; diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 16a4a6aa6..0767775be 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -106,7 +106,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -153,7 +153,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -274,7 +274,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ close; } else if (Zeny >= 60) { - set Zeny, Zeny-60; + Zeny -= 60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -395,7 +395,7 @@ function Catwarp { close; } close2; - set Zeny, Zeny-getarg(0); + Zeny -= getarg(0); switch(getarg(1)) { case 1: warp "alberta",117,56; end; case 2: warp "prontera",116,72; end; diff --git a/npc/quests/quests_alberta.txt b/npc/quests/quests_alberta.txt index bde9e8841..560160c3f 100644 --- a/npc/quests/quests_alberta.txt +++ b/npc/quests/quests_alberta.txt @@ -1196,7 +1196,7 @@ alberta_in,23,104,4 script Grandpa Turtle#tur 2_M_PHARMACIST,{ mes "You've made your choice! With my experience, we will arrive without fail! I appreciate your spirit!"; next; mes "^3355FF*Choo Choo*^000000"; - set Zeny, Zeny-10000; + Zeny -= 10000; warp "tur_dun01",157,39; close; } diff --git a/npc/quests/quests_aldebaran.txt b/npc/quests/quests_aldebaran.txt index 17fd9190e..86c0eef18 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; diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt index 53a11d0b8..61c948f6e 100644 --- a/npc/quests/quests_amatsu.txt +++ b/npc/quests/quests_amatsu.txt @@ -1127,7 +1127,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{ mes "If you want to eat delicious fish slices, you better bring more money."; close; } - set Zeny, Zeny-700; + Zeny -= 700; getitem 551,10; //Shusi mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1140,7 +1140,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{ mes "you better bring more money."; close; } - set Zeny, Zeny-74; + Zeny -= 74; getitem 551,1; //Shusi mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1168,7 +1168,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{ mes "If you want to eat delicious fish slices, you better bring more money."; close; } - set Zeny, Zeny-350; + Zeny -= 350; getitem 544,10; //Fish_Slice mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1181,7 +1181,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{ mes ""; close; } - set Zeny, Zeny-37; + Zeny -= 37; getitem 544,1; //Fish_Slice mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1474,7 +1474,7 @@ ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{ mes "to issue another Transit Permit."; next; if (select("Issue one:Talk to you later") == 1) { - set Zeny, Zeny-10000; + Zeny -= 10000; getitem 7160,1; //Lord's_Passable_Ticket mes "[Jiro]"; mes "There you go."; 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,"; diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt index 51d7e5869..3283266ea 100644 --- a/npc/quests/quests_ein.txt +++ b/npc/quests/quests_ein.txt @@ -274,7 +274,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{ mes "you a small present"; mes "as a token of my gratitute."; mes "If you would, please take this."; - set Zeny,Zeny-1000; + Zeny -= 1000; set ein_gear1,2; switch(rand(1,7)) { case 1: @@ -331,7 +331,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{ next; switch(select("Sure~!:No, thanks.")) { case 1: - set Zeny,Zeny-1000; + Zeny -= 1000; set ein_gear1,1; mes "[Cavitar]"; mes "Great...!"; @@ -355,7 +355,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{ mes "this small gift"; mes "as a token of"; mes "my gratitude."; - set Zeny,Zeny-1000; + Zeny -= 1000; getitem 1010,1; // Phracon close; } @@ -384,7 +384,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{ next; switch(select("Sure~!:No, thanks.")) { case 1: - set Zeny,Zeny-1000; + Zeny -= 1000; set $einamanoama,$einamanoama + 1; set ein_gear1,1; mes "[Cavitar]"; @@ -409,7 +409,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{ mes "this small gift"; mes "as a token of"; mes "my gratitude."; - set Zeny,Zeny-1000; + Zeny -= 1000; getitem 1010,1; // Phracon close; } diff --git a/npc/quests/quests_geffen.txt b/npc/quests/quests_geffen.txt index 54e57218f..9c73d6c9f 100644 --- a/npc/quests/quests_geffen.txt +++ b/npc/quests/quests_geffen.txt @@ -49,7 +49,7 @@ geffen_in,144,166,4 script Blacksmith 1_M_SMITH,{ mes "Ah, I see that you appreciate a Blacksmith's work! Alright, I'll do it right away !!"; next; delitem 999,50; //Steel - set Zeny,Zeny-2000; + Zeny -= 2000; getitem 2292,1; // Welding_Mask mes "[Blacksmith]"; mes "Hahaha~! Make good use of that!"; diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index 6c8a8978f..313b999b4 100644 --- a/npc/quests/quests_hugel.txt +++ b/npc/quests/quests_hugel.txt @@ -3461,7 +3461,7 @@ einbech,208,124,3 script Bomb Maker 4_M_REPAIR,{ mes "[Boomer]"; mes "Just make sure that you are not going to"; mes "blow yourself away with this bomb, hahah!"; - set Zeny,Zeny-3000; + Zeny -= 3000; getitem 7138,1; //Marine Sphere Bottle close; case 2: @@ -5567,7 +5567,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{ mes "bowl of Fish Cake Soup."; mes "I hope you come and "; mes "visit me again, okay?"; - set Zeny,Zeny-100; + Zeny -= 100; getitem 584,1; //Fish_Ball_Soup close; } else { @@ -5625,7 +5625,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{ mes "There, I took 100 zeny"; mes "from you. That's fair, so"; mes "please don't lose it this time."; - set Zeny,Zeny-100; + Zeny -= 100; getitem 584,1; //Fish_Ball_Soup close; } else { @@ -5666,7 +5666,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{ mes "There, I took 100 zeny"; mes "from you. That's fair, so"; mes "please don't lose it this time."; - set Zeny,Zeny-100; + Zeny -= 100; getitem 584,1; //Fish_Ball_Soup close; } else { @@ -5708,7 +5708,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{ mes "There, I took 100 zeny"; mes "from you. That's fair, so"; mes "please don't lose it this time."; - set Zeny,Zeny-100; + Zeny -= 100; getitem 584,1; //Fish_Ball_Soup close; } else { @@ -5749,7 +5749,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{ mes "There, I took 100 zeny"; mes "from you. That's fair, so"; mes "please don't lose it this time."; - set Zeny,Zeny-100; + Zeny -= 100; getitem 584,1; //Fish_Ball_Soup close; } else { @@ -9525,7 +9525,7 @@ hugel,209,109,2 script Boatman#hugel 4_M_SEAMAN,{ mes "We'll arrive near"; mes "the Odin Shrine soon~"; close2; - set Zeny,Zeny -800; + Zeny -= 800; if (hg_odin == 2) set hg_odin,3; else if (hg_odin == 4) set hg_odin,5; else if (hg_odin == 12) set hg_odin,13; diff --git a/npc/quests/quests_izlude.txt b/npc/quests/quests_izlude.txt index e95b8b2b7..3b20a85bf 100644 --- a/npc/quests/quests_izlude.txt +++ b/npc/quests/quests_izlude.txt @@ -32,7 +32,7 @@ mes "get some more cash?"; close ; } - set Zeny, Zeny-250; + Zeny -= 250; warp "alberta",195,164; end; } @@ -79,7 +79,7 @@ mes "some more."; close; } - set Zeny, Zeny-250; + Zeny -= 250; warp "alberta",195,164; end; } diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 03f38edd9..6f9a4c0d2 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -1720,7 +1720,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - set Zeny, Zeny-100; + Zeny -= 100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1736,7 +1736,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -= 200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1753,7 +1753,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -= 10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1793,7 +1793,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - set Zeny, Zeny-100; + Zeny -= 100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1809,7 +1809,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -= 200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1826,7 +1826,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -= 10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1866,7 +1866,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - set Zeny, Zeny-100; + Zeny -= 100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1883,7 +1883,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -= 200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1900,7 +1900,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -= 10; } next; mes "[" + strcharinfo(0) + "]"; @@ -2017,7 +2017,7 @@ OnTouch: mes "but I hope we never bump"; mes "into each other ever again!"; } - set Zeny, Zeny-.@price; + Zeny -= .@price; getitem 12016,.@number; //Speed_Up_Potion } } diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index b9f086264..3b0520c66 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -1885,7 +1885,7 @@ lou_in02,210,47,0 script City Hall Officer#lou 4_M_CHNSOLDIER,{ mes "[Jin Chiyuan]"; mes "^666666*Whispers*^000000"; mes "^333333When you go up stairs, another officer will give you the document you want.^000000 ^666666*Ahem*^000000 Louyang thanks you!"; - set Zeny, Zeny-.@input; + Zeny -= .@input; if (ch_par == 5) { set ch_par,11; changequest 11046,11051; @@ -4124,7 +4124,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{ mes "[Lady]"; mes "Alright, there you go!"; if (Zeny > 99) { - set Zeny, Zeny-100; + Zeny -= 100; } close2; specialeffect EF_BLASTMINEBOMB,AREA," #fire"; @@ -4146,7 +4146,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{ mes "Alright,"; mes "there you go!"; if (Zeny > 99) { - set Zeny, Zeny-100; + Zeny -= 100; } close2; donpcevent " #fire::OnClaymore"; @@ -4176,7 +4176,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{ mes "delivery fee of 1,000 zeny."; next; if (Zeny > 999) { - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 7126,1; //Large_Jellopy mes "[Lady]"; mes "Thank you~"; @@ -4234,7 +4234,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{ mes "Alright~"; mes "There you go!"; if (Zeny > 99) { - set Zeny, Zeny-100; + Zeny -= 100; } close2; donpcevent " #fire::OnClaymore"; diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt index 6a5f452cf..86e07aab1 100644 --- a/npc/quests/quests_morocc.txt +++ b/npc/quests/quests_morocc.txt @@ -67,7 +67,7 @@ moc_ruins,113,181,4 script William 4_M_ORIENT02,{ if ((countitem(1019) > 49) && (countitem(983) > 0) && (Zeny > 91099)) { delitem 1019,50; //Wooden_Block delitem 983,1; //Black_Dyestuffs - set Zeny, Zeny-91100; + Zeny -= 91100; mes "[William]"; mes "Here you are~!"; mes "This ^3355FFStop Post^000000 has"; @@ -134,7 +134,7 @@ moc_ruins,118,176,4 script Alchemist 1_M_WIZARD,{ next; delitem 2243,1; //Spinning_Eyes delitem 999,100; //Steel - set Zeny, Zeny-50000; + Zeny -= 50000; mes "[Marius]"; mes "Here you are!"; mes "Binoculars !"; @@ -261,7 +261,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - set Zeny, Zeny-1000; + Zeny -= 1000; next; mes "[Litheron]"; mes "Alright, you can come"; @@ -406,7 +406,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{ mes "ask you for 800. Enjoy it,"; mes "my friend, and drink it as"; mes "deeply as you would life."; - set Zeny, Zeny-800; + Zeny -= 800; getitem 12112,1; //Tropical_Sograt } close; @@ -429,7 +429,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{ mes "hard feelings, but you're"; mes "already lucky to be here."; mes "Hey, enjoy your drink~"; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12112,1; //Tropical_Sograt close; } @@ -465,7 +465,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{ mes "ask you for 800. Enjoy it,"; mes "my friend, and drink it as"; mes "deeply as you would life."; - set Zeny, Zeny-800; + Zeny -= 800; getitem 12113,1; //Vermilion_The_Beach } close; @@ -488,7 +488,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 1_ETC_01,{ mes "hard feelings, but you're"; mes "already lucky to be here."; mes "Hey, enjoy your drink~"; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12113,1; //Vermilion_The_Beach close; } diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index a181a81d9..740f1b038 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -3185,7 +3185,7 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{ mes "Ok, I'll bring you the best room."; mes "Please have a rest, young adventurer."; close2; - set Zeny,Zeny-5000; + Zeny -= 5000; percentheal 100,100; warp "mosk_in",215,181; end; @@ -3242,7 +3242,7 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{ mes "I wish you a good night's rest. Hohoho."; set mos_swan,4; close2; - set Zeny,Zeny-5000; + Zeny -= 5000; percentheal 100,100; warp "mosk_in",215,181; end; @@ -3332,7 +3332,7 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{ mes "[Landlord]"; mes "Please be comfortable."; close2; - set Zeny,Zeny-5000; + Zeny -= 5000; percentheal 100,100; warp "mosk_in",215,181; end; @@ -3399,7 +3399,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{ close; } if (Zeny > 999) { - set Zeny,Zeny-1000; + Zeny -= 1000; set mos_swan,9; if (!.@j) getitem 519,1; else getitem 531,1; mes "[Pub Owner]"; @@ -3462,7 +3462,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{ switch(select("Milk - 1000z:Apple juice - 1000z:They are all expensive!")) { case 1: if (Zeny > 999) { - set Zeny,Zeny-1000; + Zeny -= 1000; set mos_swan,9; getitem 519,1; mes "[Pub Owner]"; @@ -3476,7 +3476,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{ close; case 2: if (Zeny > 999) { - set Zeny,Zeny-1000; + Zeny -= 1000; set mos_swan,9; getitem 531,1; mes "[Pub Owner]"; @@ -3999,7 +3999,7 @@ moscovia,208,182,7 script Acorn Dealer#mos 4_M_RUSMAN1,{ mes "[Acorn Dealer]"; mes "Oh, thank you..."; mes "What do you think of them? They're fresh, aren't they?"; - set Zeny,Zeny - .@price; + Zeny -= .@price; getitem 1026,.@input; close; } @@ -10241,7 +10241,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{ delitem 1092,.@redtube_send; delitem 7134,.@redcup_send; delitem 512,.@redapple_send; - set Zeny,Zeny-.@redzeny_send; + Zeny -= .@redzeny_send; getitem 545,.@total_red01; close; } @@ -10328,7 +10328,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{ delitem 1092,.@yelltube_send; delitem 7134,.@yellcup_send; delitem 513,.@yellbanana_send; - set Zeny,Zeny-.@yellzeny_send; + Zeny -= .@yellzeny_send; getitem 546,.@total_yell01; close; } @@ -11184,7 +11184,7 @@ amatsu,233,234,3 script Momotoro Publisher#rus42 4_F_JPN2,{ } mes "[Momotoro Publisher]"; mes "Thank you for buying our books. If you need more books, contact us please."; - set Zeny,Zeny-5000; + Zeny -= 5000; set rhea_rus_main,27; getitem 7881,1; close; diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt index 258f01bc6..f38398b40 100644 --- a/npc/quests/quests_nameless.txt +++ b/npc/quests/quests_nameless.txt @@ -437,7 +437,7 @@ OnTouch: set aru_monas,8; changequest 17003,17004; if (Zeny > 3000) { - set Zeny, Zeny-3000; + Zeny -= 3000; getitem 12052,4; //Vit_Dish02 } close; @@ -6114,7 +6114,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{ switch(select("Sounds good!:Never mind, I'll find it myself...")) { case 1: if (Zeny > 9999) { - set Zeny, Zeny-10000; + Zeny -= 10000; mes "[Investigator]"; mes "Thanks for the money~"; mes "Of course, if you became"; @@ -6192,7 +6192,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{ switch(select("Sounds good!:Forget it...")) { case 1: if (Zeny > 9999) { - set Zeny, Zeny-10000; + Zeny -= 10000; mes "[Investigator]"; mes "Right on, right on."; mes "Alright, I didn't charge"; @@ -7390,7 +7390,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{ switch(select("Yes, let's play!:How does this game work again?")) { case 1: if (Zeny > 500) { - set Zeny, Zeny-500; + Zeny -= 500; mes "[Moonho Ahn]"; mes "Good, let's get started!"; mes "I'll let you go first~"; @@ -9380,7 +9380,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{ close; } else { - set Zeny, Zeny-1200; + Zeny -= 1200; mes "[Ragged Man]"; mes "Let's see... I just need"; mes "1,200 zeny. That's enough"; @@ -9459,7 +9459,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{ mes "up the funds. I'll be waiting."; close; } else { - set Zeny, Zeny-1200; + Zeny -= 1200; mes "[Ragged Man]"; mes "Remember that hidden"; mes "treasure I was looking for?"; @@ -10499,7 +10499,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{ mes "If all goes well, you'll be"; mes "free of your curse, and I can"; mes "buy some Prontera real estate."; - set Zeny, Zeny-200000; + Zeny -= 200000; set jewel_nd,14; next; mes "[Shaman]"; @@ -10550,7 +10550,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{ mes "Hopefully, the"; mes "spirits will be more"; mes "cooperative this time."; - set Zeny, Zeny-100000; + Zeny -= 100000; set jewel_nd,16; next; mes "[Shaman]"; diff --git a/npc/quests/quests_payon.txt b/npc/quests/quests_payon.txt index d412c9615..7f3c65a20 100644 --- a/npc/quests/quests_payon.txt +++ b/npc/quests/quests_payon.txt @@ -90,7 +90,7 @@ payon_in01,18,10,4 script Mystic Lady 1_F_ORIENT_02,{ delitem 724,1; //Cardinal_Jewel_ delitem 949,200; //Feather delitem 5001,1; //Headset - set Zeny,Zeny-5000; + Zeny -= 5000; mes "Here, I will give you this pre-made one."; getitem 2283,1; //Ear_Mufs next; diff --git a/npc/quests/quests_prontera.txt b/npc/quests/quests_prontera.txt index d2a15064c..d4588e5c5 100644 --- a/npc/quests/quests_prontera.txt +++ b/npc/quests/quests_prontera.txt @@ -2894,7 +2894,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{ mes "to cover your Airship fee."; mes "Thank you, and good luck."; set aru_monas,6; - set Zeny, Zeny + (checkre(0)?5000:1500); + Zeny += (checkre(0)?5000:1500); changequest 17002,17003; close; } @@ -3639,7 +3639,7 @@ prt_in,162,99,4 script Librarian#curse 1_F_02,{ mes "replacement copies,"; mes "and try not to lose"; mes "them again. Thank you."; - set Zeny, Zeny-700; + Zeny -= 700; getitem 7431,1; //Books close; } diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index 715cbe7ee..a39d3de41 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -3478,7 +3478,7 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{ mes "It's always a pleasure"; mes "doing business with you~"; delitem 7561,.@hearts; //Glacial Hearts - set Zeny, Zeny+.@totalprice; + Zeny += .@totalprice; close; } @@ -4194,7 +4194,7 @@ S_Donate: } set $rachel_donate,$rachel_donate+getarg(0); getitem 7570,getarg(0); //Temple_Lottery_Ticket - set Zeny, Zeny-getarg(0)*50000; + Zeny -= getarg(0)*50000; set ra_have_donated,1; if ($rachel_donate > 9999) { cutin "ra_nemma03",2; diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt index 4b35a132c..7c23f30a3 100644 --- a/npc/quests/quests_veins.txt +++ b/npc/quests/quests_veins.txt @@ -722,7 +722,7 @@ prontera,202,122,0 script Kid#sch 4_F_KID2,{ mes "[Rooney]"; mes "Hey, alright! Thanks"; mes "for the cash! Heh heh~"; - set Zeny, Zeny-100; + Zeny -= 100; set que_sch,3; close; } @@ -818,7 +818,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{ mes "kid that was supposed"; mes "to come find me here."; set que_sch,2; - set Zeny, Zeny+100; + Zeny += 100; next; mes "[Lasda]"; mes "I'd like you to come"; @@ -1581,7 +1581,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{ mes "your Megaphone. Thanks"; mes "for everything, and I'll see"; mes "you around, adventurer~"; - set Zeny, Zeny-500000; + Zeny -= 500000; set que_sch,18; getitem 7040,1; //Megaphone close; @@ -1627,7 +1627,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{ mes "so I'm not supposed to let"; mes "you have this. Don't let"; mes "anyone know I gave you this!"; - set Zeny, Zeny-500000; + Zeny -= 500000; getitem 7040,1; //Megaphone close; } diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt index 50cca4535..f4d42aae1 100644 --- a/npc/quests/quests_yuno.txt +++ b/npc/quests/quests_yuno.txt @@ -529,7 +529,7 @@ S_DelItems: delitem 7043,5; //Fine_Sand delitem 757,3; //Elunium_Stone delitem 756,3; //Oridecon_Stone - set Zeny, Zeny-2000; + Zeny -= 2000; getitem getarg(0),getarg(1); //Gold mes "[Bain]"; mes "AHHH, it is a success!"; @@ -657,7 +657,7 @@ S_DelItems: delitem 7043,5; //Fine_Sand delitem 757,3; //Elunium_Stone delitem 756,3; //Oridecon_Stone - set Zeny, Zeny-2000; + Zeny -= 2000; getitem getarg(0),getarg(1); //Gold mes "[Bajin]"; mes "AHHH, it is a success!"; diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 72f4b9ddb..58e208c07 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -784,7 +784,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ mes "represents the"; mes "heart of a poet!"; soundeffect "bragis_poem.wav",1; - set Zeny,Zeny-500; + Zeny -= 500; close2; } else { @@ -802,7 +802,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ mes "and energetic music, eh?"; mes "As you wish~"; soundeffect "chaos_of_eternity.wav",1; - set Zeny,Zeny-500; + Zeny -= 500; close2; } else { @@ -822,7 +822,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ mes "well with Assassins."; mes "Don't you agree?"; soundeffect "assassin_of_sunset.wav",1; - set Zeny,Zeny-500; + Zeny -= 500; close2; } else { diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt index ccafb4b2a..012a9445f 100644 --- a/npc/quests/skills/bard_skills.txt +++ b/npc/quests/skills/bard_skills.txt @@ -1202,7 +1202,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{ mes "mild, but if you're not"; mes "careful, you'll pass out"; mes "in no time flat. Take it easy."; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12112,1; //Tropical_Sograt close; @@ -1232,7 +1232,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 1_ETC_01,{ mes "Be sure that you"; mes "enjoy your drinking"; mes "without going crazy."; - set Zeny, Zeny-1000; + Zeny -= 1000; getitem 12113,1; //Vermilion_The_Beach close; diff --git a/npc/quests/skills/blacksmith_skills.txt b/npc/quests/skills/blacksmith_skills.txt index ba7bf82cf..42c7cd65b 100644 --- a/npc/quests/skills/blacksmith_skills.txt +++ b/npc/quests/skills/blacksmith_skills.txt @@ -184,7 +184,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ delitem 999,1; //Steel delitem 971,1; //Detrimindexta delitem 613,1; //Iron_Hammer - set Zeny, Zeny-500; + Zeny -= 500; set BLACK_SK,2; close; } diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt index 634b50308..408a200ce 100644 --- a/npc/quests/thana_quest.txt +++ b/npc/quests/thana_quest.txt @@ -92,7 +92,7 @@ hu_fild01,140,163,5 script Tower Keeper 4_M_EIN_SOLDIER,3,3,{ mes "good work. Ah, and don't"; mes "forget: safety first when"; mes "you fight those monsters!"; - set Zeny, Zeny - 3000; + Zeny -= 3000; close2; warp "tha_scene01",131,220; end; @@ -119,7 +119,7 @@ hu_fild01,140,163,5 script Tower Keeper 4_M_EIN_SOLDIER,3,3,{ mes "you enjoy your visit"; mes "to Thanatos Tower~"; close2; - set Zeny, Zeny - 5000; + Zeny -= 5000; warp "tha_scene01",131,220; end; } @@ -496,7 +496,7 @@ tha_t01,140,78,4 script Guide#reward 4_F_ZONDAGIRL,{ mes "and please keep up"; mes "the good work~"; delitem .@items[.@i], countitem(.@items[.@i]); - set Zeny, Zeny + .@zeny_tt; + Zeny += .@zeny_tt; //getexp .@exp_tt,0; close; case 2: 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-60-g2f50