diff --git a/017_science/data-updates.lua b/017_science/data-updates.lua index 6497487..faa15d2 100644 --- a/017_science/data-updates.lua +++ b/017_science/data-updates.lua @@ -123,6 +123,7 @@ if settings.startup["017-techtree"].value then prerequisites(kovarex_process, "nuclear-power", nil) kovarex_process[#kovarex_process+1] = "rocket-fuel" kovarex_process[#kovarex_process+1] = "uranium-enrichment" + prerequisites(logistics, "automation-3", nil) logistics[#logistics+1] = "lubricant" fission.prerequisites = {"uranium-enrichment"} fission.unit.time = settings.startup["017-nuclear-power-energy"].value @@ -283,6 +284,15 @@ if settings.startup["017-tank-gun-nerf"].value then data.raw["gun"]["tank-machine-gun"].attack_parameters.damage_modifier = 1 end +if settings.startup["017-ore-icons"].value then + local item = data.raw["item"] + item["coal"].icon="__base__/graphics/icons/icons-new/coal.png" + item["copper-ore"].icon="__base__/graphics/icons/icons-new/copper-ore.png" + item["iron-ore"].icon="__base__/graphics/icons/icons-new/iron-ore.png" + item["stone"].icon="__base__/graphics/icons/icons-new/stone.png" + item["uranium-ore"].icon="__base__/graphics/icons/icons-new/uranium-ore.png" +end + --HUGE THANKS to Dimava for the following changes --Added options for some changes (for modded users) diff --git a/017_science/info.json b/017_science/info.json index a25e923..7695ab6 100644 --- a/017_science/info.json +++ b/017_science/info.json @@ -1,6 +1,6 @@ { "name": "017_science", - "version": "0.1.3", + "version": "0.1.4", "factorio_version": "0.16", "title": "0.17 science conversion", "author": "npc_strider(morley376)", diff --git a/017_science/locale/en/base.cfg b/017_science/locale/en/base.cfg index d4d62aa..4ac3fef 100644 --- a/017_science/locale/en/base.cfg +++ b/017_science/locale/en/base.cfg @@ -59,6 +59,7 @@ high-tech-science-pack=Utility science pack 017-rocket-control-energy=Rocket control unit research time-per-unit 017-uranium-enrichment-energy=Uranium enrichment research time-per-unit 017-nuclear-power-energy=Nuclear power research time-per-unit +017-ore-icons=New ore icons [mod-setting-description] 017-drill=(Default enabled) Toggle FFF-266 mining changes (removed hardness). This mod makes all vanilla ore hardness = 1 and makes the burner-mining-drill mining_power = 3, which may break modded ore gating. @@ -100,3 +101,4 @@ high-tech-science-pack=Utility science pack 017-rocket-control-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology. 017-uranium-enrichment-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology. 017-nuclear-power-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology. +017-ore-icons=(Default enabled) Enable the new ore icons found in the new-icons folder of the base game. diff --git a/017_science/settings.lua b/017_science/settings.lua index 08cb7bf..e1ab7e5 100644 --- a/017_science/settings.lua +++ b/017_science/settings.lua @@ -302,5 +302,12 @@ data:extend( minimum_value = 0, default_value = 30, order = "npc-ok" + }, + { + type = "bool-setting", + name = "017-ore-icons", + setting_type = "startup", + default_value = true, + order = "npc-zz" } }) \ No newline at end of file