From e90b28895cc28daf1a2e4fb772bd191400cf9e62 Mon Sep 17 00:00:00 2001
From: fgrosswig <falk@grosswig.de>
Date: Mon, 06 Jan 2020 21:50:15 +0100
Subject: [PATCH] battery_box.lua: Make "srcstack" local (#525)

---
 technic/machines/LV/compressor.lua |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/technic/machines/LV/compressor.lua b/technic/machines/LV/compressor.lua
index 2b9752f..84eb4c5 100644
--- a/technic/machines/LV/compressor.lua
+++ b/technic/machines/LV/compressor.lua
@@ -4,10 +4,14 @@
 minetest.register_craft({
 	output = 'technic:lv_compressor',
 	recipe = {
-		{'default:stone',	'technic:motor',		'default:stone'},
-		{'mesecons:piston',	'technic:machine_casing',	'mesecons:piston'},
-		{'default:stone',	'technic:lv_cable0',		'default:stone'},
-	}
+		{'default:stone',            'basic_materials:motor',          'default:stone'},
+		{'mesecons:piston',          'technic:machine_casing', 'mesecons:piston'},
+		{'basic_materials:silver_wire', 'technic:lv_cable',       'basic_materials:silver_wire'},
+	},
+	replacements = {
+		{"basic_materials:silver_wire", "basic_materials:empty_spool"},
+		{"basic_materials:silver_wire", "basic_materials:empty_spool"}
+	},
 })
 
 technic.register_compressor({tier = "LV", demand = {300}, speed = 1})

--
Gitblit v1.8.0