Page 1 of 1
[svn] Can't talk to the Lost merchant in Last Hope
Posted: Wed Apr 17, 2013 11:26 am
by MisiuPysiu
Hey,
In the last svn You cant talk to the Lost merchant in Last Hope. You get an error message
cheers.
Re: [svn] Can't talk to the Lost merchant in Last Hope
Posted: Fri Apr 19, 2013 1:34 am
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)
Re: [svn] Can't talk to the Lost merchant in Last Hope
Posted: Fri Apr 19, 2013 7:42 am
by MisiuPysiu
Great!
I did a workaround, loading the previous svn version of this particular file. It works also
Cheers.