• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Mass editing muilitple .lua files

nugo

Australia OT Mapper
Joined
Apr 1, 2009
Messages
398
Solutions
4
Reaction score
197
I want to change all of the boat NPCS to charge 0 dollars for travel. Is there an easier way to do this other then changing every NPC individually? Or is there some hidden turn off money travel option somewhere?
 
Don't know which version you are using, but on my servers default LUA files, I had a function calculating the discount which were used almost everywhere.
I just changed the return value from the discount to the actual cost, resulting in 0 cost for travelling.
 
Back
Top