Compare commits

..

7 commits
main ... main

Author SHA1 Message Date
Simon Brodtmann
22e27da6eb 2.0.32 2026-01-27 23:17:45 +01:00
Simon Brodtmann
bc50e46ed7 Fix modules for farm and nursery 2026-01-27 23:14:31 +01:00
Simon Brodtmann
9fa0928341 Add missing seed ingredient to the sapling recipe 2026-01-27 23:14:31 +01:00
Simon Brodtmann
d95e51113b Fix Angels compatibility 2026-01-27 23:14:31 +01:00
7ce072707c Updated Angels prototypes to new names (#11)
Have updated all Angels prototypes to new names, tested with Full Bobs+Angels+Omni

Reviewed-on: cacklingfiend/Bio_Industries_2#11
Co-authored-by: Adam Cirillo <adamncirillo@gmail.com>
Co-committed-by: Adam Cirillo <adamncirillo@gmail.com>
2026-01-13 16:56:45 +01:00
Simon Brodtmann
d595b444fc 2.0.31 2025-12-10 19:45:56 +01:00
Simon Brodtmann
923d31db2b Gardens have reduced crafting speed with quality 2025-11-24 22:41:04 +01:00
13 changed files with 480 additions and 502 deletions

View file

@ -1,4 +1,16 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.32
Date: 27.01.2026
Bug Fixes:
- Add missing seed ingredient to the sapling recipe
- Fix modules for farm and nursery
- Fix compatibility with Angel's mods
---------------------------------------------------------------------------------------------------
Version: 2.0.31
Date: 10.12.2025
Changes:
- Gardens have reduced crafting speed with quality
---------------------------------------------------------------------------------------------------
Version: 2.0.30 Version: 2.0.30
Date: 05.11.2025 Date: 05.11.2025
Bug Fixes: Bug Fixes:

View file

@ -340,9 +340,9 @@ if settings.startup["angels-use-angels-barreling"] and settings.startup["angels-
data.raw.technology["bi-tech-fertilizer"].prerequisites = { data.raw.technology["bi-tech-fertilizer"].prerequisites = {
"bi-tech-bio-farming", "bi-tech-bio-farming",
-- AND ( -- AND (
"water-treatment", -- sulfur "angels-water-treatment", -- sulfur
-- OR -- OR
"angels-fluid-barreling", -- barreling (needed 'water-treatment' as prerequisites) "angels-fluid-barreling", -- barreling (needed 'angels-water-treatment' as prerequisites)
-- ) -- )
} }
end end
@ -350,12 +350,12 @@ end
----- Angels Merge ---- ----- Angels Merge ----
if mods["angelspetrochem"] then if mods["angelspetrochem"] then
data.raw.item["pellet-coke"].icon = "__angelspetrochem__/graphics/icons/pellet-coke.png" data.raw.item["angels-pellet-coke"].icon = "__angelspetrochemgraphics__/graphics/icons/pellet-coke.png"
data.raw.item["pellet-coke"].icon_size = 32 data.raw.item["angels-pellet-coke"].icon_size = 32
data.raw.item["pellet-coke"].fuel_acceleration_multiplier = 1.1 data.raw.item["angels-pellet-coke"].fuel_acceleration_multiplier = 1.1
data.raw.item["pellet-coke"].fuel_top_speed_multiplier = 1.2 data.raw.item["angels-pellet-coke"].fuel_top_speed_multiplier = 1.2
data.raw.recipe["pellet-coke"].category = "biofarm-mod-smelting" data.raw.recipe["angels-pellet-coke"].category = "biofarm-mod-smelting"
thxbob.lib.tech.remove_recipe_unlock("angels-coal-processing-2", "pellet-coke") thxbob.lib.tech.remove_recipe_unlock("angels-coal-processing-2", "pellet-coke")
thxbob.lib.tech.add_recipe_unlock("angels-coal-cracking", "pellet-coke") thxbob.lib.tech.add_recipe_unlock("angels-coal-cracking", "pellet-coke")
end end

View file

@ -1,6 +1,6 @@
{ {
"name": "Bio_Industries_2", "name": "Bio_Industries_2",
"version": "2.0.30", "version": "2.0.32",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Bio Industries", "title": "Bio Industries",
"author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0", "author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0",

View file

@ -14,6 +14,7 @@ bi-bio-reactor=Bio-reactor
bi-cokery=Cokery bi-cokery=Cokery
bi-stone-crusher=Stone crusher bi-stone-crusher=Stone crusher
## Power ## Power
bi-bio-accumulator=Huge accumulator bi-bio-accumulator=Huge accumulator
bi-bio-boiler=Bio-boiler bi-bio-boiler=Bio-boiler
@ -22,10 +23,12 @@ bi-large-substation=Huge substation
bi-solar-boiler=Solar power plant & boiler bi-solar-boiler=Solar power plant & boiler
bi-solar-mat=Musk floor bi-solar-mat=Musk floor
## Weaponry ## Weaponry
bi-bio-cannon=Prototype artillery bi-bio-cannon=Prototype artillery
bi-dart-turret=Dart turret bi-dart-turret=Dart turret
## Rail stuff ## Rail stuff
bi-power-to-rail-pole=Powered rails connector bi-power-to-rail-pole=Powered rails connector
bi-rail-power=Powered rails bi-rail-power=Powered rails
@ -38,29 +41,6 @@ bi-half-diagonal-rail-wood=Wooden rails
rail-remnants-wood-bridge=Remnants of a wooden rail bridge rail-remnants-wood-bridge=Remnants of a wooden rail bridge
rail-remnants-wood=Remnants of wooden rails rail-remnants-wood=Remnants of wooden rails
# Entity remnants names
bi-bio-cannon-remnants=Remnants of prototype artillery
bi-arboretum-area-remnant=Remnants of terraformer
bi-bio-accumulator-remnant=Remnants of huge accumulator
bi-bio-farm-remnant=Remnants of bio farm
bi-bio-garden-huge-remnant=Remnants of huge bio garden
bi-bio-garden-large-remnant=Resto de large bio garden
bi-bio-garden-remnant=Remnants of bio garden
bi-bio-greenhouse-remnant=Remnants of bio nursery
bi-bio-reactor-remnant=Remnants of bio-reactor
bi-bio-solar-farm-remnant=Remnants of solar farm
bi-cokery-remnant=Remnants of cokery
bi-dart-turret-remnant=Remnants of dart turret
bi-large-substation-remnant=Remnants of huge substation
bi-solar-boiler-remnant=Remnants of solar power plant & boiler
bi-stone-crusher-remnant=Remnants of stone crusher
bi-wood-pipe-remnant=Remnants of wood pipe
bi-wooden-chest-giga-remnant=Remnants of huge wooden chest
bi-wooden-chest-huge-remnant=Remnants of huge large chest
bi-wooden-chest-large-remnant=Remnants of medium wooden chest
bi-wooden-fence-remnant=Remnants of wooden fence
bi-wooden-pole-big-remnant=Remnants of big wooden pole
bi-wooden-pole-huge-remnant=Remnants of huge wooden pole
## Miscallenous wooden products ## Miscallenous wooden products
bi-wood-pipe-to-ground=Wood pipe to ground bi-wood-pipe-to-ground=Wood pipe to ground

View file

@ -116,7 +116,7 @@ bi-crushed-stone_IR=Excess __ITEM__concrete__ in all variations can be recycled
#~ bi-power-to-rail-pole=Connect your power rail to the power grid #~ bi-power-to-rail-pole=Connect your power rail to the power grid
bi-production-science-pack=Use more, but cheaper wooden rails to make production science packs! #~ bi-production-science-pack=Use more, but cheaper wooden rails to make production science packs!
#~ bi-rail-power=Rail that also conducts electricity (connect to power grid using "power to rail" connector) #~ bi-rail-power=Rail that also conducts electricity (connect to power grid using "power to rail" connector)
#~ bi-rail-wood-bridge=Rail that can bridge water\nNote: You can't walk on this! #~ bi-rail-wood-bridge=Rail that can bridge water\nNote: You can't walk on this!
#~ bi-rail-wood-to-concrete=Upgrade wooden rails to default rails #~ bi-rail-wood-to-concrete=Upgrade wooden rails to default rails

View file

@ -12,6 +12,7 @@ bob-fertiliser=__ITEM__fertilizer__
# Added for 0.18.32/1.1.2 # Added for 0.18.32/1.1.2
bi-fertilizer-fluid=Liquid __ITEM__fertilizer__ bi-fertilizer-fluid=Liquid __ITEM__fertilizer__
bi-arboretum-r1=Plant trees bi-arboretum-r1=Plant trees
bi-arboretum-r2=Change terrain with __ITEM__fertilizer__ bi-arboretum-r2=Change terrain with __ITEM__fertilizer__
bi-arboretum-r3=Change terrain with __ITEM__bi-adv-fertilizer__ bi-arboretum-r3=Change terrain with __ITEM__bi-adv-fertilizer__
@ -58,6 +59,7 @@ bi-logs-2=Improved __ITEM__wood__ production with __ITEM__bi-ash__
bi-logs-3=Advanced __ITEM__wood__ production with __ITEM__fertilizer__ bi-logs-3=Advanced __ITEM__wood__ production with __ITEM__fertilizer__
bi-logs-4=Super __ITEM__wood__ production with __ITEM__bi-adv-fertilizer__ bi-logs-4=Super __ITEM__wood__ production with __ITEM__bi-adv-fertilizer__
## Resources ## Resources
bi-cellulose-1=Basic __ITEM__bi-cellulose__ production bi-cellulose-1=Basic __ITEM__bi-cellulose__ production
bi-cellulose-2=Advanced __ITEM__bi-cellulose__ production bi-cellulose-2=Advanced __ITEM__bi-cellulose__ production
@ -94,8 +96,6 @@ bi-sulfur=Bio-__ITEM__sulfur__
bi-plastic-1=__ITEM__plastic-bar__ from __ITEM__wood__ bi-plastic-1=__ITEM__plastic-bar__ from __ITEM__wood__
bi-plastic-2=__ITEM__plastic-bar__ from __ITEM__bi-cellulose__ bi-plastic-2=__ITEM__plastic-bar__ from __ITEM__bi-cellulose__
## Research
bi-production-science-pack=Production science pack
## Disassemble ## Disassemble
bi-burner-inserter-disassemble=Disassemble __ENTITY__burner-inserter__ bi-burner-inserter-disassemble=Disassemble __ENTITY__burner-inserter__
@ -104,6 +104,7 @@ bi-long-handed-inserter-disassemble=Disassemble __ENTITY__long-handed-inserter__
bi-steel-furnace-disassemble=Disassemble __ENTITY__steel-furnace__ bi-steel-furnace-disassemble=Disassemble __ENTITY__steel-furnace__
bi-stone-furnace-disassemble=Disassemble __ENTITY__stone-furnace__ bi-stone-furnace-disassemble=Disassemble __ENTITY__stone-furnace__
## Compatibility with other mods ## Compatibility with other mods
## angelsrefining ## angelsrefining
bi-mineralized-sulfuric-waste=Mineralized water bi-mineralized-sulfuric-waste=Mineralized water

View file

@ -14,6 +14,7 @@ bi-bio-reactor=Biorreator
bi-cokery=Coqueria bi-cokery=Coqueria
bi-stone-crusher=Triturador de pedras bi-stone-crusher=Triturador de pedras
## Power ## Power
bi-bio-accumulator=Acumulador imenso bi-bio-accumulator=Acumulador imenso
bi-bio-boiler=Biocaldeira bi-bio-boiler=Biocaldeira
@ -22,10 +23,12 @@ bi-large-substation=Subestação imensa
bi-solar-boiler=Usina solar com caldeira bi-solar-boiler=Usina solar com caldeira
bi-solar-mat=Chão Musk bi-solar-mat=Chão Musk
## Weaponry ## Weaponry
bi-bio-cannon=Protótipo de artilharia bi-bio-cannon=Protótipo de artilharia
bi-dart-turret=Torre de dardos bi-dart-turret=Torre de dardos
## Rail stuff ## Rail stuff
bi-power-to-rail-pole=Conector de trilho elétrico bi-power-to-rail-pole=Conector de trilho elétrico
bi-rail-power=Trilho elétrico bi-rail-power=Trilho elétrico
@ -38,29 +41,6 @@ bi-half-diagonal-rail-wood=Trilho de madeira
rail-remnants-wood-bridge=Restos de ponte ferroviária de madeira rail-remnants-wood-bridge=Restos de ponte ferroviária de madeira
rail-remnants-wood=Restos de triho de madeira rail-remnants-wood=Restos de triho de madeira
# Entity remnants names
bi-bio-cannon-remnants=Restos de protótipo de artilharia
bi-arboretum-area-remnant=Restos de terraformador
bi-bio-accumulator-remnant=Restos de acumulador imenso
bi-bio-farm-remnant=Restos de fazenda biológica
bi-bio-garden-huge-remnant=Restos de jardim biológico imenso
bi-bio-garden-large-remnant=Resto de jardim biológico grande
bi-bio-garden-remnant=Restos de jardim biológico
bi-bio-greenhouse-remnant=Restos de viveiro biológico
bi-bio-reactor-remnant=Restos de biorreator
bi-bio-solar-farm-remnant=Restos de fazenda solar
bi-cokery-remnant=Restos de coqueria
bi-dart-turret-remnant=Restos de torre de dardos
bi-large-substation-remnant=Restos de substação imensa
bi-solar-boiler-remnant=Restos de usina solar com caldeira
bi-stone-crusher-remnant=Restos de triturador de pedras
bi-wood-pipe-remnant=Restos de cano de madeira
bi-wooden-chest-giga-remnant=Restos de baú de madeira imenso
bi-wooden-chest-huge-remnant=Restos de baú de madeira grande
bi-wooden-chest-large-remnant=Restos de baú de madeira médio
bi-wooden-fence-remnant=Restos de cerca de madeira
bi-wooden-pole-big-remnant=Restos de poste de madeira grande
bi-wooden-pole-huge-remnant=Restos de poste de madeira imenso
## Miscallenous wooden products ## Miscallenous wooden products
bi-wood-pipe-to-ground=Cano de madeira subterrâneo bi-wood-pipe-to-ground=Cano de madeira subterrâneo

View file

@ -116,7 +116,7 @@ bi-crushed-stone_IR=O excesso de __ITEM__concrete__ e todas as suas variantes po
#~ bi-power-to-rail-pole=Conecte seu trilho elétrico à rede elétrica #~ bi-power-to-rail-pole=Conecte seu trilho elétrico à rede elétrica
bi-production-science-pack=Utilize mais trilhos de madeira (mais baratos), para fazer pacotes científicos de produção! #~ bi-production-science-pack=Utiliza mais trilhos de madeira (mais baratos), para fazer pacotes científicos de produção!
#~ bi-rail-power=Trilho que também conduz eletricidade (conecte-o à rede elétrica utilizando o conector "energia para trilho") #~ bi-rail-power=Trilho que também conduz eletricidade (conecte-o à rede elétrica utilizando o conector "energia para trilho")
#~ bi-rail-wood-bridge=Trilho que pode atravessar a água\nObservação: Você não pode andar sobre ele! #~ bi-rail-wood-bridge=Trilho que pode atravessar a água\nObservação: Você não pode andar sobre ele!
#~ bi-rail-wood-to-concrete=Atualizar trilhos de madeira para trilhos normais #~ bi-rail-wood-to-concrete=Atualizar trilhos de madeira para trilhos normais

View file

@ -12,6 +12,7 @@ bob-fertiliser=__ITEM__fertilizer__
# Added for 0.18.32/1.1.2 # Added for 0.18.32/1.1.2
bi-fertilizer-fluid=__ITEM__fertilizer__ líquido bi-fertilizer-fluid=__ITEM__fertilizer__ líquido
bi-arboretum-r1=Cultivo de árvores bi-arboretum-r1=Cultivo de árvores
bi-arboretum-r2=Terraformar utilizando __ITEM__fertilizer__ bi-arboretum-r2=Terraformar utilizando __ITEM__fertilizer__
bi-arboretum-r3=Terraformar utilizando __ITEM__bi-adv-fertilizer__ bi-arboretum-r3=Terraformar utilizando __ITEM__bi-adv-fertilizer__
@ -58,6 +59,7 @@ bi-logs-2=Produção melhorada de __ITEM__wood__ utilizando __ITEM__bi-ash__
bi-logs-3=Produção avançada de __ITEM__wood__ utilizando __ITEM__fertilizer__ bi-logs-3=Produção avançada de __ITEM__wood__ utilizando __ITEM__fertilizer__
bi-logs-4=Superprodução de __ITEM__wood__ utilizando __ITEM__bi-adv-fertilizer__ bi-logs-4=Superprodução de __ITEM__wood__ utilizando __ITEM__bi-adv-fertilizer__
## Resources ## Resources
bi-cellulose-1=Produção básica de __ITEM__bi-cellulose__ bi-cellulose-1=Produção básica de __ITEM__bi-cellulose__
bi-cellulose-2=Produção avançada de __ITEM__bi-cellulose__ bi-cellulose-2=Produção avançada de __ITEM__bi-cellulose__
@ -94,8 +96,6 @@ bi-sulfur=Bio-__ITEM__sulfur__
bi-plastic-1=__ITEM__plastic-bar__ de __ITEM__wood__ bi-plastic-1=__ITEM__plastic-bar__ de __ITEM__wood__
bi-plastic-2=__ITEM__plastic-bar__ de __ITEM__bi-cellulose__ bi-plastic-2=__ITEM__plastic-bar__ de __ITEM__bi-cellulose__
## Research
bi-production-science-pack=Pacote científico de produção
## Disassemble ## Disassemble
bi-burner-inserter-disassemble=Desmantelamento de __ENTITY__burner-inserter__ bi-burner-inserter-disassemble=Desmantelamento de __ENTITY__burner-inserter__
@ -104,6 +104,7 @@ bi-long-handed-inserter-disassemble=Desmantelamento de __ENTITY__long-handed-ins
bi-steel-furnace-disassemble=Desmantelamento de __ENTITY__steel-furnace__ bi-steel-furnace-disassemble=Desmantelamento de __ENTITY__steel-furnace__
bi-stone-furnace-disassemble=Desmantelamento de __ENTITY__stone-furnace__ bi-stone-furnace-disassemble=Desmantelamento de __ENTITY__stone-furnace__
## Compatibility with other mods ## Compatibility with other mods
## angelsrefining ## angelsrefining
bi-mineralized-sulfuric-waste=Água mineralizada bi-mineralized-sulfuric-waste=Água mineralizada

View file

@ -6,6 +6,7 @@ local ICONPATH_KR = BioInd.modRoot .. "/graphics/icons/mod_krastorio/"
local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/"
local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen"
local pellet_coke = data.raw.item["angels-pellet-coke"] and "angels-pellet-coke" or "pellet-coke"
data:extend({ data:extend({
{ {
@ -24,7 +25,7 @@ data:extend({
order = "a[bi]-a-g[bi-coke-coal]-2", order = "a[bi]-a-g[bi-coke-coal]-2",
energy_required = 4, energy_required = 4,
ingredients = {}, ingredients = {},
results = {{type="item", name="pellet-coke", amount=1}}, results = {{type="item", name=pellet_coke, amount=1}},
always_show_made_in = true, always_show_made_in = true,
allow_decomposition = false, allow_decomposition = false,
allow_as_intermediate = false, allow_as_intermediate = false,
@ -172,15 +173,15 @@ end
-- Update Wood Bricks icon to Angels -- Update Wood Bricks icon to Angels
if data.raw.item["wood-bricks"] and mods["angelsbioprocessing"] then if data.raw.item["wood-bricks"] and mods["angelsbioprocessing"] then
data.raw.recipe["bi-wood-fuel-brick"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" data.raw.recipe["bi-wood-fuel-brick"].icon = "__angelsbioprocessinggraphics__/graphics/icons/wood-bricks.png"
data.raw.recipe["bi-wood-fuel-brick"].icon_size = 32 data.raw.recipe["bi-wood-fuel-brick"].icon_size = 32
data.raw.recipe["bi-wood-fuel-brick"].icons = { data.raw.recipe["bi-wood-fuel-brick"].icons = {
{ {
icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png", icon = "__angelsbioprocessinggraphics__/graphics/icons/wood-bricks.png",
icon_size = 32, icon_size = 32,
} }
} }
data.raw.item["wood-bricks"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" data.raw.item["wood-bricks"].icon = "__angelsbioprocessinggraphics__/graphics/icons/wood-bricks.png"
data.raw.item["wood-bricks"].icon_size = 32 data.raw.item["wood-bricks"].icon_size = 32
end end
@ -224,13 +225,13 @@ if mods["angelspetrochem"] then
end end
-- If Angels, replace water with water-yellow-waste -- If Angels, replace water with angels-water-yellow-waste
if data.raw.fluid["water-yellow-waste"] and mods["angelspetrochem"] then if data.raw.fluid["angels-water-yellow-waste"] and mods["angelspetrochem"] then
-- Replace water with water-yellow-waste in Algae Biomass conversion 4 -- Replace water with angels-water-yellow-waste in Algae Biomass conversion 4
thxbob.lib.recipe.remove_result("bi-biomass-conversion-4", "water") thxbob.lib.recipe.remove_result("bi-biomass-conversion-4", "water")
thxbob.lib.recipe.add_result("bi-biomass-conversion-4", { thxbob.lib.recipe.add_result("bi-biomass-conversion-4", {
type = "fluid", type = "fluid",
name = "water-yellow-waste", name = "angels-water-yellow-waste",
amount = 40 amount = 40
}) })
-- Change recipe localizations -- Change recipe localizations
@ -270,17 +271,17 @@ if mods["angelsrefining"] then
icon_size = 64, icon_size = 64,
} }
}, },
category = "liquifying", category = "angels-liquifying",
subgroup = "water-treatment", subgroup = "angels-water-treatment",
energy_required = 2, energy_required = 2,
ingredients = { ingredients = {
{type = "fluid", name = "water-purified", amount = 100}, {type = "fluid", name = "angels-water-purified", amount = 100},
{type = "item", name = "stone-crushed", amount = 90}, {type = "item", name = "stone-crushed", amount = 90},
{type = "item", name = "wood-charcoal", amount = 30}, {type = "item", name = "wood-charcoal", amount = 30},
}, },
results= { results= {
{type = "fluid", name = "water-yellow-waste", amount = 40}, {type = "fluid", name = "angels-water-yellow-waste", amount = 40},
{type = "fluid", name = "water-mineralized", amount = 60}, {type = "fluid", name = "angels-water-mineralized", amount = 60},
}, },
enabled = false, enabled = false,
allow_as_intermediate = false, allow_as_intermediate = false,
@ -301,16 +302,16 @@ if mods["angelsrefining"] then
icon_size = 64, icon_size = 64,
} }
}, },
category = "liquifying", category = "angels-liquifying",
subgroup = "liquifying", subgroup = "angels-liquifying",
energy_required = 4, energy_required = 4,
ingredients = { ingredients = {
{type = "fluid", name = "water-saline", amount = 50}, {type = "fluid", name = "angels-water-saline", amount = 50},
{type = "item", name = "stone-crushed", amount = 90}, {type = "item", name = "stone-crushed", amount = 90},
{type = "item", name = "bi-ash", amount = 40}, {type = "item", name = "bi-ash", amount = 40},
}, },
results = { results = {
{type = "fluid", name = "slag-slurry", amount = 100}, {type = "fluid", name = "angels-slag-slurry", amount = 100},
}, },
enabled = false, enabled = false,
allow_as_intermediate = false, allow_as_intermediate = false,
@ -319,7 +320,7 @@ if mods["angelsrefining"] then
order = "i [slag-processing-dissolution]-2", order = "i [slag-processing-dissolution]-2",
}, },
}) })
thxbob.lib.tech.add_recipe_unlock("water-treatment", "bi-mineralized-sulfuric-waste") thxbob.lib.tech.add_recipe_unlock("angels-water-treatment", "bi-mineralized-sulfuric-waste")
thxbob.lib.tech.add_recipe_unlock("slag-processing-1", "bi-slag-slurry") thxbob.lib.tech.add_recipe_unlock("slag-processing-1", "bi-slag-slurry")
end end

