Hi, how can I make so the NPC's only wants to trade with the player if he/she got a special storage value with LUA (or XML if possible):
Thanks
Code:
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
shopModule:addBuyableItem({'item'}, item.id, price, 'item')
Thanks
Last edited by a moderator: