From b2a124dd8308e067869e0992a73b4b88df97ab64 Mon Sep 17 00:00:00 2001 From: BobFred7 <57379622+BobFred7@users.noreply.github.com> Date: Fri, 01 May 2020 21:24:12 +0200 Subject: [PATCH] Deal with lava cans wasting lava (#532) --- technic/legacy.lua | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/technic/legacy.lua b/technic/legacy.lua index 8360a71..6a080e1 100644 --- a/technic/legacy.lua +++ b/technic/legacy.lua @@ -22,9 +22,6 @@ ["technic:compressor"] = "technic:lv_compressor", ["technic:compressor_active"] = "technic:lv_compressor_active", ["technic:hv_battery_box"] = "technic:hv_battery_box0", - ["technic:hv_cable"] = "technic:hv_cable0", - ["technic:lv_cable"] = "technic:lv_cable0", - ["technic:mv_cable"] = "technic:mv_cable0", ["technic:mv_battery_box"] = "technic:mv_battery_box0", ["technic:generator"] = "technic:lv_generator", ["technic:generator_active"] = "technic:lv_generator_active", @@ -36,3 +33,9 @@ minetest.register_alias(old, new) end +for i = 0, 64 do + minetest.register_alias("technic:hv_cable"..i, "technic:hv_cable") + minetest.register_alias("technic:mv_cable"..i, "technic:mv_cable") + minetest.register_alias("technic:lv_cable"..i, "technic:lv_cable") +end + -- Gitblit v1.8.0