[svn] Can't talk to the Lost merchant in Last Hope

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
MisiuPysiu
Archmage
Posts: 379
Joined: Tue Nov 11, 2003 10:54 am
Location: Wroclaw/Poland

[svn] Can't talk to the Lost merchant in Last Hope

#1 Post by MisiuPysiu »

Hey,

In the last svn You cant talk to the Lost merchant in Last Hope. You get an error message

cheers.
Attachments
tome-1.0.1-1366197826.jpg
tome-1.0.1-1366197826.jpg (185.11 KiB) Viewed 746 times

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [svn] Can't talk to the Lost merchant in Last Hope

#2 Post by Hachem_Muche »

Missing alternate result for a conditional check in the chat object. Fix:

Code: Select all

Index: game/modules/tome/data/chats/last-hope-lost-merchant.lua
===================================================================
--- game/modules/tome/data/chats/last-hope-lost-merchant.lua	(revision 6619)
+++ game/modules/tome/data/chats/last-hope-lost-merchant.lua	(working copy)
@@ -24,8 +24,9 @@
 newChat{ id="welcome",
 	text = [[Ah, my #{italic}#good#{normal}# friend @playername@!
 Thanks to you I made it safely to this great city! I am planning to open my most excellent boutique soon, but since I am in your debt, perhaps I could open early for you if you are in need of rare goods.]]
-..((p:knowTalent(p.T_TRAP_MASTERY) and not p:knowTalent(p.T_FLASH_BANG_TRAP)) and "\nDuring our escape I found the plans for a #YELLOW#Flash Bang Trap#LAST#, you would not happen to be interrested by any chances?")
+..((p:knowTalent(p.T_TRAP_MASTERY) and not p:knowTalent(p.T_FLASH_BANG_TRAP)) and "\nDuring our escape I found the plans for a #YELLOW#Flash Bang Trap#LAST#, you would not happen to be interrested by any chance?" or "")
 ..((game.state:isAdvanced() and "\nOh my friend, good news! As I told you I can now request a truly #{italic}#unique#{normal}# object to be crafted just for you. For a truly unique price..." or "\nI eventually plan to arrange a truly unique service for the most discerning of customers. If you come back later when I'm fully set up I shall be able to order for you something quite marvellous. For a perfectly #{italic}#suitable#{normal}# price, of course.")),
 	answers = {
 		{"Yes please, let me see your wares.", action=function(npc, player)
 			npc.store:loadup(game.level, game.zone)
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

MisiuPysiu
Archmage
Posts: 379
Joined: Tue Nov 11, 2003 10:54 am
Location: Wroclaw/Poland

Re: [svn] Can't talk to the Lost merchant in Last Hope

#3 Post by MisiuPysiu »

Great!

I did a workaround, loading the previous svn version of this particular file. It works also :)

Cheers.

Post Reply