Revert compatibility with Alien Biomes
This commit is contained in:
parent
2a993f9e75
commit
5f1e10cf7e
3 changed files with 1 additions and 17 deletions
|
@ -25,6 +25,7 @@
|
|||
"?aai-industry",
|
||||
"?planet-picker",
|
||||
"!apm_power_ldinc",
|
||||
"!alien-biomes",
|
||||
"!wood-logistics",
|
||||
"!early-agriculture",
|
||||
"!wood-universe-modpack"
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
if not mods["alien-biomes"] then return end
|
||||
|
||||
local settings = data.raw.planet["lignumis"]["map_gen_settings"].autoplace_settings["decorative"].settings
|
||||
settings["medium-rock"] = nil
|
||||
settings["small-rock"] = nil
|
||||
settings["tiny-rock"] = nil
|
||||
|
||||
-- Fix trees not being plantable on Alien Biomes tiles
|
||||
local tile_restriction = data.raw["plant"]["tree-plant"].autoplace.tile_restriction
|
||||
for _, tile in pairs(alien_biomes.all_tiles()) do
|
||||
if tile.tags and (table.contains(tile.tags, "dirt") or table.contains(tile.tags, "grass")) then
|
||||
if not table.contains(tile_restriction, tile.name) then
|
||||
table.insert(tile_restriction, tile.name)
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,5 +1,4 @@
|
|||
require("hot-metals")
|
||||
require("wood-military")
|
||||
require("metal-and-stars")
|
||||
require("alien-biomes")
|
||||
require("planet-picker")
|
Loading…
Add table
Reference in a new issue