diff --git a/Indium2/changelog.txt b/Indium2/changelog.txt index ae96e74..e51e93e 100644 --- a/Indium2/changelog.txt +++ b/Indium2/changelog.txt @@ -1,10 +1,32 @@ --------------------------------------------------------------------------------------------------- -Version: 2.0.1 -Date: 11.10.2025 - Bug Fixes: - - Increase mod compatibility ---------------------------------------------------------------------------------------------------- -Version: 2.0.0 -Date: 10.10.2025 +Version: 0.3.3 +Date: 2024-07-05 Features: - - Update to Factorio 2.0 \ No newline at end of file + - Fixed error when uning bzsilicon but not solar cell option. +--------------------------------------------------------------------------------------------------- +Version: 0.3.2 +Date: 2024-01-21 + Features: + - Removed all old indium ore references. + - Removed old unused files. +--------------------------------------------------------------------------------------------------- +Version: 0.3.1 +Date: 2024-01-13 + Features: + - Added indite ore to SE core fragment. + - Replaced indium ore with indite ore. +--------------------------------------------------------------------------------------------------- +Version: 0.3.0 +Date: 2023-12-24 + Features: + - Added 248k support (molten, pure and cast indium) +--------------------------------------------------------------------------------------------------- +Version: 0.2.0 +Date: 2023-12-19 + Features: + - Added blank advanced tech card. +--------------------------------------------------------------------------------------------------- +Version: 0.1.0 +Date: 2023-11-23 + Features: + - Alpha release. \ No newline at end of file diff --git a/Indium2/data-util.lua b/Indium2/data-util.lua index f1e0b76..4b2d096 100644 --- a/Indium2/data-util.lua +++ b/Indium2/data-util.lua @@ -11,7 +11,7 @@ function util.se_landfill(params) type = "recipe", icons = { { icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 }, - { icon = "__Indium2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33*64/params.icon_size}, + { icon = "__Chromium2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33*64/params.icon_size}, }, energy_required = 1, enabled=false, @@ -48,7 +48,7 @@ function util.se_matter(params) icon_size = 64, scale = 0.5}, {icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png", icon_size = 64, scale = 0.33, shift = {8,-8}}, - {icon = "__Indium2__/graphics/icons/"..params.ore..".png", + {icon = "__Chromium2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={-8, 8}}, {icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png", icon_size = 64, scale = 0.5}, @@ -87,7 +87,7 @@ function util.se_matter(params) icon_size = 64, scale = 0.5}, {icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png", icon_size = 64, scale = 0.33, shift = {-8,8}}, - {icon = "__Indium2__/graphics/icons/"..params.ore..".png", + {icon = "__Chromium2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={8, -8}}, {icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png", icon_size = 64, scale = 0.5}, @@ -129,7 +129,7 @@ function util.se_matter(params) {"se-astronomic-science-pack-4", 1}, {"se-energy-science-pack-4", 1}, {"se-material-science-pack-4", 1}, - {"kr-matter-tech-card", 1}, + {"matter-tech-card", 1}, {"se-deep-space-science-pack-1", 1}, } }, diff --git a/Indium2/info.json b/Indium2/info.json index 1c75a6e..75a8279 100644 --- a/Indium2/info.json +++ b/Indium2/info.json @@ -1,6 +1,6 @@ { "name": "Indium2", - "version": "2.0.1", + "version": "2.0.0", "factorio_version": "2.0", "title": "Indium", "author": "Timeken, cackling fiend", diff --git a/Indium2/prototypes/indite-ore.lua b/Indium2/prototypes/indite-ore.lua index 994114f..7a3339c 100644 --- a/Indium2/prototypes/indite-ore.lua +++ b/Indium2/prototypes/indite-ore.lua @@ -1,6 +1,5 @@ local resource_autoplace = require('resource-autoplace'); local item_sounds = require('__base__.prototypes.item_sounds') -local util = require("data-util") data.raw.planet.nauvis.map_gen_settings.autoplace_controls["indite-ore"] = {} data.raw.planet.nauvis.map_gen_settings.autoplace_settings.entity.settings["indite-ore"] = {} @@ -73,5 +72,5 @@ data:extend({ }) if mods["Krastorio2"] then - util.add_product("kr-enriched-copper", { name = "indite-ore", amount = 1, probability = 0.09 }) + util.add_product("enriched-copper", { name = "indite-ore", amount = 1, probability = 0.09 }) end diff --git a/Indium2/prototypes/indium-248k.lua b/Indium2/prototypes/indium-248k.lua index 96cf439..b7e59fb 100644 --- a/Indium2/prototypes/indium-248k.lua +++ b/Indium2/prototypes/indium-248k.lua @@ -44,7 +44,7 @@ data:extend({ icon_size = 64, icons = (mods["Krastorio2"] and { - { icon = "__248k-Redux-graphics__/ressources/fluids/el_dirty_water.png", icon_size = 64}, + { icon = "__248k-Redux__/ressources/fluids/el_dirty_water.png", icon_size = 64}, { icon = "__Indium2__/graphics/icons/indite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}}, } or { { icon = "__Indium2__/graphics/icons/indite-ore.png", icon_size = 64}, diff --git a/Indium2/prototypes/indium-matter.lua b/Indium2/prototypes/indium-matter.lua index bad09f1..64e31b4 100644 --- a/Indium2/prototypes/indium-matter.lua +++ b/Indium2/prototypes/indium-matter.lua @@ -27,23 +27,25 @@ data:extend( { {"production-science-pack", 1}, {"utility-science-pack", 1}, - {"kr-matter-tech-card", 1} + {"matter-tech-card", 1} }, time = 45 } }, }) -matter.make_recipes({ +matter.createMatterRecipe({ material = { type = "item", name = "indite-ore", amount = 10 }, + item_name = "indite-ore", matter_count = 5, energy_required = 1, need_stabilizer = false, unlocked_by_technology = "indium-matter-processing" }) -matter.make_recipes({ +matter.createMatterRecipe({ material = { type = "item", name = "indium-plate", amount = 10 }, + minimum_conversion_quantity = 10, matter_count = 10, energy_required = 3, only_deconversion = true, diff --git a/Indium2/prototypes/indium-recipe.lua b/Indium2/prototypes/indium-recipe.lua index a3450de..4b373dc 100644 --- a/Indium2/prototypes/indium-recipe.lua +++ b/Indium2/prototypes/indium-recipe.lua @@ -41,7 +41,7 @@ data:extend({ local solder_ingredients = {{type="item", name="indium-plate", amount=6}} if mods["bzlead"] then - solder_ingredients = {{type="item", name="indium-plate", amount=3}, {type="item", name="lead-plate", amount=3}} + solder_ingredients = {{type="item", name="indium-plate", 3}, {"lead-plate", amount=3}} end local solder_category = "crafting" local solder_subgroup = "intermediate-product"