diff --git a/crushing-industry-productivity-research/changelog.txt b/crushing-industry-productivity-research/changelog.txt index aa90e02..71e076c 100644 --- a/crushing-industry-productivity-research/changelog.txt +++ b/crushing-industry-productivity-research/changelog.txt @@ -1,4 +1,15 @@ --------------------------------------------------------------------------------------------------- +Version: 1.0.6 +Date: 14.09.2025 + Bug Fixes: + - Fix a description +--------------------------------------------------------------------------------------------------- +Version: 1.0.5 +Date: 14.09.2025 + Changes: + - Add setting "Infinite productivity research" + - Reduce technology cost +--------------------------------------------------------------------------------------------------- Version: 1.0.4 Date: 27.08.2025 Changes: diff --git a/crushing-industry-productivity-research/info.json b/crushing-industry-productivity-research/info.json index b46a4d5..cbad4ef 100644 --- a/crushing-industry-productivity-research/info.json +++ b/crushing-industry-productivity-research/info.json @@ -1,10 +1,10 @@ { "name": "crushing-industry-productivity-research", - "version": "1.0.4", + "version": "1.0.6", "title": "Crushing Industry - Productivity Research", "description": "Adds crushing productivity research to Crushing Industry and reduces the initial bonus.", "author": "cackling fiend", - "homepage": "https://discord.gg/5bevXf5W", + "homepage": "https://discord.gg/ufvFUJtVwk", "factorio_version": "2.0", "dependencies": [ "base", diff --git a/crushing-industry-productivity-research/locale/en/strings.cfg b/crushing-industry-productivity-research/locale/en/strings.cfg index 37ec012..1eccad3 100644 --- a/crushing-industry-productivity-research/locale/en/strings.cfg +++ b/crushing-industry-productivity-research/locale/en/strings.cfg @@ -2,4 +2,10 @@ ore-crushing-productivity=Ore crushing productivity [modifier-description] -change-recipe-productivity=__1__ productivity: __2__ \ No newline at end of file +change-recipe-productivity=__1__ productivity: __2__ + +[mod-setting-name] +crushing-industry-productivity-research-infinite=Infinite productivity research + +[mod-setting-description] +crushing-industry-productivity-research-infinite=Productivity research is infinite instead of being capped to level 6 (which results in 25% productivity). \ No newline at end of file diff --git a/crushing-industry-productivity-research/prototypes/content/technology.lua b/crushing-industry-productivity-research/prototypes/content/technology.lua index 07b9810..f569f2c 100644 --- a/crushing-industry-productivity-research/prototypes/content/technology.lua +++ b/crushing-industry-productivity-research/prototypes/content/technology.lua @@ -1,5 +1,7 @@ local icons = util.technology_icon_constant_recipe_productivity(data.raw.technology["ore-crushing"].icon) +local infinite = settings.startup["crushing-industry-productivity-research-infinite"].value + data:extend({ { type = "technology", @@ -32,7 +34,7 @@ data:extend({ effects = {}, prerequisites = { "ore-crushing-productivity-1", mods["space-age"] and "space-science-pack" or "production-science-pack" }, unit = { - count = 1000, + count = 750, ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 }, @@ -47,12 +49,12 @@ data:extend({ icons = icons, essential = false, level = 3, - max_level = 6, + max_level = infinite and "infinite" or 6, show_levels_info = true, effects = {}, prerequisites = { "ore-crushing-productivity-2", "production-science-pack", "space-science-pack" }, unit = { - count_formula = "2^(L-2)*1000", + count_formula = "2^(L-3)*1000", ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 }, diff --git a/crushing-industry-productivity-research/settings.lua b/crushing-industry-productivity-research/settings.lua new file mode 100644 index 0000000..d0dfb6e --- /dev/null +++ b/crushing-industry-productivity-research/settings.lua @@ -0,0 +1,9 @@ +data:extend({ + { + type = "bool-setting", + name = "crushing-industry-productivity-research-infinite", + setting_type = "startup", + default_value = false, + order = "a" + } +}) \ No newline at end of file diff --git a/crushing-industry-productivity-research/util.lua b/crushing-industry-productivity-research/util.lua deleted file mode 100644 index 6df6c68..0000000 --- a/crushing-industry-productivity-research/util.lua +++ /dev/null @@ -1 +0,0 @@ -mod_utilmod_utilmod_utilmod_util \ No newline at end of file