From c160a346218e35343353fefce392c4fab2093316 Mon Sep 17 00:00:00 2001 From: MAGGen Date: Sun, 26 Oct 2025 22:29:15 +0100 Subject: [PATCH 1/9] Returned wooden rail recipe from older mod version. Code copied and edited from here: https://github.com/TheSAguy/Bio_Industries/blob/6abb0414f5500bb1325883db77a4a4f19775414f/Bio_Industries/prototypes/Wood_Products/recipe.lua#L157 --- .../prototypes/Wood_Products/rail.lua | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Bio_Industries_2/prototypes/Wood_Products/rail.lua b/Bio_Industries_2/prototypes/Wood_Products/rail.lua index 97c7da1..1a5c1e5 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/rail.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/rail.lua @@ -40,6 +40,33 @@ local simulations = require("__base__.prototypes.factoriopedia-simulations") }, ---- Recipe + { + type = "recipe", + name = "bi-rail-wood", + localised_name = {"entity-name.bi-rail-wood"}, + localised_description = {"entity-description.bi-rail-wood"}, + icons = { { icon = ICONPATH_E .. "rail-wood.png", icon_size = 64, } }, + enabled = false, + ingredients = { + {type="item",name="wood",amount=6}, + {type="item",name="stone",amount=1}, + {type="item",name="steel-plate",amount=1}, + {type="item",name="iron-stick",amount=1}, + }, + results={{type="item",name="bi-rail-wood",amount=2}}, + main_product = "", + requester_paste_multiplier = 4, + --~ always_show_made_in = true, + --~ allow_decomposition = false, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + subgroup = "transport", + order = "a[train-system]-a[rail]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries", + }, { type = "recipe", name = "bi-rail-wood-to-concrete", From 62d126205ae867e3cc18fe14f2bb16da741d4b46 Mon Sep 17 00:00:00 2001 From: MAGGen Date: Sun, 26 Oct 2025 22:37:48 +0100 Subject: [PATCH 2/9] Added ability to upgrade/replace wooden rails to normal variant and back. Rails are now fast-replaceable and can be upgraded with upgrade plan. Note: To degrade rails back to wooden it's required to manualy select ALL rail variants (straight, diagonal, curve) in upgrade plan and select wooden replacemnet for them. --- .../prototypes/Wood_Products/rail.lua | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Bio_Industries_2/prototypes/Wood_Products/rail.lua b/Bio_Industries_2/prototypes/Wood_Products/rail.lua index 1a5c1e5..dceaad8 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/rail.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/rail.lua @@ -117,7 +117,10 @@ local simulations = require("__base__.prototypes.factoriopedia-simulations") placeable_by = {item = "bi-rail-wood", count = 1}, walking_sound = tile_sounds.walking.rails, extra_planner_goal_penalty = -4, - factoriopedia_alternative = "straight-rail" + factoriopedia_alternative = "straight-rail", + -- for upgrade planer (fast rail change wood/iron) + next_upgrade = "straight-rail", + fast_replaceable_group = "straight-rail", }, { @@ -166,7 +169,10 @@ local simulations = require("__base__.prototypes.factoriopedia-simulations") placeable_by = {item = "bi-rail-wood", count = 2}, walking_sound = tile_sounds.walking.rails, extra_planner_penalty = 0, - factoriopedia_alternative = "straight-rail" + factoriopedia_alternative = "straight-rail", + -- for upgrade planer (fast rail change wood/iron) + next_upgrade = "half-diagonal-rail", + fast_replaceable_group = "half-diagonal-rail", }, { type = "curved-rail-a", @@ -213,7 +219,10 @@ local simulations = require("__base__.prototypes.factoriopedia-simulations") walking_sound = tile_sounds.walking.rails, extra_planner_penalty = 0.5, deconstruction_marker_positions = rail_8shifts_vector(-0.248, -0.533), - factoriopedia_alternative = "straight-rail" + factoriopedia_alternative = "straight-rail", + -- for upgrade planer (fast rail change wood/iron) + next_upgrade = "curved-rail-a", + fast_replaceable_group = "curved-rail-a", }, { type = "curved-rail-b", @@ -260,7 +269,10 @@ local simulations = require("__base__.prototypes.factoriopedia-simulations") walking_sound = tile_sounds.walking.rails, extra_planner_penalty = 0.5, deconstruction_marker_positions = rail_8shifts_vector(-0.309, -0.155), - factoriopedia_alternative = "straight-rail" + factoriopedia_alternative = "straight-rail", + -- for upgrade planer (fast rail change wood/iron) + next_upgrade = "curved-rail-b", + fast_replaceable_group = "curved-rail-b", }, }) From 64bfb00826d9b5937b7ddeaa8d4a51dccb6f811a Mon Sep 17 00:00:00 2001 From: MAGGen Date: Sun, 26 Oct 2025 22:40:01 +0100 Subject: [PATCH 3/9] Returned alternative production-science-pack recipe with wooden rails. Copied and edited from here: https://github.com/TheSAguy/Bio_Industries/blob/6abb0414f5500bb1325883db77a4a4f19775414f/Bio_Industries/prototypes/Bio_Tweaks/recipe.lua#L175 --- .../prototypes/Bio_Tweaks/recipe.lua | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua b/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua index bc3cef5..f0d53ea 100644 --- a/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua @@ -132,4 +132,28 @@ 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 \ No newline at end of file From cd3fb247aa03d57340b17d6f198eb1f80ef7ee09 Mon Sep 17 00:00:00 2001 From: MAGGen Date: Sun, 2 Nov 2025 13:52:17 +0100 Subject: [PATCH 4/9] Small Items scale fix. Added varying scales for some items. This commit fixes Items that looked way too small on conveyor belt. Changed items: bi-seed, seedling, bi-woodpulp, bi-ash, wood-charcoal, stone-crushed. Almost all of them now have pictures with various sizes (-0.02; +0.02) for additional realizm. P.S. This will, probably, require more changes in future. For example "seedling_7.png" even with scale of 0.72 still looks small. Increasing this value to 0.8 and higher, adds visible blur to texture... --- Bio_Industries_2/prototypes/Bio_Farm/item.lua | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/item.lua b/Bio_Industries_2/prototypes/Bio_Farm/item.lua index 23f3026..b12cece 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/item.lua @@ -13,10 +13,10 @@ data:extend( name = "bi-seed", icons = { {icon = ICONPATH .. "bio_seed.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.25, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.48, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.46, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.43, mipmap_count = 4 } }, category = "biofarm-mod-greenhouse", subgroup = "bio-bio-farm", @@ -35,15 +35,15 @@ data:extend( localised_description = {"entity-description.seedling"}, icons = { {icon = ICONPATH .. "Seedling.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."seedling_1.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_2.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_3.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_4.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_5.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_6.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_7.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_8.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_9.png", scale = 0.25, mipmap_count = 9 } + { size = 64, filename = ICONPATHMIPS.."seedling_1.png", scale = 0.57, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_2.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_3.png", scale = 0.47, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_4.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_5.png", scale = 0.62, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_6.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_7.png", scale = 0.72, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_8.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_9.png", scale = 0.47, mipmap_count = 9 } }, subgroup = "bio-bio-farm", order = "x[bi]-b[bi-seedling]", @@ -114,10 +114,10 @@ data:extend( name = "bi-woodpulp", icons = { {icon = ICONPATH .. "woodpulp_64.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."woodpulp_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."woodpulp_1.png", scale = 0.55, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_2.png", scale = 0.53, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_3.png", scale = 0.51, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_4.png", scale = 0.49, mipmap_count = 4 } }, fuel_value = "1MJ", fuel_category = "chemical", @@ -147,10 +147,10 @@ data:extend( name = "bi-ash", icons = { {icon = ICONPATH .. "ash.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."ash_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."ash_1.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_2.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_3.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_4.png", scale = 0.42, mipmap_count = 4 } }, subgroup = "raw-material", order = "a[bi]-a-b[bi-ash]", @@ -164,10 +164,10 @@ data:extend( name = "wood-charcoal", icons = { {icon = ICONPATH .. "charcoal.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."charcoal_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."charcoal_1.png", scale = 0.49, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_2.png", scale = 0.5, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_3.png", scale = 0.5, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_4.png", scale = 0.51, mipmap_count = 4 } }, fuel_value = "6MJ", fuel_category = "chemical", @@ -199,10 +199,10 @@ data:extend( name = "stone-crushed", icons = { {icon = ICONPATH .. "crushed-stone.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."crush_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."crush_1.png", scale = 0.44, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_2.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_3.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_4.png", scale = 0.46, mipmap_count = 4 } }, subgroup = "raw-material", order = "a[bi]-a-z[stone-crushed]", From 7f7e97313688f7b6a0876f783e3f1ae8fb5be984 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 18:45:53 +0100 Subject: [PATCH 5/9] 2.0.29 --- Bio_Industries_2/changelog.txt | 5 +++++ Bio_Industries_2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Bio_Industries_2/changelog.txt b/Bio_Industries_2/changelog.txt index 323c40b..29a493e 100644 --- a/Bio_Industries_2/changelog.txt +++ b/Bio_Industries_2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.29 +Date: 02.11.2025 + Bug Fixes: + - Remove settings check for wooden rails +--------------------------------------------------------------------------------------------------- Version: 2.0.28 Date: 01.11.2025 Changes: diff --git a/Bio_Industries_2/info.json b/Bio_Industries_2/info.json index 0e97cfb..7f252a7 100644 --- a/Bio_Industries_2/info.json +++ b/Bio_Industries_2/info.json @@ -1,6 +1,6 @@ { "name": "Bio_Industries_2", - "version": "2.0.28", + "version": "2.0.29", "factorio_version": "2.0", "title": "Bio Industries", "author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0", From 91412723225d7f0e5a65e717e863cf4c31ba87b5 Mon Sep 17 00:00:00 2001 From: MAGGen Date: Mon, 3 Nov 2025 22:17:20 +0100 Subject: [PATCH 6/9] New scales for items that was too small. (#9) Just simple scale increase for item mip textures. More info in last commit description. ![image](/attachments/63fa30f2-3fb7-4744-9439-4f8840fbf879) Reviewed-on: https://git.cacklingfiend.info/cacklingfiend/Bio_Industries_2/pulls/9 Co-authored-by: MAGGen Co-committed-by: MAGGen --- Bio_Industries_2/prototypes/Bio_Farm/item.lua | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/item.lua b/Bio_Industries_2/prototypes/Bio_Farm/item.lua index 23f3026..b12cece 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/item.lua @@ -13,10 +13,10 @@ data:extend( name = "bi-seed", icons = { {icon = ICONPATH .. "bio_seed.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.25, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.25, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.48, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.46, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.43, mipmap_count = 4 } }, category = "biofarm-mod-greenhouse", subgroup = "bio-bio-farm", @@ -35,15 +35,15 @@ data:extend( localised_description = {"entity-description.seedling"}, icons = { {icon = ICONPATH .. "Seedling.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."seedling_1.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_2.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_3.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_4.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_5.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_6.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_7.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_8.png", scale = 0.25, mipmap_count = 9 }, - { size = 64, filename = ICONPATHMIPS.."seedling_9.png", scale = 0.25, mipmap_count = 9 } + { size = 64, filename = ICONPATHMIPS.."seedling_1.png", scale = 0.57, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_2.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_3.png", scale = 0.47, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_4.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_5.png", scale = 0.62, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_6.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_7.png", scale = 0.72, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_8.png", scale = 0.52, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_9.png", scale = 0.47, mipmap_count = 9 } }, subgroup = "bio-bio-farm", order = "x[bi]-b[bi-seedling]", @@ -114,10 +114,10 @@ data:extend( name = "bi-woodpulp", icons = { {icon = ICONPATH .. "woodpulp_64.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."woodpulp_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."woodpulp_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."woodpulp_1.png", scale = 0.55, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_2.png", scale = 0.53, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_3.png", scale = 0.51, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_4.png", scale = 0.49, mipmap_count = 4 } }, fuel_value = "1MJ", fuel_category = "chemical", @@ -147,10 +147,10 @@ data:extend( name = "bi-ash", icons = { {icon = ICONPATH .. "ash.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."ash_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."ash_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."ash_1.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_2.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_3.png", scale = 0.42, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_4.png", scale = 0.42, mipmap_count = 4 } }, subgroup = "raw-material", order = "a[bi]-a-b[bi-ash]", @@ -164,10 +164,10 @@ data:extend( name = "wood-charcoal", icons = { {icon = ICONPATH .. "charcoal.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."charcoal_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."charcoal_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."charcoal_1.png", scale = 0.49, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_2.png", scale = 0.5, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_3.png", scale = 0.5, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_4.png", scale = 0.51, mipmap_count = 4 } }, fuel_value = "6MJ", fuel_category = "chemical", @@ -199,10 +199,10 @@ data:extend( name = "stone-crushed", icons = { {icon = ICONPATH .. "crushed-stone.png", icon_size = 64, }}, pictures = { - { size = 64, filename = ICONPATHMIPS.."crush_1.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_2.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_3.png", scale = 0.2, mipmap_count = 4 }, - { size = 64, filename = ICONPATHMIPS.."crush_4.png", scale = 0.2, mipmap_count = 4 } + { size = 64, filename = ICONPATHMIPS.."crush_1.png", scale = 0.44, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_2.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_3.png", scale = 0.45, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_4.png", scale = 0.46, mipmap_count = 4 } }, subgroup = "raw-material", order = "a[bi]-a-z[stone-crushed]", From 6e1ebd7fe36486302283079351f803608541b71e Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 5 Nov 2025 10:18:19 +0100 Subject: [PATCH 7/9] 2.0.30 --- Bio_Industries_2/changelog.txt | 5 +++++ Bio_Industries_2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Bio_Industries_2/changelog.txt b/Bio_Industries_2/changelog.txt index 29a493e..b149076 100644 --- a/Bio_Industries_2/changelog.txt +++ b/Bio_Industries_2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.30 +Date: 05.11.2025 + Bug Fixes: + - Fix icon scales +--------------------------------------------------------------------------------------------------- Version: 2.0.29 Date: 02.11.2025 Bug Fixes: diff --git a/Bio_Industries_2/info.json b/Bio_Industries_2/info.json index 7f252a7..1b23b6e 100644 --- a/Bio_Industries_2/info.json +++ b/Bio_Industries_2/info.json @@ -1,6 +1,6 @@ { "name": "Bio_Industries_2", - "version": "2.0.29", + "version": "2.0.30", "factorio_version": "2.0", "title": "Bio Industries", "author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0", From 923d31db2be4712af5cbc9d61a04eed7c373db2f Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 24 Nov 2025 22:41:04 +0100 Subject: [PATCH 8/9] Gardens have reduced crafting speed with quality --- .../prototypes/Bio_Garden/entities.lua | 844 +++++++++--------- 1 file changed, 424 insertions(+), 420 deletions(-) diff --git a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua index c18e8e3..5356625 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua @@ -1,445 +1,449 @@ local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" 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 data:extend({ - { - type = "assembling-machine", - name = "bi-bio-garden", + { + type = "assembling-machine", + name = "bi-bio-garden", + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + icons = { + { icon = ICONPATH_E .. "bio_garden_icon.png", icon_size = 64, - icons = { - { - icon = ICONPATH_E .. "bio_garden_icon.png", - icon_size = 64, - } - }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden" }, - fast_replaceable_group = "bi-bio-garden", - max_health = 150, - corpse = "bi-bio-garden-remnant", - collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, - selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_anim_trees.png", - width = 256, height = 320, - frame_count = 20, line_length = 5, - animation_speed = 0.15, scale = 0.5, shift = {0, -0.75} - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_shadow.png", - width = 384, height = 320, - frame_count = 1, repeat_count = 20, -- repeat to match - draw_as_shadow = true, scale = 0.5, shift = {1, -0.75} - } - } - } - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, - apparent_volume = 1.5, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 1.0, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -1.5 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "200kW", - ingredient_count = 1, - -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! - -- (Efficiency modules are also meant to reduce pollution, but as the base value - -- is negative, the resulting value is greater than the base value! ) - module_specification = { - module_slots = 1 - }, - -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens - -- won't be affected by beacons! - allowed_effects = { "consumption", "speed" }, + } }, - - ---- corpse - { - type = "corpse", - name = "bi-bio-garden-remnant", - localised_name = {"entity-name.bi-bio-garden-remnant"}, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, - subgroup = "remnants", - order = "z-z-z", - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - tile_width = 3, - tile_height = 3, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = - { - { - filename = REMNANTSPATH .. "bio_garden_remnant.png", - line_length = 1, - width = 256, - height = 320, - frame_count = 1, - direction_count = 1, - shift = {0, -0.75}, - scale = 0.5 - } - } - }, - - - ----- Bio Garden Large - { - type = "assembling-machine", - name = "bi-bio-garden-large", + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden" }, + fast_replaceable_group = "bi-bio-garden", + max_health = 150, + corpse = "bi-bio-garden-remnant", + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + fluid_boxes = { + { + production_type = "input", + pipe_picture = assembler3pipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } + }, + }, + fluid_boxes_off_when_no_fluid_recipe = true, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_anim_trees.png", + width = 256, height = 320, + frame_count = 20, line_length = 5, + animation_speed = 0.15, scale = 0.5, shift = { 0, -0.75 } + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_shadow.png", + width = 384, height = 320, + frame_count = 1, repeat_count = 20, -- repeat to match + draw_as_shadow = true, scale = 0.5, shift = { 1, -0.75 } + } + } + } + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 1.0, + crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -1.5 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "200kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 1 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + + ---- corpse + { + type = "corpse", + name = "bi-bio-garden-remnant", + localised_name = { "entity-name.bi-bio-garden-remnant" }, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, + subgroup = "remnants", + order = "z-z-z", + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = { + { + filename = REMNANTSPATH .. "bio_garden_remnant.png", + line_length = 1, + width = 256, + height = 320, + frame_count = 1, + direction_count = 1, + shift = { 0, -0.75 }, + scale = 0.5 + } + } + }, + + + ---- Bio Garden Large + { + type = "assembling-machine", + name = "bi-bio-garden-large", + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + icons = { + { icon = ICONPATH_E .. "bio_garden_large_icon.png", icon_size = 64, - icons = { - { - icon = ICONPATH_E .. "bio_garden_large_icon.png", - icon_size = 64, - } - }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 0.6, mining_time = 1, result = "bi-bio-garden-large" }, - fast_replaceable_group = "bi-bio-garden-large", - max_health = 1200, - corpse = "bi-bio-garden-large-remnant", - collision_box = {{-4.3, -4.3}, {4.3, 4.3}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - scale_entity_info_icon = true, - fluid_boxes = { - { - production_type = "input", - pipe_covers = pipecoverspictures(), - base_area = 1, - base_level = -1, - volume = 1000, - filter = "water", - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -4 } } }, - --pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 4 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -4, 0 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 4, 0 } } }, - - - }, - }, - off_when_no_fluid_recipe = false, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large.png", - width = 640, - height = 704, - scale = 0.5, - shift = {0, -0.5}, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_shadow.png", - width = 704, - height = 640, - scale = 0.5, - shift = {0.5, 0}, - draw_as_shadow = true, - } - } - }, - - working_visualisations = { - { - light = {intensity = 1.2, size = 20 }, - draw_as_light = true, - effect = "flicker", - constant_speed = true, - fadeout = true, - animation = { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_light.png", - width = 640, - height = 640, - scale = 0.5, - shift = {0, 0}, - }, - }, - }, - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.8 }, - apparent_volume = 1.5, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 4.0, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -12 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "800kW", - ingredient_count = 1, - -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! - -- (Efficiency modules are also meant to reduce pollution, but as the base value - -- is negative, the resulting value is greater than the base value! ) - module_specification = { - module_slots = 2 - }, - -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens - -- won't be affected by beacons! - allowed_effects = { "consumption", "speed" }, + } }, - - --- corpse - { - type = "corpse", - name = "bi-bio-garden-large-remnant", - localised_name = {"entity-name.bi-bio-garden-large-remnant"}, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, - subgroup = "remnants", - order = "z-z-z", - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - tile_width = 9, - tile_height = 9, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.6, mining_time = 1, result = "bi-bio-garden-large" }, + fast_replaceable_group = "bi-bio-garden-large", + max_health = 1200, + corpse = "bi-bio-garden-large-remnant", + collision_box = { { -4.3, -4.3 }, { 4.3, 4.3 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -4 } } }, + --pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 4 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -4, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 4, 0 } } }, + + + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large.png", + width = 640, + height = 704, + scale = 0.5, + shift = { 0, -0.5 }, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_shadow.png", + width = 704, + height = 640, + scale = 0.5, + shift = { 0.5, 0 }, + draw_as_shadow = true, + } + } + }, + + working_visualisations = { + { + light = { intensity = 1.2, size = 20 }, + draw_as_light = true, + effect = "flicker", + constant_speed = true, + fadeout = true, + animation = { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_light.png", + width = 640, + height = 640, + scale = 0.5, + shift = { 0, 0 }, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.8 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 4.0, + crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -12 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "800kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 2 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + + --- corpse { - { - filename = REMNANTSPATH .. "bio_garden_large_remnant.png", - line_length = 1, - width = 640, - height = 704, - frame_count = 1, - direction_count = 1, - shift = {0, -0.5}, - scale = 0.5 + type = "corpse", + name = "bi-bio-garden-large-remnant", + localised_name = { "entity-name.bi-bio-garden-large-remnant" }, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, + subgroup = "remnants", + order = "z-z-z", + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = { + { + filename = REMNANTSPATH .. "bio_garden_large_remnant.png", + line_length = 1, + width = 640, + height = 704, + frame_count = 1, + direction_count = 1, + shift = { 0, -0.5 }, + scale = 0.5 + } } - } -}, ----- Bio Garden Huge - { - type = "assembling-machine", - name = "bi-bio-garden-huge", + }, + ---- Bio Garden Huge + { + type = "assembling-machine", + name = "bi-bio-garden-huge", + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + icons = { + { icon = ICONPATH_E .. "bio_garden_huge_icon.png", icon_size = 64, - icons = { - { - icon = ICONPATH_E .. "bio_garden_huge_icon.png", - icon_size = 64, - } - }, - flags = { "placeable-neutral", "placeable-player", "player-creation" }, - minable = { hardness = 1.2, mining_time = 2, result = "bi-bio-garden-huge" }, - fast_replaceable_group = "bi-bio-garden-huge", - max_health = 2000, - corpse = "bi-bio-garden-huge-remnant", - collision_box = {{-13.3, -13.3}, {13.3, 13.3}}, - selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, - scale_entity_info_icon = true, - fluid_boxes = { - { - production_type = "input", - pipe_covers = pipecoverspictures(), - base_area = 1, - base_level = -1, - volume = 1000, - filter = "water", - pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -13 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 13 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -13, 0 } } }, - -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 13, 0 } } }, - }, - }, - off_when_no_fluid_recipe = false, - graphics_set = { - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge.png", - width = 1792, - height = 1856, - scale = 0.5, - frame_count = 1, - line_length = 1, - repeat_count = 8, - animation_speed = 1, - shift = {0, -0.5}, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_shadow.png", - width = 256, - height = 1856, - scale = 0.5, - frame_count = 1, - line_length = 1, - repeat_count = 8, - animation_speed = 1, - shift = {14, -0.5}, - draw_as_shadow = true, - }, - }, - }, - - working_visualisations = { - { - constant_speed = true, - fadeout = true, - animation = { - layers = { - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = {-4.5, -4.5}, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = {4.5, 4.5}, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = {4.5, -4.5}, - }, - { - filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", - width = 128, - height = 96, - scale = 0.5, - frame_count = 8, - line_length = 8, - repeat_count = 1, - animation_speed = 1, - shift = {-4.5, 4.5}, - }, - }, - }, - }, - }, - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1.8 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.9 }, - apparent_volume = 2, - max_sounds_per_type = 3, - }, - crafting_categories = { "clean-air" }, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 16, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -96 * 60 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "3200kW", - ingredient_count = 1, - -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! - -- (Efficiency modules are also meant to reduce pollution, but as the base value - -- is negative, the resulting value is greater than the base value! ) - module_specification = { - module_slots = 4 - }, - -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens - -- won't be affected by beacons! - allowed_effects = { "consumption", "speed" }, + } }, - ---- corpse - -{ - type = "corpse", - name = "bi-bio-garden-huge-remnant", - localised_name = {"entity-name.bi-bio-garden-huge-remnant"}, - icon = "__base__/graphics/icons/remnants.png", - icon_size = 64, - icon_mipmaps = 4, - BI_add_icon = true, - flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, - subgroup = "remnants", - order = "z-z-z", - selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, - tile_width = 27, - tile_height = 27, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 1.2, mining_time = 2, result = "bi-bio-garden-huge" }, + fast_replaceable_group = "bi-bio-garden-huge", + max_health = 2000, + corpse = "bi-bio-garden-huge-remnant", + collision_box = { { -13.3, -13.3 }, { 13.3, 13.3 } }, + selection_box = { { -13.5, -13.5 }, { 13.5, 13.5 } }, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -13, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 13, 0 } } }, + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge.png", + width = 1792, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = { 0, -0.5 }, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_shadow.png", + width = 256, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = { 14, -0.5 }, + draw_as_shadow = true, + }, + }, + }, + + working_visualisations = { + { + constant_speed = true, + fadeout = true, + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = { -4.5, -4.5 }, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = { 4.5, 4.5 }, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = { 4.5, -4.5 }, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = { -4.5, 4.5 }, + }, + }, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.9 }, + apparent_volume = 2, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 16, + crafting_speed_quality_multiplier = crafting_speed_quality_multiplier, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -96 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "3200kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 4 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + ---- corpse + { - { - filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", - line_length = 1, - width = 896, - height = 928, - frame_count = 1, - direction_count = 1, - shift = {0, -0.5}, + type = "corpse", + name = "bi-bio-garden-huge-remnant", + localised_name = { "entity-name.bi-bio-garden-huge-remnant" }, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = { "placeable-neutral", "building-direction-8-way", "not-on-map" }, + subgroup = "remnants", + order = "z-z-z", + selection_box = { { -13.5, -13.5 }, { 13.5, 13.5 } }, + tile_width = 27, + tile_height = 27, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = { + { + filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", + line_length = 1, + width = 896, + height = 928, + frame_count = 1, + direction_count = 1, + shift = { 0, -0.5 }, + } } } -} - + }) From d595b444fcf9b5b59a228b3b421d20b4f1ee9e10 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 10 Dec 2025 19:45:56 +0100 Subject: [PATCH 9/9] 2.0.31 --- Bio_Industries_2/changelog.txt | 5 +++++ Bio_Industries_2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Bio_Industries_2/changelog.txt b/Bio_Industries_2/changelog.txt index b149076..2ab0343 100644 --- a/Bio_Industries_2/changelog.txt +++ b/Bio_Industries_2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.31 +Date: 10.12.2025 + Changes: + - Gardens have reduced crafting speed with quality +--------------------------------------------------------------------------------------------------- Version: 2.0.30 Date: 05.11.2025 Bug Fixes: diff --git a/Bio_Industries_2/info.json b/Bio_Industries_2/info.json index 1b23b6e..86fd94b 100644 --- a/Bio_Industries_2/info.json +++ b/Bio_Industries_2/info.json @@ -1,6 +1,6 @@ { "name": "Bio_Industries_2", - "version": "2.0.30", + "version": "2.0.31", "factorio_version": "2.0", "title": "Bio Industries", "author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0",