Add compatibility with AAI Industry
This commit is contained in:
parent
6f38b60694
commit
eef791aad3
6 changed files with 39 additions and 15 deletions
|
|
@ -13,16 +13,21 @@ data:extend({
|
|||
default_value = true,
|
||||
order = "b"
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-ammo-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "c"
|
||||
}
|
||||
})
|
||||
|
||||
if not mods["wood-military"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "lignumis-ammo-progression",
|
||||
setting_type = "startup",
|
||||
default_value = true,
|
||||
order = "c"
|
||||
}
|
||||
})
|
||||
if mods["aai-industry"] then
|
||||
data.raw["bool-setting"]["lignumis-inserter-progression"].forced_value = false
|
||||
data.raw["bool-setting"]["lignumis-inserter-progression"].hidden = true
|
||||
end
|
||||
|
||||
if mods["wood-military"] then
|
||||
data.raw["bool-setting"]["lignumis-ammo-progression"].forced_value = false
|
||||
data.raw["bool-setting"]["lignumis-ammo-progression"].hidden = true
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue