From 275c98f17d16b6025476e4f7aff3c2b8617c5041 Mon Sep 17 00:00:00 2001 From: protocol-1903 Date: Sun, 14 Sep 2025 21:14:31 -0700 Subject: [PATCH] mark aai loaders optional --- info.json | 2 +- prototypes/buildings/shunt-loader.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/info.json b/info.json index 7329205..0ec1689 100644 --- a/info.json +++ b/info.json @@ -10,7 +10,7 @@ "dependencies": [ "base >= 2.0", "pyalternativeenergy >= 3.0.0", - "aai-loaders", + "? aai-loaders", "! pystellarexpedition" ] } \ No newline at end of file diff --git a/prototypes/buildings/shunt-loader.lua b/prototypes/buildings/shunt-loader.lua index 652ea4a..fc9ef76 100644 --- a/prototypes/buildings/shunt-loader.lua +++ b/prototypes/buildings/shunt-loader.lua @@ -1,3 +1,5 @@ +if not mods["aai-loaders"] then return end + AAILoaders.make_tier{ name = "shunt", transport_belt = "transport-belt",