diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-11-15 21:06:07 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-11-16 19:44:03 +0100 |
commit | 206c3720a29b0db6c73ea534bd3f34bacaef17de (patch) | |
tree | 2d0e6a65117ad6ea1185dda7112a6f8679c781a1 /world/map/npc/021-2/inya.txt | |
parent | 0f44cd07642a74953e5b03a10a1593c5d839c7a2 (diff) | |
download | serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.gz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.bz2 serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.xz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.zip |
Made Constants case-sensitive
Diffstat (limited to 'world/map/npc/021-2/inya.txt')
-rw-r--r-- | world/map/npc/021-2/inya.txt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/world/map/npc/021-2/inya.txt b/world/map/npc/021-2/inya.txt index 1213246c..946bdb33 100644 --- a/world/map/npc/021-2/inya.txt +++ b/world/map/npc/021-2/inya.txt @@ -48,10 +48,10 @@ L_Inya_Add_RingGem: close; L_Inya_Remove_Diamond: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("DiamondRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "DiamondRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -59,10 +59,10 @@ L_Inya_Remove_Diamond: close; L_Inya_Remove_Ruby: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("RubyRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "RubyRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -70,10 +70,10 @@ L_Inya_Remove_Ruby: close; L_Inya_Remove_Emerald: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("EmeraldRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "EmeraldRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -81,10 +81,10 @@ L_Inya_Remove_Emerald: close; L_Inya_Remove_Sapphire: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("SapphireRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "SapphireRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -92,10 +92,10 @@ L_Inya_Remove_Sapphire: close; L_Inya_Remove_Topaz: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("TopazRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "TopazRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -103,10 +103,10 @@ L_Inya_Remove_Topaz: close; L_Inya_Remove_Amethyst: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem ("AmethystRing") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; delitem "AmethystRing", 1; getitem "SimpleRing", 1; mes "[Inya]"; @@ -114,11 +114,11 @@ L_Inya_Remove_Amethyst: close; L_Inya_Add_Diamond: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Diamond") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Diamond", 1; getitem "DiamondRing", 1; @@ -127,11 +127,11 @@ L_Inya_Add_Diamond: close; L_Inya_Add_Ruby: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Ruby") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Ruby", 1; getitem "RubyRing", 1; @@ -140,11 +140,11 @@ L_Inya_Add_Ruby: close; L_Inya_Add_Emerald: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Emerald") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Emerald", 1; getitem "EmeraldRing", 1; @@ -153,11 +153,11 @@ L_Inya_Add_Emerald: close; L_Inya_Add_Sapphire: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Sapphire") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Sapphire", 1; getitem "SapphireRing", 1; @@ -166,11 +166,11 @@ L_Inya_Add_Sapphire: close; L_Inya_Add_Topaz: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Topaz") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Topaz", 1; getitem "TopazRing", 1; @@ -179,11 +179,11 @@ L_Inya_Add_Topaz: close; L_Inya_Add_Amethyst: - if ( (zeny < 1000000) + if ( (Zeny < 1000000) | (countitem ("SimpleRing") < 1) | (countitem ("Amethyst") < 1) ) goto L_Inya_Not_Enough; - set zeny, zeny - 1000000; + set Zeny, Zeny - 1000000; delitem "SimpleRing", 1; delitem "Amethyst", 1; getitem "AmethystRing", 1; |