Modding in Factorio allows for more content created by the community.
The Official Lua API documentation is a great reference for understanding the Factorio functions and types in the game.
All mods require a license since v0.11. If a mod has no license it is assumed to have a Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
- In this article the devs explain also, that the base-mod (which is part of Factorio) can be used to create new mods, but not used for "outside of Factorio domain".
Creating a scenario from a saved game (map)
./bin/prod/factorio --map2scenario mapfoo
Creating scenarios with the map editor
Another first step is also making maps with the ingame editor. That stores the map as a scenario, which is just a directory on disk with some files in it. You can look into those files to get a better understanding as to what they are for, or you can read the following pages:
- Modding overview
- Prototype definitions
- Lua events
- Lua objects
- Script interfaces
- Lua/Data Lifecycle
- Migration scripts
- Modding FAQ
- Modding Tutorial
Other interesting stuff
- Tutorial: Create graphics for your mod..., how to generate sprite maps