Two things:Guest_4544 wrote:mm apparently it is possible to have multiple control files, by addingbloc97 wrote: Basically if you delete control.lua from any mod, it removes changes to the original game. Usually it won't bug the game and you can still play normally, but the entities from the mod using control.lua will not work correctly. For example, the wind turbines mod: If you delete control.lua, the turbines can still be crafted, placed, etc, but they won't generate any power.
control.lua is optional, and anything that modifies the vanilla game has to use control.lua.at the control.lua file, I have no idea if this name pattern is important. For the 2nd file that is.Code: Select all
require "control2.lua"
1. Deleting control.lua doesn't affect mod entities - removing the mod will remove it's entities from game.
2. control.lua is a predefined name - engine looks for it in same way as for data.lua, data-updates.lua and data-final-fixes.lua. Those files can require an other files but they are the entry points.