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/re/cities/dewata.txt | |
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/re/cities/dewata.txt')
-rw-r--r-- | npc/re/cities/dewata.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt index a0fa10275..1205a4de1 100644 --- a/npc/re/cities/dewata.txt +++ b/npc/re/cities/dewata.txt @@ -29,7 +29,7 @@ alberta,212,202,4 script Dewata Sailor#alberta 4_M_DEWMAN,{ mes "^8B4513Dewata^000000 is a beautiful and peaceful island country."; mes "Have a nice trip~"; close2; - set Zeny, Zeny - 10000; + Zeny -= 10000; warp "dewata",232,53; end; } else { @@ -296,7 +296,7 @@ dewata,146,109,5 script Restauranteur#dew 4_COOK,{ } mes "[Restauranteur]"; mes "Here's your "+getitemname(.@food)+", you won't regret it!"; - set Zeny, Zeny - 5000; + Zeny -= 5000; getitem .@food,1; close; case 2: @@ -509,7 +509,7 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{ mes "You make a wish for ^0000FF" + .@wish$ + "^000000 to the small shrine."; next; callsub L_Wish; - set Zeny, Zeny - .@input; + Zeny -= .@input; if (.@stat & 1 && .@bonus) consumeitem 12043; //Str_Dish03 else if (.@stat & 2 && .@bonus) |