forked from cacklingfiend/lignumis
		
	Add setting for keeping the vanilla lab recipe
https://mods.factorio.com/mod/lignumis/discussion/68725ff2ad76390859ee01a7
This commit is contained in:
		
							parent
							
								
									ac2e341e41
								
							
						
					
					
						commit
						1dbe1af301
					
				
					 3 changed files with 15 additions and 7 deletions
				
			
		| 
						 | 
					@ -181,6 +181,7 @@ lignumis-assembler-progression=Enable progressive assembler recipes
 | 
				
			||||||
lignumis-lumber-mill-more-recipes=Enable more recipes for the lumber mill
 | 
					lignumis-lumber-mill-more-recipes=Enable more recipes for the lumber mill
 | 
				
			||||||
lignumis-fulgora-wood=Add wood to Fulgora
 | 
					lignumis-fulgora-wood=Add wood to Fulgora
 | 
				
			||||||
lignumis-early-robots=Even earlier personal robots
 | 
					lignumis-early-robots=Even earlier personal robots
 | 
				
			||||||
 | 
					lignumis-vanilla-lab=Keep vanilla lab recipe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[mod-setting-description]
 | 
					[mod-setting-description]
 | 
				
			||||||
lignumis-belt-progression=Yellow belts will require wood belts to craft.
 | 
					lignumis-belt-progression=Yellow belts will require wood belts to craft.
 | 
				
			||||||
| 
						 | 
					@ -193,6 +194,7 @@ lignumis-assembler-progression=Assembling machine 1 will require burner assembli
 | 
				
			||||||
lignumis-lumber-mill-more-recipes=The lumber mill can also craft basic turrets, burner assemblers and burner inserters. Improves balancing wood usage when all progressive recipes are enabled and helps with marathon games.
 | 
					lignumis-lumber-mill-more-recipes=The lumber mill can also craft basic turrets, burner assemblers and burner inserters. Improves balancing wood usage when all progressive recipes are enabled and helps with marathon games.
 | 
				
			||||||
lignumis-fulgora-wood=This adds wooden gear wheels to scrap recycling as the main source of wood. Disable this is you have a different source of wood or import everything from other planets.
 | 
					lignumis-fulgora-wood=This adds wooden gear wheels to scrap recycling as the main source of wood. Disable this is you have a different source of wood or import everything from other planets.
 | 
				
			||||||
lignumis-early-robots=Personal robots are moved from steam to wood science and are a tiny bit faster.
 | 
					lignumis-early-robots=Personal robots are moved from steam to wood science and are a tiny bit faster.
 | 
				
			||||||
 | 
					lignumis-vanilla-lab=Moves the transport belt recipe to Iron processing so the lab can be crafted with the original recipe without requiring to research logistics
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[autoplace-control-names]
 | 
					[autoplace-control-names]
 | 
				
			||||||
lignumis_enemy_base=Lignumis enemy bases
 | 
					lignumis_enemy_base=Lignumis enemy bases
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,7 +65,12 @@ stone_furnace_remnants.animation[1].filename = Lignumis.graphics .. "entity/ston
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Lab
 | 
					-- Lab
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if settings.startup["lignumis-vanilla-lab"].value then
 | 
				
			||||||
 | 
					    Recipe:new("transport-belt"):unlockedByTechnology("iron-processing")
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
    Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt")
 | 
					    Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt")
 | 
				
			||||||
 | 
					    Recipe:new("transport-belt"):unlockedByTechnology("logistics")
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Gun turret
 | 
					-- Gun turret
 | 
				
			||||||
| 
						 | 
					@ -185,12 +190,6 @@ end
 | 
				
			||||||
local automation_technology = data.raw.technology["automation"]
 | 
					local automation_technology = data.raw.technology["automation"]
 | 
				
			||||||
automation_technology.ignore_tech_cost_multiplier = false
 | 
					automation_technology.ignore_tech_cost_multiplier = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local logistics_technology = data.raw.technology["logistics"]
 | 
					 | 
				
			||||||
table.insert(logistics_technology.effects, {
 | 
					 | 
				
			||||||
    type = "unlock-recipe",
 | 
					 | 
				
			||||||
    recipe = "transport-belt"
 | 
					 | 
				
			||||||
})
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
local landfill_technology = data.raw.technology["landfill"]
 | 
					local landfill_technology = data.raw.technology["landfill"]
 | 
				
			||||||
landfill_technology.prerequisites = { "burner-automation" }
 | 
					landfill_technology.prerequisites = { "burner-automation" }
 | 
				
			||||||
landfill_technology.unit = {
 | 
					landfill_technology.unit = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,6 +69,13 @@ data:extend({
 | 
				
			||||||
        default_value = false,
 | 
					        default_value = false,
 | 
				
			||||||
        order = "j"
 | 
					        order = "j"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "bool-setting",
 | 
				
			||||||
 | 
					        name = "lignumis-vanilla-lab",
 | 
				
			||||||
 | 
					        setting_type = "startup",
 | 
				
			||||||
 | 
					        default_value = false,
 | 
				
			||||||
 | 
					        order = "k"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        type = "string-setting",
 | 
					        type = "string-setting",
 | 
				
			||||||
        name = "lignumis-second-planet",
 | 
					        name = "lignumis-second-planet",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue