Core by Alex
The shared foundation for every mod "by Alex".
This mod adds nothing to the game by itself — no items, no recipes, no buildings. It is a small library that the other mods by Alex are built on. If one of them asked you to install it, that is all you need to do.
Mods that use this core
| Mod | What it does |
|---|---|
| Scrap Select by Alex | Configurable scrap recycling recipes that keep productivity |
| Early Stacking and Drills by Alex | Early belt stacking research and stacked ore output from mining drills |
| Timed Evolution by Alex | Enemy evolution driven by play time |
| Train Dispatcher by Alex | Loading, unloading and depot stops with a shared pool of trains |
Enable the ones you want in the in-game Mods menu.
What is inside
- Module loader — every mod lists its features as modules, and each module gets its own on/off switch in the startup settings.
- Prototype registry — when two modules try to define the same thing or write different values to the same property, the game stops with a clear error instead of one silently overwriting the other.
For players
- Safe to add to any game: on its own it changes nothing.
- Requires Factorio 2.1.
- Languages: English, Russian, Ukrainian, German.
For mod authors
Add the dependency to your info.json:
"Core-BY-Alex >= 0.0.2"
Then use the helpers in the data stage:
local registry = require("__Core-BY-Alex__.core.registry")
registry.define(prototype) -- add a new prototype, error if it already exists
registry.set(owner, prototype, field, value) -- claim a property, error on a conflicting claim
registry.append_unique(list, value) -- add to a list without duplicates
The registry only coordinates mods that use it. It cannot prevent conflicts with unrelated third-party mods.
Shared library for mods by Alex: module loader and prototype registry. Adds nothing on its own — install it when another mod asks for it.
MIT license. Bug reports and suggestions are welcome in the Discussion tab.