Compare commits

..

1 commit
main ... main

Author SHA1 Message Date
83f9150af2
ru translation 2025-05-31 18:26:30 +03:00
7 changed files with 8 additions and 46 deletions

View file

@ -1,25 +1,4 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
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:
- Hide setting "ore crushing" in addition to forcing it to "on"
---------------------------------------------------------------------------------------------------
Version: 1.0.3
Date: 06.07.2025
Changes:
- Add russian translation (thanks Onseshigo)
---------------------------------------------------------------------------------------------------
Version: 1.0.2 Version: 1.0.2
Date: 23.05.2025 Date: 23.05.2025
Changes: Changes:

View file

@ -1,10 +1,10 @@
{ {
"name": "crushing-industry-productivity-research", "name": "crushing-industry-productivity-research",
"version": "1.0.6", "version": "1.0.2",
"title": "Crushing Industry - Productivity Research", "title": "Crushing Industry - Productivity Research",
"description": "Adds crushing productivity research to Crushing Industry and reduces the initial bonus.", "description": "Adds crushing productivity research to Crushing Industry and reduces the initial bonus.",
"author": "cackling fiend", "author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk", "homepage": "https://discord.gg/5bevXf5W",
"factorio_version": "2.0", "factorio_version": "2.0",
"dependencies": [ "dependencies": [
"base", "base",

View file

@ -3,9 +3,3 @@ ore-crushing-productivity=Ore crushing productivity
[modifier-description] [modifier-description]
change-recipe-productivity=__1__ productivity: __2__ 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).

View file

@ -1,7 +1,5 @@
local icons = util.technology_icon_constant_recipe_productivity(data.raw.technology["ore-crushing"].icon) 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({ data:extend({
{ {
type = "technology", type = "technology",
@ -34,7 +32,7 @@ data:extend({
effects = {}, effects = {},
prerequisites = { "ore-crushing-productivity-1", mods["space-age"] and "space-science-pack" or "production-science-pack" }, prerequisites = { "ore-crushing-productivity-1", mods["space-age"] and "space-science-pack" or "production-science-pack" },
unit = { unit = {
count = 750, count = 1000,
ingredients = { ingredients = {
{ "automation-science-pack", 1 }, { "automation-science-pack", 1 },
{ "logistic-science-pack", 1 }, { "logistic-science-pack", 1 },
@ -49,12 +47,12 @@ data:extend({
icons = icons, icons = icons,
essential = false, essential = false,
level = 3, level = 3,
max_level = infinite and "infinite" or 6, max_level = 6,
show_levels_info = true, show_levels_info = true,
effects = {}, effects = {},
prerequisites = { "ore-crushing-productivity-2", "production-science-pack", "space-science-pack" }, prerequisites = { "ore-crushing-productivity-2", "production-science-pack", "space-science-pack" },
unit = { unit = {
count_formula = "2^(L-3)*1000", count_formula = "2^(L-2)*1000",
ingredients = { ingredients = {
{ "automation-science-pack", 1 }, { "automation-science-pack", 1 },
{ "logistic-science-pack", 1 }, { "logistic-science-pack", 1 },

View file

@ -1,2 +1 @@
data.raw["bool-setting"]["crushing-industry-ore"].forced_value = true data.raw["bool-setting"]["crushing-industry-ore"].forced_value = true
data.raw["bool-setting"]["crushing-industry-ore"].hidden = true

View file

@ -1,9 +0,0 @@
data:extend({
{
type = "bool-setting",
name = "crushing-industry-productivity-research-infinite",
setting_type = "startup",
default_value = false,
order = "a"
}
})

View file

@ -0,0 +1 @@
mod_utilmod_utilmod_utilmod_util