View file

@ -327,9 +327,7 @@ data:extend({
ingredient_count = 3, ingredient_count = 3,
open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 },
close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 },
module_specification = { module_slots = 3,
module_slots = 3
},
allowed_effects = { "consumption", "speed", "productivity", "pollution" }, allowed_effects = { "consumption", "speed", "productivity", "pollution" },
}, },
@ -412,7 +410,7 @@ data:extend({
pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } }
}, },
}, },
module_specification = {module_slots = 2}, module_slots = 2,
allowed_effects = { "consumption", "speed", "productivity", "pollution" }, allowed_effects = { "consumption", "speed", "productivity", "pollution" },
graphics_set = { graphics_set = {
animation = { animation = {

View file

@ -161,6 +161,7 @@ data:extend({
category = "biofarm-mod-greenhouse", category = "biofarm-mod-greenhouse",
energy_required = 400, energy_required = 400,
ingredients = { ingredients = {
{ type = "item", name = "bi-seed", amount = 20 },
{ type = "fluid", name = "water", amount = 100 }, { type = "fluid", name = "water", amount = 100 },
}, },
results = { results = {

View file

@ -1,11 +1,16 @@
local BioInd = require('common')('Bio_Industries_2') local BioInd = require('common')('Bio_Industries_2')
local ICONPATH = BioInd.modRoot .. "/graphics/icons/"
local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/"
local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/"
local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/"
require("util") require("util")
local crafting_speed_quality_multiplier = mods["quality"] and {
uncommon = 0.83,
rare = 0.66,
epic = 0.50,
legendary = 0.16
} or nil
--- Bio Garden --- Bio Garden
data:extend({ data:extend({
@ -68,6 +73,7 @@ data:extend({
source_inventory_size = 1, source_inventory_size = 1,
result_inventory_size = 1, result_inventory_size = 1,
crafting_speed = 1.0, crafting_speed = 1.0,
crafting_speed_quality_multiplier = crafting_speed_quality_multiplier,
energy_source = { energy_source = {
type = "electric", type = "electric",
usage_priority = "secondary-input", usage_priority = "secondary-input",
@ -105,8 +111,7 @@ data:extend({
time_before_removed = 60 * 60 * 15, -- 15 minutes time_before_removed = 60 * 60 * 15, -- 15 minutes
final_render_layer = "remnants", final_render_layer = "remnants",
remove_on_tile_placement = false, remove_on_tile_placement = false,
animation = animation = {
{
{ {
filename = REMNANTSPATH .. "bio_garden_remnant.png", filename = REMNANTSPATH .. "bio_garden_remnant.png",
line_length = 1, line_length = 1,
@ -121,7 +126,6 @@ data:extend({
}, },
---- Bio Garden Large ---- Bio Garden Large
{ {
type = "assembling-machine", type = "assembling-machine",
@ -209,6 +213,7 @@ data:extend({
source_inventory_size = 1, source_inventory_size = 1,
result_inventory_size = 1, result_inventory_size = 1,
crafting_speed = 4.0, crafting_speed = 4.0,
crafting_speed_quality_multiplier = crafting_speed_quality_multiplier,
energy_source = { energy_source = {
type = "electric", type = "electric",
usage_priority = "secondary-input", usage_priority = "secondary-input",
@ -246,8 +251,7 @@ data:extend({
time_before_removed = 60 * 60 * 15, -- 15 minutes time_before_removed = 60 * 60 * 15, -- 15 minutes
final_render_layer = "remnants", final_render_layer = "remnants",
remove_on_tile_placement = false, remove_on_tile_placement = false,
animation = animation = {
{
{ {
filename = REMNANTSPATH .. "bio_garden_large_remnant.png", filename = REMNANTSPATH .. "bio_garden_large_remnant.png",
line_length = 1, line_length = 1,
@ -391,6 +395,7 @@ data:extend({
source_inventory_size = 1, source_inventory_size = 1,
result_inventory_size = 1, result_inventory_size = 1,
crafting_speed = 16, crafting_speed = 16,
crafting_speed_quality_multiplier = crafting_speed_quality_multiplier,
energy_source = { energy_source = {
type = "electric", type = "electric",
usage_priority = "secondary-input", usage_priority = "secondary-input",
@ -428,8 +433,7 @@ data:extend({
time_before_removed = 60 * 60 * 15, -- 15 minutes time_before_removed = 60 * 60 * 15, -- 15 minutes
final_render_layer = "remnants", final_render_layer = "remnants",
remove_on_tile_placement = false, remove_on_tile_placement = false,
animation = animation = {
{
{ {
filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", filename = REMNANTSPATH .. "bio_garden_huge_remnant.png",
line_length = 1, line_length = 1,