Compare commits
	
		
			1 commit
		
	
	
		
			master
			...
			alien-biom
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						5f1e10cf7e | 
					 3 changed files with 1 additions and 17 deletions
				
			
		| 
						 | 
					@ -25,6 +25,7 @@
 | 
				
			||||||
        "?aai-industry",
 | 
					        "?aai-industry",
 | 
				
			||||||
        "?planet-picker",
 | 
					        "?planet-picker",
 | 
				
			||||||
        "!apm_power_ldinc",
 | 
					        "!apm_power_ldinc",
 | 
				
			||||||
 | 
					        "!alien-biomes",
 | 
				
			||||||
        "!wood-logistics",
 | 
					        "!wood-logistics",
 | 
				
			||||||
        "!early-agriculture",
 | 
					        "!early-agriculture",
 | 
				
			||||||
        "!wood-universe-modpack"
 | 
					        "!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("hot-metals")
 | 
				
			||||||
require("wood-military")
 | 
					require("wood-military")
 | 
				
			||||||
require("metal-and-stars")
 | 
					require("metal-and-stars")
 | 
				
			||||||
require("alien-biomes")
 | 
					 | 
				
			||||||
require("planet-picker")
 | 
					require("planet-picker")
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue