forked from cacklingfiend/lignumis
		
	Add more recipes to lumber mill
This commit is contained in:
		
							parent
							
								
									eb849de427
								
							
						
					
					
						commit
						3eb14395ac
					
				
					 12 changed files with 30 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -44,6 +44,8 @@ AAILoaders.make_tier({
 | 
			
		|||
    localise = false
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
data.raw.recipe["aai-wood-loader"].category = "wood-processing-or-assembling"
 | 
			
		||||
 | 
			
		||||
if not basic_circuit_board then
 | 
			
		||||
    local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit")
 | 
			
		||||
    nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,7 @@ lane_splitter.prototype.structure_patch.south.filename = data.raw.splitter["wood
 | 
			
		|||
lane_splitter.prototype.structure_patch.west.filename = data.raw.splitter["wood-splitter"].structure_patch.west.filename
 | 
			
		||||
lane_splitter.prototype.structure_patch.north.filename = data.raw.splitter["wood-splitter"].structure_patch.north.filename
 | 
			
		||||
lane_splitter.item.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
 | 
			
		||||
lane_splitter.recipe.category = "wood-processing-or-assembling"
 | 
			
		||||
 | 
			
		||||
data:extend({
 | 
			
		||||
    lane_splitter.prototype,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,6 +48,7 @@ local turret_item = {
 | 
			
		|||
local turret_recipe = {
 | 
			
		||||
    type = "recipe",
 | 
			
		||||
    name = "basic-gun-turret",
 | 
			
		||||
    category = "wood-processing-or-assembling",
 | 
			
		||||
    enabled = false,
 | 
			
		||||
    energy_required = 8,
 | 
			
		||||
    ingredients = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,6 +83,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "burner-agricultural-tower",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        energy_required = 10,
 | 
			
		||||
        ingredients = {
 | 
			
		||||
            { type = "item", name = "stone-brick",       amount = 5 },
 | 
			
		||||
| 
						 | 
				
			
			@ -114,6 +115,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "burner-agricultural-tower-copper",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        localised_name = { "entity-name.burner-agricultural-tower" },
 | 
			
		||||
        icons = {
 | 
			
		||||
            { icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,6 +68,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "burner-assembling-machine",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        enabled = false,
 | 
			
		||||
        ingredients = {
 | 
			
		||||
            { type = "item", name = "wooden-gear-wheel", amount = 5 },
 | 
			
		||||
| 
						 | 
				
			
			@ -108,6 +109,7 @@ if not basic_circuit_board then
 | 
			
		|||
        {
 | 
			
		||||
            type = "recipe",
 | 
			
		||||
            name = "burner-assembling-machine-electronic-circuit",
 | 
			
		||||
            category = "wood-processing-or-assembling",
 | 
			
		||||
            localised_name = { "entity-name.burner-assembling-machine" },
 | 
			
		||||
            icons = {
 | 
			
		||||
                { icon = Lignumis.graphics .. "icons/burner-assembling-machine.png" },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,6 +63,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "burner-long-handed-inserter",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        enabled = false,
 | 
			
		||||
        ingredients = {
 | 
			
		||||
            { type = "item", name = "wooden-gear-wheel", amount = 1 },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -144,6 +144,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "wood-lab",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        energy_required = 2,
 | 
			
		||||
        ingredients = {
 | 
			
		||||
            { type = "item", name = "lumber",            amount = 10 },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,7 +41,17 @@ Belt.RecipeBuilder:new()
 | 
			
		|||
        basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 5 } or
 | 
			
		||||
        { type = "item", name = "gold-cable", amount = 10 }
 | 
			
		||||
    })
 | 
			
		||||
    :apply()
 | 
			
		||||
    :apply({
 | 
			
		||||
        transportBelt = {
 | 
			
		||||
            category = "wood-processing-or-assembling"
 | 
			
		||||
        },
 | 
			
		||||
        undergroundBelt = {
 | 
			
		||||
            category = "wood-processing-or-assembling"
 | 
			
		||||
        },
 | 
			
		||||
        splitter = {
 | 
			
		||||
            category = "wood-processing-or-assembling"
 | 
			
		||||
        }
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
Belt.TechnologyBuilder:new()
 | 
			
		||||
    :prerequisites({ "wood-science-pack" })
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +75,8 @@ if not basic_circuit_board then
 | 
			
		|||
                    icons = {
 | 
			
		||||
                        { icon = splitter_item.icon },
 | 
			
		||||
                        { icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
 | 
			
		||||
                    }
 | 
			
		||||
                    },
 | 
			
		||||
                    category = "wood-processing-or-assembling"
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
            .splitter
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,6 +81,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "wood-darts-magazine",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        energy_required = 1,
 | 
			
		||||
        ingredients = { { type = "item", name = "wood", amount = 2 } },
 | 
			
		||||
        results = { { type = "item", name = "wood-darts-magazine", amount = 1 } }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,7 @@ data:extend({
 | 
			
		|||
    {
 | 
			
		||||
        type = "recipe",
 | 
			
		||||
        name = "wooden-gear-wheel",
 | 
			
		||||
        category = "wood-processing-or-assembling",
 | 
			
		||||
        ingredients = { { type = "item", name = "lumber", amount = 1 } },
 | 
			
		||||
        results = { { type = "item", name = "wooden-gear-wheel", amount = 2 } },
 | 
			
		||||
        allow_productivity = true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
local recipe = data.raw.recipe["wooden-wall"]
 | 
			
		||||
recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } }
 | 
			
		||||
recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } }
 | 
			
		||||
recipe.category = "wood-processing-or-assembling"
 | 
			
		||||
 | 
			
		||||
-- https://mods.factorio.com/mod/Wood-Walls/discussion/679915cbb8bf3c84c65db404
 | 
			
		||||
data.raw.corpse["woodenwall-remnants"].icon = "__Wood-Walls__/graphics/wooden-wall/wooden-wall.png"
 | 
			
		||||
| 
						 | 
				
			
			@ -20,6 +20,7 @@ local drill_item = data.raw["item"]["burner-mining-drill"]
 | 
			
		|||
drill_item.icon = Lignumis.graphics .. "icons/burner-mining-drill.png"
 | 
			
		||||
 | 
			
		||||
local drill_recipe = data.raw["recipe"]["burner-mining-drill"]
 | 
			
		||||
drill_recipe.category = "wood-processing-or-assembling"
 | 
			
		||||
drill_recipe.ingredients = {
 | 
			
		||||
    { type = "item", name = "stone-furnace",     amount = 1 },
 | 
			
		||||
    { type = "item", name = "wooden-gear-wheel", amount = basic_circuit_board and 2 or 3 },
 | 
			
		||||
| 
						 | 
				
			
			@ -40,10 +41,12 @@ burner_inserter.energy_source.initial_fuel_percent = 0.15
 | 
			
		|||
 | 
			
		||||
data.raw.item["burner-inserter"].icon = Lignumis.graphics .. "icons/burner-inserter.png"
 | 
			
		||||
 | 
			
		||||
data.raw.recipe["burner-inserter"].ingredients = {
 | 
			
		||||
local burner_inesrter_recipe = data.raw.recipe["burner-inserter"]
 | 
			
		||||
burner_inesrter_recipe.ingredients = {
 | 
			
		||||
    { type = "item", name = "wooden-gear-wheel", amount = 1 },
 | 
			
		||||
    { type = "item", name = "lumber",            amount = 1 }
 | 
			
		||||
}
 | 
			
		||||
burner_inesrter_recipe.category = "wood-processing-or-assembling"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- Stone furnace
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue