Some mods have line
require "util"
in control.lua. However, there is no such file. What is it and where can I find information of it?
What is "util" which some mods use
Re: What is "util" which some mods use
It is just a set of lua functions used in the game
It is located in Data/Core/Lualib
It is located in Data/Core/Lualib
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: What is "util" which some mods use
Isn't util included by default these days (ie. no need to `require` it anymore)? Similar to how `defines` is now included by default...?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.