[2.0] space-age assembling machine prototype definitions
Posted: Wed Oct 30, 2024 6:50 pm
Hi,
I'm working on a mod that redefines `assembling-machine-1` to have fluids. This means we are adding the crafting-with-fluids category to the base list.
Assembling machine crafting categories in base are defined here: https://github.com/wube/factorio-data/b ... .lua#L3157
space-age overwrites these here: https://github.com/wube/factorio-data/b ... es.lua#L78 instead of doing a `table.insert`, so any mod that adds something to the list now needs to have SA as a dependency for SA to not overwrite any extra additions.
I've added it as an optional dependency to the mod I'm working on, but this just seems a bit unfriendly for modding the assembling machine prototypes.
Thanks!
I'm working on a mod that redefines `assembling-machine-1` to have fluids. This means we are adding the crafting-with-fluids category to the base list.
Assembling machine crafting categories in base are defined here: https://github.com/wube/factorio-data/b ... .lua#L3157
space-age overwrites these here: https://github.com/wube/factorio-data/b ... es.lua#L78 instead of doing a `table.insert`, so any mod that adds something to the list now needs to have SA as a dependency for SA to not overwrite any extra additions.
I've added it as an optional dependency to the mod I'm working on, but this just seems a bit unfriendly for modding the assembling machine prototypes.
Thanks!