mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-11-30 11:00:19 +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
|
||||
|
||||
--HUGE THANKS to Dimava for the following changes
|
||||
--Added options for some changes (for modded users)
|
||||
|
||||
--increase belt speed to 15x
|
||||
for _, belt in pairs(data.raw["splitter"]) do
|
||||
if (belt.speed * 32) % 1 == 0 and belt.speed * 32 < 8 then
|
||||
|
@ -34,6 +37,7 @@ for _, belt in pairs(data.raw["underground-belt"]) do
|
|||
end
|
||||
end
|
||||
|
||||
if settings.startup["017-drill"].value then
|
||||
--simplify drill stats
|
||||
data.raw["mining-drill"]["burner-mining-drill"].mining_speed = 0.25
|
||||
data.raw["mining-drill"]["burner-mining-drill"].mining_power = 3
|
||||
|
@ -45,7 +49,9 @@ for _, ore in pairs(data.raw.resource) do
|
|||
end
|
||||
end
|
||||
data.raw.resource.stone.minable.hardness = 1
|
||||
end
|
||||
|
||||
if settings.startup["017-smelting"].value then
|
||||
--decrease smelting times
|
||||
for _, recipe in pairs(data.raw.recipe) do
|
||||
if recipe.category=="smelting" then
|
||||
|
@ -63,10 +69,13 @@ for _, recipe in pairs(data.raw.recipe) do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup["017-assem-lim"].value then
|
||||
--remove assembling-machine ingredient_count limits
|
||||
for _, machine in pairs(data.raw["assembling-machine"]) do
|
||||
if machine.ingredient_count < 10 then
|
||||
machine.ingredient_count = 10
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "017_science",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"factorio_version": "0.16",
|
||||
"title": "0.17 science conversion",
|
||||
"author": "npc_strider(morley376)",
|
||||
|
|
|
@ -3,3 +3,13 @@ science-pack-1=Automation science pack
|
|||
science-pack-2=Logistics science pack
|
||||
science-pack-3=Chemical 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