mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-11-30 19:10:20 +08:00
options for latest 0.17 balancing
This commit is contained in:
parent
3800c2971d
commit
8cf9f6dd6f
|
@ -17,6 +17,9 @@ for _, mod in pairs(data.raw.module) do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--HUGE THANKS to Dimava for the following changes
|
||||||
|
--Added options for some changes (for modded users)
|
||||||
|
|
||||||
--increase belt speed to 15x
|
--increase belt speed to 15x
|
||||||
for _, belt in pairs(data.raw["splitter"]) do
|
for _, belt in pairs(data.raw["splitter"]) do
|
||||||
if (belt.speed * 32) % 1 == 0 and belt.speed * 32 < 8 then
|
if (belt.speed * 32) % 1 == 0 and belt.speed * 32 < 8 then
|
||||||
|
@ -34,39 +37,45 @@ for _, belt in pairs(data.raw["underground-belt"]) do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--simplify drill stats
|
if settings.startup["017-drill"].value then
|
||||||
data.raw["mining-drill"]["burner-mining-drill"].mining_speed = 0.25
|
--simplify drill stats
|
||||||
data.raw["mining-drill"]["burner-mining-drill"].mining_power = 3
|
data.raw["mining-drill"]["burner-mining-drill"].mining_speed = 0.25
|
||||||
|
data.raw["mining-drill"]["burner-mining-drill"].mining_power = 3
|
||||||
|
|
||||||
--simplify ore hardness
|
--simplify ore hardness
|
||||||
for _, ore in pairs(data.raw.resource) do
|
for _, ore in pairs(data.raw.resource) do
|
||||||
if ore.minable.hardness == 0.9 then
|
if ore.minable.hardness == 0.9 then
|
||||||
ore.minable.hardness = 1
|
ore.minable.hardness = 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
data.raw.resource.stone.minable.hardness = 1
|
||||||
end
|
end
|
||||||
data.raw.resource.stone.minable.hardness = 1
|
|
||||||
|
|
||||||
--decrease smelting times
|
if settings.startup["017-smelting"].value then
|
||||||
for _, recipe in pairs(data.raw.recipe) do
|
--decrease smelting times
|
||||||
if recipe.category=="smelting" then
|
for _, recipe in pairs(data.raw.recipe) do
|
||||||
if recipe.energy_required then
|
if recipe.category=="smelting" then
|
||||||
if (recipe.energy_required / 3.5) % 1 == 0 then
|
if recipe.energy_required then
|
||||||
recipe.energy_required = recipe.energy_required * 3.2 / 3.5
|
if (recipe.energy_required / 3.5) % 1 == 0 then
|
||||||
end
|
recipe.energy_required = recipe.energy_required * 3.2 / 3.5
|
||||||
else
|
end
|
||||||
if (recipe.normal.energy_required / 3.5) % 1 == 0 then
|
else
|
||||||
recipe.normal.energy_required = recipe.normal.energy_required * 3.2 / 3.5
|
if (recipe.normal.energy_required / 3.5) % 1 == 0 then
|
||||||
end
|
recipe.normal.energy_required = recipe.normal.energy_required * 3.2 / 3.5
|
||||||
if (recipe.expensive.energy_required / 3.5) % 1 == 0 then
|
end
|
||||||
recipe.expensive.energy_required = recipe.expensive.energy_required * 3.2 / 3.5
|
if (recipe.expensive.energy_required / 3.5) % 1 == 0 then
|
||||||
|
recipe.expensive.energy_required = recipe.expensive.energy_required * 3.2 / 3.5
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--remove assembling-machine ingredient_count limits
|
if settings.startup["017-assem-lim"].value then
|
||||||
for _, machine in pairs(data.raw["assembling-machine"]) do
|
--remove assembling-machine ingredient_count limits
|
||||||
if machine.ingredient_count < 10 then
|
for _, machine in pairs(data.raw["assembling-machine"]) do
|
||||||
machine.ingredient_count = 10
|
if machine.ingredient_count < 10 then
|
||||||
|
machine.ingredient_count = 10
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "017_science",
|
"name": "017_science",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"factorio_version": "0.16",
|
"factorio_version": "0.16",
|
||||||
"title": "0.17 science conversion",
|
"title": "0.17 science conversion",
|
||||||
"author": "npc_strider(morley376)",
|
"author": "npc_strider(morley376)",
|
||||||
|
|
|
@ -3,3 +3,13 @@ science-pack-1=Automation science pack
|
||||||
science-pack-2=Logistics science pack
|
science-pack-2=Logistics science pack
|
||||||
science-pack-3=Chemical science pack
|
science-pack-3=Chemical science pack
|
||||||
high-tech-science-pack=Utility science pack
|
high-tech-science-pack=Utility science pack
|
||||||
|
|
||||||
|
[mod-setting-name]
|
||||||
|
017-drill=Ore hardness simplification
|
||||||
|
017-smelting=Reduce smelting time
|
||||||
|
017-assem-lim=Remove assembler item limit
|
||||||
|
|
||||||
|
[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.
|
||||||
|
017-smelting=(Default enabled) Toggle V's smelting changes (https://forums.factorio.com/viewtopic.php?t=64219#p392508). This mod may break ratios for modded recipes using vanilla and modded items.
|
||||||
|
017-assem-lim=(Default enabled) Toggle the assembly limit removal. This mod affects all assembling-machines and may affect modded crafting stations based on this entity, which may use the limit as a form of gating.
|
21
017_science/settings.lua
Normal file
21
017_science/settings.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
data:extend(
|
||||||
|
{
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-drill",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-smelting",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-assem-lim",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = true
|
||||||
|
}
|
||||||
|
})
|
BIN
mod-settings.dat
Normal file
BIN
mod-settings.dat
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user