forked from cacklingfiend/lignumis
Add compatibility for "Any planet start"
This commit is contained in:
parent
b23b363702
commit
9b95d0ab80
7 changed files with 10 additions and 9 deletions
|
|
@ -129,7 +129,7 @@ table.insert(data.raw["assembling-machine"]["assembling-machine-3"].crafting_cat
|
|||
|
||||
-- Disable vanilla early game recipes
|
||||
|
||||
if not mods["planet-picker"] then
|
||||
if not mods["planet-picker"] and not mods["any-planet-start"] then
|
||||
data.raw.recipe["iron-plate"].enabled = false
|
||||
data.raw.recipe["iron-gear-wheel"].enabled = false
|
||||
data.raw.recipe["iron-chest"].enabled = false
|
||||
|
|
@ -157,7 +157,7 @@ end
|
|||
|
||||
-- Adjust vanilla technologies
|
||||
|
||||
if not mods["planet-picker"] then
|
||||
if not mods["planet-picker"] and not mods["any-planet-start"] then
|
||||
local automation_science_pack_technology = data.raw.technology["automation-science-pack"]
|
||||
automation_science_pack_technology.enabled = false
|
||||
automation_science_pack_technology.visible_when_disabled = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue