Enable burner leech when no dedicated mod is installed

This commit is contained in:
Simon Brodtmann 2025-06-03 22:51:33 +02:00
parent e56b5a7087
commit 57b3ee9ece

View file

@ -1,2 +1,7 @@
require("prototypes/content/final")
require("prototypes/compatibility/final")
require("prototypes/compatibility/final")
if not mods["Burner-Leech-Fork"] and not mods["Burner-Leech"] and not mods["InserterFuelLeech"] then
data.raw["inserter"]["burner-inserter"].allow_burner_leech = true
data.raw["inserter"]["burner-long-handed-inserter"].allow_burner_leech = true
end