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
				
			
		|  | @ -22,7 +22,6 @@ | |||
|         "?wood-military >= 2.3.3", | ||||
|         "?metal-and-stars", | ||||
|         "!apm_power_ldinc", | ||||
|         "!alien-biomes", | ||||
|         "!wood-logistics", | ||||
|         "!early-agriculture", | ||||
|         "!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("wood-military") | ||||
| require("metal-and-stars") | ||||
| require("metal-and-stars") | ||||
| require("alien-biomes") | ||||
|  | @ -1,5 +1,3 @@ | |||
| if not mods["hot-metals"] then | ||||
|     return | ||||
| end | ||||
| if not mods["hot-metals"] then return end | ||||
| 
 | ||||
| table.insert(HotMetals.items, { name = "gold-plate", iconFolder = "__lignumis__/graphics/icons/" }) | ||||
|  | @ -1,6 +1,4 @@ | |||
| if not mods["metal-and-stars"] then | ||||
| 	return | ||||
| end | ||||
| if not mods["metal-and-stars"] then return end | ||||
| 
 | ||||
| data.raw.recipe["gold-plate"].enabled = true | ||||
| data.raw.recipe["gold-cable"].enabled = true | ||||
|  |  | |||
|  | @ -1,5 +1,3 @@ | |||
| if not mods["wood-military"] then | ||||
|     return | ||||
| end | ||||
| if not mods["wood-military"] then 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
	
	 Simon Brodtmann
						Simon Brodtmann