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 | active-noise-cancelling=Active noise cancelling | ||||||
| casting-gold=Casting gold | casting-gold=Casting gold | ||||||
| gold-ore-crushing=Gold ore crushing | gold-ore-crushing=Gold ore crushing | ||||||
|  | processing-unit-gold=Processing unit (gold) | ||||||
| 
 | 
 | ||||||
| [recipe-description] | [recipe-description] | ||||||
| moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam. | moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam. | ||||||
|  |  | ||||||
|  | @ -167,7 +167,7 @@ data:extend({ | ||||||
|         allow_productivity = true, |         allow_productivity = true, | ||||||
|         icons = { |         icons = { | ||||||
|             { icon = "__base__/graphics/icons/low-density-structure.png" }, |             { icon = "__base__/graphics/icons/low-density-structure.png" }, | ||||||
|             { icon = Lignumis.graphics .. "icons/gold-plate.png",       scale = 0.25, shift = { 8, 8 } } |             { icon = Lignumis.graphics .. "icons/gold-plate.png",        scale = 0.25, shift = { 8, 8 } } | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|  | @ -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") | local plastics = Technology:new("plastics") | ||||||
| plastics:addRecipe("cupriavidus-necator-starter") | plastics:addRecipe("cupriavidus-necator-starter") | ||||||
| plastics:addRecipe("cupriavidus-necator") | plastics:addRecipe("cupriavidus-necator") | ||||||
|  | @ -255,4 +283,4 @@ rocket_fuel_productivity:addEffect({ | ||||||
|     type = "change-recipe-productivity", |     type = "change-recipe-productivity", | ||||||
|     recipe = "rocket-fuel-from-wood-pulp-and-peat", |     recipe = "rocket-fuel-from-wood-pulp-and-peat", | ||||||
|     change = 0.1 |     change = 0.1 | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  | @ -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.icons = { { icon = Lignumis.graphics .. "icons/steam-assembling-machine.png", icon_size = 64 } } | ||||||
| assembling_machine.minable.result = "steam-assembling-machine" | assembling_machine.minable.result = "steam-assembling-machine" | ||||||
| assembling_machine.next_upgrade = "assembling-machine-1" | 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.corpses = "steam-assembling-machine-remnants" | ||||||
| assembling_machine.resistances = nil | assembling_machine.resistances = nil | ||||||
| assembling_machine.graphics_set = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"].graphics_set) | 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
	
	 Simon Brodtmann
						Simon Brodtmann