forked from cacklingfiend/lignumis
		
	Add Lignumis recipe for processing unit
This commit is contained in:
		
							parent
							
								
									88bf78f615
								
							
						
					
					
						commit
						96b685a222
					
				
					 3 changed files with 32 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -107,6 +107,7 @@ nutrients-from-wood-pulp=Nutrients from wood pulp
 | 
			
		|||
active-noise-cancelling=Active noise cancelling
 | 
			
		||||
casting-gold=Casting gold
 | 
			
		||||
gold-ore-crushing=Gold ore crushing
 | 
			
		||||
processing-unit-gold=Processing unit (gold)
 | 
			
		||||
 | 
			
		||||
[recipe-description]
 | 
			
		||||
moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -216,6 +216,34 @@ data:extend({
 | 
			
		|||
    }
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
if settings.startup["lignumis-basic-circuit-board"].value then
 | 
			
		||||
    data:extend({
 | 
			
		||||
        {
 | 
			
		||||
            type = "recipe",
 | 
			
		||||
            name = "processing-unit-gold",
 | 
			
		||||
            category = "crafting-with-steam",
 | 
			
		||||
            additional_categories = { "electromagnetics" },
 | 
			
		||||
            enabled = false,
 | 
			
		||||
            auto_recycle = false,
 | 
			
		||||
            energy_required = 10,
 | 
			
		||||
            ingredients =
 | 
			
		||||
            {
 | 
			
		||||
                { type = "item",  name = "basic-circuit-board", amount = 20 },
 | 
			
		||||
                { type = "item",  name = "gold-cable",          amount = 8 },
 | 
			
		||||
                { type = "item",  name = "plastic-bar",         amount = 3 },
 | 
			
		||||
                { type = "fluid", name = "wood-pulp",           amount = 5 }
 | 
			
		||||
            },
 | 
			
		||||
            results = { { type = "item", name = "processing-unit", amount = 1 } },
 | 
			
		||||
            allow_productivity = true,
 | 
			
		||||
            icons = {
 | 
			
		||||
                { icon = "__base__/graphics/icons/processing-unit.png" },
 | 
			
		||||
                { icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    })
 | 
			
		||||
    Technology:new("processing-unit"):addRecipe("processing-unit-gold")
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
local plastics = Technology:new("plastics")
 | 
			
		||||
plastics:addRecipe("cupriavidus-necator-starter")
 | 
			
		||||
plastics:addRecipe("cupriavidus-necator")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ assembling_machine.name = "steam-assembling-machine"
 | 
			
		|||
assembling_machine.icons = { { icon = Lignumis.graphics .. "icons/steam-assembling-machine.png", icon_size = 64 } }
 | 
			
		||||
assembling_machine.minable.result = "steam-assembling-machine"
 | 
			
		||||
assembling_machine.next_upgrade = "assembling-machine-1"
 | 
			
		||||
assembling_machine.module_slots = nil
 | 
			
		||||
assembling_machine.module_slots = 2
 | 
			
		||||
assembling_machine.corpses = "steam-assembling-machine-remnants"
 | 
			
		||||
assembling_machine.resistances = nil
 | 
			
		||||
assembling_machine.graphics_set = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"].graphics_set)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue