Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
c648261b3c readme 2025-03-01 23:23:54 +01:00
Simon Brodtmann
9b95d0ab80 Add compatibility for "Any planet start" 2025-03-01 23:23:46 +01:00
8 changed files with 17 additions and 9 deletions

View file

@ -40,6 +40,10 @@ A wooden loader is added when this mod is active. Also supports [AAI Loaders, a
Add this for increased complexity in the early Nauvis game. It has no effect on Lignumis, but Lignumis changes a few recipes this mod adds.
#### [Brevven's mods](https://mods.factorio.com/user/brevven)
For even more complexity after Lignumis. They currently don't change anything on Lignumis itself.
## Compatibility with other planet mods
The following planet mods are tested for (at least technical) compatibility:
@ -47,8 +51,11 @@ The following planet mods are tested for (at least technical) compatibility:
- [Castra](https://mods.factorio.com/mod/castra)
- [Cerys](https://mods.factorio.com/mod/Cerys-Moon-of-Fulgora) + [Wooden Cerys: Lunaponics](https://mods.factorio.com/mod/cerys-lunaponics)
- [Corrundum](https://mods.factorio.com/mod/corrundum)
- [Cubium](https://mods.factorio.com/mod/cubium)
- [Dea Dia System](https://mods.factorio.com/mod/dea-dia-system)
- [Janus](https://mods.factorio.com/mod/janus)
- [Maraxsis](https://mods.factorio.com/mod/maraxsis)
- [Moshine](https://mods.factorio.com/mod/Moshine)
- [Muluna](https://mods.factorio.com/mod/planet-muluna)
- [Terra Palus](https://mods.factorio.com/mod/terrapalus)
- [Secretas & Frozeta](https://mods.factorio.com/mod/secretas)

View file

@ -15,7 +15,9 @@ Lignumis = {
"logistic-system",
"space-platform-thruster",
"kovarex-enrichment-process",
"astroponics"
"astroponics",
"planet-discovery-nauvis",
"planet-discovery-lignumis"
},
-- Add wood and steam science packs to all labs' inputs except these

View file

@ -1,7 +1,6 @@
local Technology = require("__cf-lib__/data/Technology")
local Recipe = require("__cf-lib__/data/Recipe")
if not mods["planet-picker"] then return end
if not mods["planet-picker"] and not mods["any-planet-start"] then return end
local technology = Technology:new("planet-discovery-lignumis")
technology:setPrerequisites({ "space-platform-thruster" })

View file

@ -83,7 +83,7 @@ data:extend({
}
})
if not mods["planet-picker"] then
if not mods["planet-picker"] and not mods["any-planet-start"] then
data:extend({
{
type = "technology",

View file

@ -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

View file

@ -62,7 +62,7 @@ end
InitNew.on_init = function()
if game.tick > 0 then return end
if script.active_mods["planet-picker"] then return end
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
init_intro()
init_space_locations()

View file

@ -37,7 +37,7 @@ end
-- Initialize the freeplay scenario
local function init_freeplay(event)
if script.active_mods["planet-picker"] then return end
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
if storage.crashed_ship_lignumis then return end
local player = game.get_player(event.player_index)

View file

@ -53,7 +53,7 @@ if mods["wood-military"] then
data.raw["bool-setting"]["lignumis-ammo-progression"].hidden = true
end
if mods["planet-picker"] then
if mods["planet-picker"] or mods["any-planet-start"] then
data.raw["bool-setting"]["lignumis-belt-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-belt-progression"].hidden = true
data.raw["bool-setting"]["lignumis-inserter-progression"].forced_value = false