diff --git a/YAFC/Data/Mod-fixes/IndustrialRevolution3.code.terrain.terrain-ores.lua b/YAFC/Data/Mod-fixes/IndustrialRevolution3.code.terrain.terrain-ores.lua new file mode 100644 index 00000000..ce840ebf --- /dev/null +++ b/YAFC/Data/Mod-fixes/IndustrialRevolution3.code.terrain.terrain-ores.lua @@ -0,0 +1,9 @@ +local util = ...; + +for _,gem in pairs({"diamond","ruby"}) do -- gem-rock-electrum exists in the mod, but isn't placed on the map + if data.raw["simple-entity"]["gem-rock-"..gem] and not data.raw["simple-entity"]["gem-rock-"..gem].autoplace then + data.raw["simple-entity"]["gem-rock-"..gem].autoplace = {} + end +end + +return util; \ No newline at end of file