• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Npc that has buy as default.

Nexoz

New Member
Joined
Jul 30, 2007
Messages
97
Reaction score
1
How to make so, Npc always thinks player want to buy something if I ask npc with something like "20 mana fluids" instead of "buy 20 mana fluids" ?
Thanks in advance.
 
not tested (use at own risk, take backup before):

in (modules.lua)

function ShopModule:addBuyableItem(names, itemid, cost, subType, realName)

change

table.insert(keywords, 'buy')

to

table.insert(keywords, '')
 
Last edited:
Back
Top