Anyone know how can I make a npc that charge the Travel with a different coin(ID 15120), all scripts that I saw use gold coin and I don't know how to change it(probably I need to chance in lib, I really don't know, I'm not good with Lua).
For example(I need to edit the "cost" to remove the new Coin):
local travelNode = keywordHandler:addKeyword({'liberty bay'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can bring you to our base in Liberty Bay for " .. (getConfigInfo("freeTravel") and "free? Is that what you want?" or "400 gold? Is that what you want?")})
travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = {x=32285, y=32892, z=6} })
travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'})
Thanks!
For example(I need to edit the "cost" to remove the new Coin):
local travelNode = keywordHandler:addKeyword({'liberty bay'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can bring you to our base in Liberty Bay for " .. (getConfigInfo("freeTravel") and "free? Is that what you want?" or "400 gold? Is that what you want?")})
travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 400, destination = {x=32285, y=32892, z=6} })
travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'})
Thanks!