Concrete Productivity Modified


Cheaper concrete!! Adds Research to increase concrete productivity by 25% ad infinitum. Now affects all recipes that produce concrete only regardless of which mod adds it or what planet you're on. This version adds support for Dectorio's Concrete Grid and adds optional foundry recipes (depending on if Space-Age DLC is enabled) for it and refined concrete. First level is unlocked with blue science, and the last level with space science. The mod also adds infinite research.

Tweaks
8 months ago
2.0
778
Transportation Environment Manufacturing

g 2.1 update?

2 hours ago

I've done a hack-job (see below) that seemingly works, but I haven't given it much testing yet.

diff -x info.json -r ./ext-orig/concrete-productivity-modified/concrete-productivity-modified/data-updates.lua ./ext-upd/concrete-productivity-modified/concrete-productivity-modified/data-updates.lua
0a1
> --default is already with-fluid: https://github.com/wube/factorio-data/blob/2.1.7/base/prototypes/recipe.lua#L1307 so just add metallurgy if space-age
2,4c3
<     data.raw.recipe["refined-concrete"].category = "crafting-with-fluid-or-metallurgy"
< else
<     data.raw.recipe["refined-concrete"].category = "crafting-with-fluid"
---
>     table.insert(data.raw.recipe["refined-concrete"].categories,"metallurgy")
diff -x info.json -r ./ext-orig/concrete-productivity-modified/concrete-productivity-modified/prototypes/recipes.lua ./ext-upd/concrete-productivity-modified/concrete-productivity-modified/prototypes/recipes.lua
13c13
<                               category = "crafting-with-fluid-or-metallurgy",
---
>                               categories = { "crafting-with-fluid", "metallurgy" },

New response