[0.13+(?)] Modded Configs in the config folder

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

User avatar
bigyihsuan
Filter Inserter
Filter Inserter
Posts: 299
Joined: Thu Jan 01, 2015 12:57 pm
Contact:

[0.13+(?)] Modded Configs in the config folder

Post by bigyihsuan »

So we now can assign custom keybinds for mods. Woohoo, but currently, these keybinds are just shoved into the vanilla config, and other config settings for mods have to be stored in the mod's ZIP.

If there's an interface to create custom configs for mods that appear in the config folder, it could make it much easier to update mods and not worry about your configs becoming overwritten or missing a new parameter.

A possible implementation is having a Lua function that creates a file in "__factorio-install__/config/__mod-name__.lua", and another function that assigns and creates the default config options. Official Lua docs say that variables don't have types by default, but assigning default values could help get around this problem.

What I envision in my mind is a Minecraft Forge-like config system, where mods are able to create their own configs for client and server use.
Post Reply

Return to “Ideas and Suggestions”