Hide Astroponics setting when the mod is not active
This commit is contained in:
parent
c37af37791
commit
a0a89a84ae
1 changed files with 12 additions and 7 deletions
|
|
@ -93,13 +93,6 @@ data:extend({
|
|||
default_value = false,
|
||||
order = "m"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-infinite-astroponics-productivity-research",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "n"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-electric-lumber-mill",
|
||||
|
|
@ -124,6 +117,18 @@ data:extend({
|
|||
}
|
||||
})
|
||||
|
||||
if mods["atroponics"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-infinite-astroponics-productivity-research",
|
||||
setting_type = "startup",
|
||||
default_value = false,
|
||||
order = "n"
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
if mods["aai-industry"] then
|
||||
force("lignumis-inserter-progression", false)
|
||||
force("lignumis-assembler-progression", false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue