Miniloaders Cheaper Earlier


Reduces the build/research cost of miniloaders.

Tweaks
1 year, 2 months ago
1.1
702
Logistics

b Inserters/splitters disabled when enabling mod

1 year, 2 months ago

I've tried the mod on an existing run playing with all the PY mods and while you get the cheaper miniloaders avaible with logistics, the inserters and splitters disappeared, reading the code it seems the original "logistics" technology unlocks gets overwritten, i've modified it by changing to a table insert and it seems to be fixed.

in "data-final-fixes.lua", changing:

data.raw["technology"]["logistics"].effects =
{
{
type = "unlock-recipe",
recipe = "miniloader"
},
{
type = "unlock-recipe",
recipe = "filter-miniloader"
}
}

to:

table.insert(data.raw["technology"]["logistics"]["effects"], {type = "unlock-recipe", recipe = "miniloader"});
table.insert(data.raw["technology"]["logistics"]["effects"], {type = "unlock-recipe", recipe = "filter-miniloader"});

1 year, 2 months ago

Fixed it myself (used your code here) and published here:
https://mods.factorio.com/mod/miniloaders-cheaper-earlier_fixed

1 year, 2 months ago

fixed thanks again

New response