summaryrefslogtreecommitdiff
path: root/npc/quests/quests_aldebaran.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/quests/quests_aldebaran.txt
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-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/quests_aldebaran.txt')
-rw-r--r--npc/quests/quests_aldebaran.txt8
1 files changed, 4 insertions, 4 deletions
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;