bio industries compatibility
This commit is contained in:
parent
78024a05f9
commit
efbe6024c3
3 changed files with 19 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ Date: 2021-03-08
|
|||
- New visuals by snouz (icons, technologies)
|
||||
- New mod icon
|
||||
- Added icon mipmaps
|
||||
Features:
|
||||
- Beta Bio Industries compatibility: silica from crushed stone, concrete recipe update.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.4.1
|
||||
Date: 2021-02-28
|
||||
|
|
|
|||
|
|
@ -11,7 +11,17 @@ data:extend(
|
|||
ingredients = {{"quartz", 10}},
|
||||
result = "silica",
|
||||
result_count = 30
|
||||
} or {
|
||||
} or mods["Bio_Industries"] and {
|
||||
type = "recipe",
|
||||
name = "silica",
|
||||
category = "biofarm-mod-crushing",
|
||||
enabled = false,
|
||||
energy_required = 6,
|
||||
ingredients = {{"stone-crushed", 4}},
|
||||
result = "silica",
|
||||
result_count = 5,
|
||||
} or
|
||||
{
|
||||
type = "recipe",
|
||||
name = "silica",
|
||||
category = "smelting",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,12 @@ local util = require("__bzsilicon__.util");
|
|||
|
||||
if not mods["Krastorio2"] then
|
||||
util.remove_ingredient("concrete", "stone-brick");
|
||||
if mods["Bio_Industries"] then
|
||||
util.add_ingredient("concrete", "stone-brick", 3);
|
||||
util.add_ingredient("concrete", "silica", 10);
|
||||
else
|
||||
util.add_ingredient("concrete", "silica", 25);
|
||||
end
|
||||
util.add_prerequisite("concrete", "silica-processing")
|
||||
|
||||
if util.more_intermediates() then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue