summaryrefslogtreecommitdiff
path: root/world/map/npc/027-2/innkeeper.txt
diff options
context:
space:
mode:
authorali-g <gauvain.dauchy@free.fr>2011-10-29 08:25:29 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-10-30 10:28:32 +0100
commit83e0ff876dcb56645a4b1c6d137745764e4df201 (patch)
tree3931f42c6ba8ea4ca51f398101622e1c4f80ed44 /world/map/npc/027-2/innkeeper.txt
parent885cabc8f3aaa58a57b343d4a54afdeb0ea68a87 (diff)
downloadserverdata-83e0ff876dcb56645a4b1c6d137745764e4df201.tar.gz
serverdata-83e0ff876dcb56645a4b1c6d137745764e4df201.tar.bz2
serverdata-83e0ff876dcb56645a4b1c6d137745764e4df201.tar.xz
serverdata-83e0ff876dcb56645a4b1c6d137745764e4df201.zip
Made the name of each item be the same everywhere.
Changed some names in item_db.txt and the same one in corresponding scripts.
Diffstat (limited to 'world/map/npc/027-2/innkeeper.txt')
-rw-r--r--world/map/npc/027-2/innkeeper.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/world/map/npc/027-2/innkeeper.txt b/world/map/npc/027-2/innkeeper.txt
index 769d0dfd..3b3af853 100644
--- a/world/map/npc/027-2/innkeeper.txt
+++ b/world/map/npc/027-2/innkeeper.txt
@@ -297,27 +297,27 @@ L_Sorry:
mes "[Reid's Ghost]";
mes "\"Welcome back.\"";
if ((@lover == 4)
- && (countitem("GemRawWhite") >= @DIAMOND_AMOUNT)
- && (countitem("GemRawRed") >= @RUBY_AMOUNT)
+ && (countitem("Diamond") >= @DIAMOND_AMOUNT)
+ && (countitem("Ruby") >= @RUBY_AMOUNT)
&& (@husband == 5))
menu
"Savaric asked me to give you something.",L_Diamond,
"Hamond sent me to bring you this.",L_Ruby,
"Nevermind.",-;
- if (@lover == 4 && (countitem("GemRawWhite") >= @DIAMOND_AMOUNT))
+ if (@lover == 4 && (countitem("Diamond") >= @DIAMOND_AMOUNT))
menu
"Savaric asked me to give you something.",L_Diamond,
"Nevermind.",-;
- if (@husband == 5 && (countitem("GemRawRed") >= @RUBY_AMOUNT))
+ if (@husband == 5 && (countitem("Ruby") >= @RUBY_AMOUNT))
menu
"Hamond sent me to bring you this.",L_Ruby,
"Nevermind.",-;
goto L_Close;
L_Diamond:
- if (countitem("GemRawWhite") < @DIAMOND_AMOUNT)
+ if (countitem("Diamond") < @DIAMOND_AMOUNT)
goto L_Kidding;
- delitem "GemRawWhite", @DIAMOND_AMOUNT;
+ delitem "Diamond", @DIAMOND_AMOUNT;
mes "You explain how Savaric feels and what the diamonds mean.";
next;
mes "[Reid's Ghost]";
@@ -329,9 +329,9 @@ L_Diamond:
goto L_Close;
L_Ruby:
- if (countitem("GemRawRed") < @RUBY_AMOUNT)
+ if (countitem("Ruby") < @RUBY_AMOUNT)
goto L_Kidding;
- delitem "GemRawRed", @RUBY_AMOUNT;
+ delitem "Ruby", @RUBY_AMOUNT;
mes "You tell her about Hamonds feelings.";
next;
mes "[Reid's Ghost]";