Add setting to restrict sciences to Lignumis
This commit is contained in:
parent
9c3800e293
commit
0ec3d172bc
5 changed files with 33 additions and 19 deletions
3
.editorconfig
Normal file
3
.editorconfig
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
@ -178,6 +178,7 @@ wood=Wood fuel
|
|||
quality-catalyst=Quality catalyst
|
||||
|
||||
[mod-setting-name]
|
||||
lignumis-restrict-sciences=Restrict Lignumis science recipes to Lignumis
|
||||
lignumis-belt-progression=Enable progressive belt recipes
|
||||
lignumis-inserter-progression=Enable progressive inserter recipes
|
||||
lignumis-ammo-progression=Enable progressive ammo recipes
|
||||
|
|
|
|||
|
|
@ -41,7 +41,8 @@ data:extend({
|
|||
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
},
|
||||
allow_productivity = true
|
||||
allow_productivity = true,
|
||||
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
|
|
@ -59,7 +60,8 @@ data:extend({
|
|||
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
},
|
||||
allow_productivity = true
|
||||
allow_productivity = true,
|
||||
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
|
||||
},
|
||||
{
|
||||
type = "technology",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,8 @@ data:extend({
|
|||
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
|
||||
},
|
||||
allow_productivity = true
|
||||
allow_productivity = true,
|
||||
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
|
||||
},
|
||||
{
|
||||
type = "technology",
|
||||
|
|
|
|||
|
|
@ -1,102 +1,109 @@
|
|||
data:extend({
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-belt-progression",
|
||||
name = "lignumis-restrict-sciences",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
default_value = false,
|
||||
order = "a"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-inserter-progression",
|
||||
name = "lignumis-belt-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "b"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-ammo-progression",
|
||||
name = "lignumis-inserter-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "c"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-technology-progression",
|
||||
name = "lignumis-ammo-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "d"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-basic-circuit-board",
|
||||
name = "lignumis-technology-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "e"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-circuit-progression",
|
||||
name = "lignumis-basic-circuit-board",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
default_value = true,
|
||||
order = "f"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-assembler-progression",
|
||||
name = "lignumis-circuit-progression",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "g"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-lumber-mill-more-recipes",
|
||||
name = "lignumis-assembler-progression",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "h"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-fulgora-wood",
|
||||
name = "lignumis-lumber-mill-more-recipes",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "i"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-early-robots",
|
||||
name = "lignumis-fulgora-wood",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "j"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-vanilla-lab",
|
||||
name = "lignumis-early-robots",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "k"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-double-rocket",
|
||||
name = "lignumis-vanilla-lab",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "l"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-sciences-spoil",
|
||||
name = "lignumis-double-rocket",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "m"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-infinite-astroponics-productivity-research",
|
||||
name = "lignumis-sciences-spoil",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "n"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-infinite-astroponics-productivity-research",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "o"
|
||||
},
|
||||
{
|
||||
type = "string-setting",
|
||||
name = "lignumis-second-planet",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue