From 83e0ff876dcb56645a4b1c6d137745764e4df201 Mon Sep 17 00:00:00 2001 From: ali-g Date: Sat, 29 Oct 2011 08:25:29 +0200 Subject: Made the name of each item be the same everywhere. Changed some names in item_db.txt and the same one in corresponding scripts. --- world/map/npc/027-2/innkeeper.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'world/map/npc/027-2/innkeeper.txt') 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]"; -- cgit v1.2.3-60-g2f50