diff options
author | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
---|---|---|
committer | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
commit | 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch) | |
tree | 2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/quests/first_class | |
parent | 463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff) | |
download | hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2 hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip |
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/quests/first_class')
-rw-r--r-- | npc/quests/first_class/tu_archer.txt | 2 | ||||
-rw-r--r-- | npc/quests/first_class/tu_magician01.txt | 2 | ||||
-rw-r--r-- | npc/quests/first_class/tu_merchant.txt | 30 | ||||
-rw-r--r-- | npc/quests/first_class/tu_thief01.txt | 4 |
4 files changed, 19 insertions, 19 deletions
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt index 247aa0329..9f0f1e365 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; } |