forked from cacklingfiend/lignumis
		
	Add compatibility for "Alien biomes"
This commit is contained in:
		
							parent
							
								
									16db021a2a
								
							
						
					
					
						commit
						d3bd61964d
					
				
					 7 changed files with 12 additions and 13 deletions
				
			
		| 
						 | 
					@ -86,7 +86,6 @@ If your modded lab is special and it should not support these science packs, use
 | 
				
			||||||
    - https://lua-api.factorio.com/latest/types/TreeVariation.html
 | 
					    - https://lua-api.factorio.com/latest/types/TreeVariation.html
 | 
				
			||||||
- Improve transition to Nauvis a bit more
 | 
					- Improve transition to Nauvis a bit more
 | 
				
			||||||
- Add late-game recipe for oil from wood pulp
 | 
					- Add late-game recipe for oil from wood pulp
 | 
				
			||||||
- Compatibility with [Alien biomes](https://mods.factorio.com/mod/alien-biomes)
 | 
					 | 
				
			||||||
- Compatibility with [Amator Phasma's Coal & Steam (forked)](https://mods.factorio.com/mod/apm_power_ldinc)
 | 
					- Compatibility with [Amator Phasma's Coal & Steam (forked)](https://mods.factorio.com/mod/apm_power_ldinc)
 | 
				
			||||||
- Compatibility with [AAI Industry](https://mods.factorio.com/mod/aai-industry)
 | 
					- Compatibility with [AAI Industry](https://mods.factorio.com/mod/aai-industry)
 | 
				
			||||||
- Compatibility with [On Wayward Seas](https://mods.factorio.com/mod/wayward-seas)
 | 
					- Compatibility with [On Wayward Seas](https://mods.factorio.com/mod/wayward-seas)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,6 @@
 | 
				
			||||||
        "?wood-military >= 2.3.3",
 | 
					        "?wood-military >= 2.3.3",
 | 
				
			||||||
        "?metal-and-stars",
 | 
					        "?metal-and-stars",
 | 
				
			||||||
        "!apm_power_ldinc",
 | 
					        "!apm_power_ldinc",
 | 
				
			||||||
        "!alien-biomes",
 | 
					 | 
				
			||||||
        "!wood-logistics",
 | 
					        "!wood-logistics",
 | 
				
			||||||
        "!early-agriculture",
 | 
					        "!early-agriculture",
 | 
				
			||||||
        "!wood-universe-modpack",
 | 
					        "!wood-universe-modpack",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										6
									
								
								lignumis/prototypes/compatibility/alien-biomes.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lignumis/prototypes/compatibility/alien-biomes.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					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
 | 
				
			||||||
| 
						 | 
					@ -1,3 +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")
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,3 @@
 | 
				
			||||||
if not mods["hot-metals"] then
 | 
					if not mods["hot-metals"] then return end
 | 
				
			||||||
    return
 | 
					 | 
				
			||||||
end
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
table.insert(HotMetals.items, { name = "gold-plate", iconFolder = "__lignumis__/graphics/icons/" })
 | 
					table.insert(HotMetals.items, { name = "gold-plate", iconFolder = "__lignumis__/graphics/icons/" })
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,4 @@
 | 
				
			||||||
if not mods["metal-and-stars"] then
 | 
					if not mods["metal-and-stars"] then return end
 | 
				
			||||||
	return
 | 
					 | 
				
			||||||
end
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
data.raw.recipe["gold-plate"].enabled = true
 | 
					data.raw.recipe["gold-plate"].enabled = true
 | 
				
			||||||
data.raw.recipe["gold-cable"].enabled = true
 | 
					data.raw.recipe["gold-cable"].enabled = true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,3 @@
 | 
				
			||||||
if not mods["wood-military"] then
 | 
					if not mods["wood-military"] then return end
 | 
				
			||||||
    return
 | 
					 | 
				
			||||||
end
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
data.raw.armor["wood-armor"].equipment_grid = "tiny-equipment-grid"
 | 
					data.raw.armor["wood-armor"].equipment_grid = "tiny-equipment-grid"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue