mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-11-30 11:00:19 +08:00
remove auto3 as prerequisiste for logistics3 and new ore icons
This commit is contained in:
parent
90cf90aa13
commit
ea08de1372
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)",
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue
Block a user