From 4775d98fb7e12f7210cf778351767828e551011d Mon Sep 17 00:00:00 2001 From: SmallJoker <mk939@ymail.com> Date: Thu, 20 Oct 2022 20:08:56 +0200 Subject: [PATCH] Unify and simplify LED/Lamp node definition --- technic/machines/HV/battery_box.lua | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/technic/machines/HV/battery_box.lua b/technic/machines/HV/battery_box.lua index 17b0eae..89c65da 100644 --- a/technic/machines/HV/battery_box.lua +++ b/technic/machines/HV/battery_box.lua @@ -1,19 +1,22 @@ -- HV battery box + minetest.register_craft({ output = 'technic:hv_battery_box0', recipe = { {'technic:mv_battery_box0', 'technic:mv_battery_box0', 'technic:mv_battery_box0'}, {'technic:mv_battery_box0', 'technic:hv_transformer', 'technic:mv_battery_box0'}, - {'', 'technic:hv_cable0', ''}, + {'', 'technic:hv_cable', ''}, } }) technic.register_battery_box({ tier = "HV", - max_charge = 1500000, + max_charge = 1000000, charge_rate = 100000, discharge_rate = 400000, charge_step = 10000, discharge_step = 40000, + upgrade = 1, + tube = 1, }) -- Gitblit v1.8.0