diff --git a/Bio_Industries_2/changelog.txt b/Bio_Industries_2/changelog.txt index 9971769..469c718 100644 --- a/Bio_Industries_2/changelog.txt +++ b/Bio_Industries_2/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.34 +Date: 24.02.2026 + Changes: + - Add glass to the bio nursery if it exists + Bug Fixes: + - Add migration for 2.0.33 +--------------------------------------------------------------------------------------------------- Version: 2.0.33 Date: 24.02.2026 Changes: diff --git a/Bio_Industries_2/data-updates.lua b/Bio_Industries_2/data-updates.lua index 6ae604f..0e0e1a5 100644 --- a/Bio_Industries_2/data-updates.lua +++ b/Bio_Industries_2/data-updates.lua @@ -643,7 +643,7 @@ if data.raw.item["bob-resin"] then end ---- Updaet seeds to work with Space Age if present. +--- Update seeds to work with Space Age if present. if data.raw.item["tree-seed"] then @@ -911,9 +911,13 @@ if set then end end --- Compatibility with Industrial Revolution ---require("prototypes.Industrial_Revolution") - +-- Add glass to the bio nursery +local glass = data.raw.item["glass"] and "glass" or data.raw.item["kr-glass"] and "kr-glass" or nil +if glass then + table.insert(data.raw.recipe["bi-bio-greenhouse"].ingredients, { + type = "item", name = glass, amount = 10 + }) +end ------------------------------------------------------------------------------------ -- Add icons to our prototypes diff --git a/Bio_Industries_2/info.json b/Bio_Industries_2/info.json index abb5b95..140d8b2 100644 --- a/Bio_Industries_2/info.json +++ b/Bio_Industries_2/info.json @@ -1,6 +1,6 @@ { "name": "Bio_Industries_2", - "version": "2.0.33", + "version": "2.0.34", "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", diff --git a/Bio_Industries_2/migrations/2.0.33.json b/Bio_Industries_2/migrations/2.0.33.json new file mode 100644 index 0000000..cf4af37 --- /dev/null +++ b/Bio_Industries_2/migrations/2.0.33.json @@ -0,0 +1,8 @@ +{ + "entity": [ + ["bi-straight-rail-wood", "straight-rail"], + ["bi-half-diagonal-rail-wood", "half-diagonal-rail"], + ["bi-curved-rail-a-wood", "curved-rail-a"], + ["bi-curved-rail-b-wood", "curved-rail-b"] + ] +} \ No newline at end of file