From 6fc153f3bd55bae37960d110802c6cf000a59e34 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 3 Jun 2025 16:50:26 +0200 Subject: [PATCH] Make InserterFuelLeech optional --- README.md | 8 ++++++++ lignumis/info.json | 1 - lignumis/scripts/init.lua | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1166cc6..c6cb374 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,14 @@ The duration of the stay on Lignumis will be rather short. The impact of the lat The following mods can be a great addition for this mod: +#### [Inserter Fuel Leech](https://mods.factorio.com/mod/InserterFuelLeech) + +While optional, the intended way is to use this mod for the burner phase as it improves the fueling experience of burner entities. + +For UPS optimizations, you can disable this mod once the burner phase is over. + +Alternatives: [Burner Leech Fork](https://mods.factorio.com/mod/Burner-Leech-Fork), [Burner Leech](https://mods.factorio.com/mod/Burner-Leech) + #### [Any Planet Start](https://mods.factorio.com/mod/any-planet-start) Allows you to choose the planet that Lignumis orbits. You can continue on Vulcanus, Fulgora or Gleba after leaving Lignumis. diff --git a/lignumis/info.json b/lignumis/info.json index eb76a6c..5b6ba42 100644 --- a/lignumis/info.json +++ b/lignumis/info.json @@ -14,7 +14,6 @@ "bioprocessing-tab", "cf-lib >= 0.0.13", "flib", - "InserterFuelLeech", "lignumis-assets >= 1.0.3", "mf-buildings >= 1.0.7", "mf-core >= 1.0.3", diff --git a/lignumis/scripts/init.lua b/lignumis/scripts/init.lua index 8ca9832..ad58805 100644 --- a/lignumis/scripts/init.lua +++ b/lignumis/scripts/init.lua @@ -71,6 +71,10 @@ Init.events[defines.events.on_player_created] = function(event) game.print("While Alien Biomes is playable with Lignumis, it is not recommended as it prevents trees from being generated on Lignumis.") end + if not script.active_mods["Burner-Leech-Fork"] and not script.active_mods["Burner-Leech"] and not script.active_mods["InserterFuelLeech"] then + game.print("Lignumis: You are starting a new game without a burner leech mod. The intended experience is to use one of the available options. You can disable such a mod after the burner phase of the game. See the mod page for more details.") + end + if not script.active_mods["any-planet-start"] then init_player(event) init_freeplay(event)