forked from cacklingfiend/lignumis
		
	Reduce usage of resources for some buildings
This commit is contained in:
		
							parent
							
								
									4553e887a3
								
							
						
					
					
						commit
						0b72861273
					
				
					 5 changed files with 19 additions and 19 deletions
				
			
		|  | @ -51,9 +51,9 @@ local turret_recipe = { | ||||||
|     enabled = false, |     enabled = false, | ||||||
|     energy_required = 8, |     energy_required = 8, | ||||||
|     ingredients = { |     ingredients = { | ||||||
|         { type = "item", name = "wooden-gear-wheel", amount = 10 }, |         { type = "item", name = "wooden-gear-wheel", amount = 5 }, | ||||||
|         { type = "item", name = "lumber",            amount = 10 }, |         { type = "item", name = "lumber",            amount = 10 }, | ||||||
|         { type = "item", name = "gold-plate",        amount = 20 } |         { type = "item", name = "gold-plate",        amount = 10 } | ||||||
|     }, |     }, | ||||||
|     results = { { type = "item", name = "basic-gun-turret", amount = 1 } } |     results = { { type = "item", name = "basic-gun-turret", amount = 1 } } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -87,8 +87,8 @@ data:extend({ | ||||||
|         energy_required = 10, |         energy_required = 10, | ||||||
|         ingredients = { |         ingredients = { | ||||||
|             { type = "item", name = "stone-brick",       amount = 5 }, |             { type = "item", name = "stone-brick",       amount = 5 }, | ||||||
|             { type = "item", name = "wooden-gear-wheel", amount = 20 }, |             { type = "item", name = "wooden-gear-wheel", amount = 15 }, | ||||||
|             { type = "item", name = "lumber",            amount = 20 }, |             { type = "item", name = "lumber",            amount = 15 }, | ||||||
|             { type = "item", name = "gold-plate",        amount = basic_circuit_board and 10 or 20 }, |             { type = "item", name = "gold-plate",        amount = basic_circuit_board and 10 or 20 }, | ||||||
|             basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil |             basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil | ||||||
|         }, |         }, | ||||||
|  | @ -124,8 +124,8 @@ data:extend({ | ||||||
|         energy_required = 10, |         energy_required = 10, | ||||||
|         ingredients = { |         ingredients = { | ||||||
|             { type = "item", name = "stone-brick",                                                         amount = 5 }, |             { type = "item", name = "stone-brick",                                                         amount = 5 }, | ||||||
|             { type = "item", name = "wooden-gear-wheel",                                                   amount = 20 }, |             { type = "item", name = "wooden-gear-wheel",                                                   amount = 15 }, | ||||||
|             { type = "item", name = "lumber",                                                              amount = 20 }, |             { type = "item", name = "lumber",                                                              amount = 15 }, | ||||||
|             { type = "item", name = "copper-plate",                                                        amount = 10 }, |             { type = "item", name = "copper-plate",                                                        amount = 10 }, | ||||||
|             { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 } |             { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 } | ||||||
|         }, |         }, | ||||||
|  |  | ||||||
|  | @ -31,11 +31,11 @@ local lumber_mill_item = LumberMill.ItemBuilder:new() | ||||||
| LumberMill.RecipeBuilder:new() | LumberMill.RecipeBuilder:new() | ||||||
|     :ingredients(table.trim({ |     :ingredients(table.trim({ | ||||||
|         { type = "item", name = "stone-brick",       amount = 40 }, |         { type = "item", name = "stone-brick",       amount = 40 }, | ||||||
|         { type = "item", name = "lumber",            amount = 100 }, |         { type = "item", name = "lumber",            amount = 50 }, | ||||||
|         { type = "item", name = "wooden-gear-wheel", amount = 100 }, |         { type = "item", name = "wooden-gear-wheel", amount = 50 }, | ||||||
|         { type = "item", name = "gold-plate",        amount = basic_circuit_board and 30 or 60 }, |         { type = "item", name = "gold-plate",        amount = basic_circuit_board and 20 or 40 }, | ||||||
|         basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 30 } or nil, |         basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 20 } or nil, | ||||||
|         { type = "item", name = "burner-assembling-machine", amount = 5 } |         { type = "item", name = "burner-assembling-machine", amount = 2 } | ||||||
|     })) |     })) | ||||||
|     :apply({ |     :apply({ | ||||||
|         category = "wood-processing-or-assembling" |         category = "wood-processing-or-assembling" | ||||||
|  | @ -53,8 +53,8 @@ LumberMill.RecipeBuilder:new() | ||||||
|         { type = "item", name = "stone-brick",                                                         amount = 40 }, |         { type = "item", name = "stone-brick",                                                         amount = 40 }, | ||||||
|         { type = "item", name = "lumber",                                                              amount = 50 }, |         { type = "item", name = "lumber",                                                              amount = 50 }, | ||||||
|         { type = "item", name = "wooden-gear-wheel",                                                   amount = 50 }, |         { type = "item", name = "wooden-gear-wheel",                                                   amount = 50 }, | ||||||
|         { type = "item", name = "copper-plate",                                                        amount = basic_circuit_board and 30 or 60 }, |         { type = "item", name = "copper-plate",                                                        amount = basic_circuit_board and 20 or 40 }, | ||||||
|         { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 30 }, |         { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 20 }, | ||||||
|         { type = "item", name = "assembling-machine-1",                                                amount = 2 } |         { type = "item", name = "assembling-machine-1",                                                amount = 2 } | ||||||
|     }) |     }) | ||||||
|     :apply({ |     :apply({ | ||||||
|  |  | ||||||
|  | @ -147,8 +147,8 @@ data:extend({ | ||||||
|         category = "wood-processing-or-assembling", |         category = "wood-processing-or-assembling", | ||||||
|         energy_required = 2, |         energy_required = 2, | ||||||
|         ingredients = { |         ingredients = { | ||||||
|             { type = "item", name = "lumber",            amount = 10 }, |             { type = "item", name = "lumber",            amount = 6 }, | ||||||
|             { type = "item", name = "wooden-gear-wheel", amount = 10 }, |             { type = "item", name = "wooden-gear-wheel", amount = 4 }, | ||||||
|             { type = "item", name = "stone-brick",       amount = 10 }, |             { type = "item", name = "stone-brick",       amount = 10 }, | ||||||
|             { type = "item", name = "gold-plate",        amount = basic_circuit_board and 10 or 20 }, |             { type = "item", name = "gold-plate",        amount = basic_circuit_board and 10 or 20 }, | ||||||
|             basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil |             basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil | ||||||
|  |  | ||||||
|  | @ -67,10 +67,10 @@ local silo_recipe = table.deepcopy(data.raw["recipe"]["rocket-silo"]) | ||||||
| silo_recipe.name = "provisional-rocket-silo" | silo_recipe.name = "provisional-rocket-silo" | ||||||
| silo_recipe.results[1].name = "provisional-rocket-silo" | silo_recipe.results[1].name = "provisional-rocket-silo" | ||||||
| silo_recipe.ingredients = { | silo_recipe.ingredients = { | ||||||
|     { type = "item", name = "lumber",            amount = 500 }, |     { type = "item", name = "lumber",            amount = 400 }, | ||||||
|     { type = "item", name = "wooden-gear-wheel", amount = 250 }, |     { type = "item", name = "wooden-gear-wheel", amount = 150 }, | ||||||
|     { type = "item", name = "stone-brick",       amount = 500 }, |     { type = "item", name = "stone-brick",       amount = 400 }, | ||||||
|     { type = "item", name = "gold-plate",        amount = 500 }, |     { type = "item", name = "gold-plate",        amount = 400 }, | ||||||
|     basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 100 } or |     basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 100 } or | ||||||
|     { type = "item", name = "gold-cable", amount = 100 } |     { type = "item", name = "gold-cable", amount = 100 } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann