forked from cacklingfiend/Bio_Industries_2
Returned alternative production-science-pack recipe with wooden rails.
Copied and edited from here: 6abb0414f5/Bio_Industries/prototypes/Bio_Tweaks/recipe.lua (L175)
This commit is contained in:
parent
62d126205a
commit
64bfb00826
1 changed files with 24 additions and 0 deletions
|
|
@ -133,3 +133,27 @@ log("Enabling disassemble recipes!")
|
|||
|
||||
})
|
||||
end
|
||||
|
||||
local KRAS = (mods["Krastorio2"] or mods["Krastorio"]) and true or false
|
||||
local SET = settings.startup["BI_Game_Tweaks_Production_Science"].value
|
||||
if SET and not KRAS then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "bi-production-science-pack",
|
||||
enabled = false,
|
||||
energy_required = 21,
|
||||
ingredients = {
|
||||
{type = "item", name = "electric-furnace", amount = 1},
|
||||
{type = "item", name = "productivity-module", amount = 1},
|
||||
{type = "item", name = "bi-rail-wood", amount = 40}
|
||||
},
|
||||
results = {{type="item", name="production-science-pack", amount=3}},
|
||||
},
|
||||
})
|
||||
--~ BI_Functions.lib.allow_productivity("bi-production-science-pack")
|
||||
--~ thxbob.lib.tech.add_recipe_unlock("production-science-pack", "bi-production-science-pack")
|
||||
BioInd.writeDebug("Added alternative recipe for Production science packs.")
|
||||
else
|
||||
BioInd.writeDebug("Didn't add alternative recipe for Production science packs! (\"Krastorio\": %s\tSetting: %s", {(KRAS and "active" or "not active"), (SET and "enabled" or "disabled")})
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue