No description
- Lua 100%
| module-category-defaults | ||
| .editorconfig | ||
| .gitignore | ||
| README.md | ||
Module category defaults
This library mod sets the vanilla modules categories as allowed_module_categories on all entities that have that value empty.
This allows to blacklist special modules from mods that should only be allowed in special buildings from that mod.
It basically removes the engine behaviour to allow all module categories if none are specified.
Mod support
In the data stage, the global table ModuleCategoryDefaults is made available.
It contains a table default_categories that will be used to apply the defaults.
Add or remove values to change the outcome of this mod.
You probably want to add your custom category that you want to be available to all regular machines.