Add compatibility for mods that change the quality technologies

This commit is contained in:
Simon Brodtmann 2025-02-15 22:48:38 +01:00
parent 3919ba5f9b
commit d508b90ad7
2 changed files with 5 additions and 1 deletions

View file

@ -1 +1,2 @@
require("prototypes/content/final")
require("prototypes/content/final")
require("prototypes/compatibility/final")

View file

@ -0,0 +1,3 @@
if not data.raw.technology["legendary-quality"] then
table.removeValue(data.raw.technology["quality-assembler"].prerequisites, "legendary-quality")
end