From 21e044478e259efa202dce2c2e82afc342f07b90 Mon Sep 17 00:00:00 2001 From: SmallJoker <mk939@ymail.com> Date: Sat, 26 Nov 2022 23:25:33 +0100 Subject: [PATCH] Fix battery box charging issues caused by out of sync functions --- technic/items.lua | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/technic/items.lua b/technic/items.lua index d89ed46..d1565d7 100644 --- a/technic/items.lua +++ b/technic/items.lua @@ -35,7 +35,7 @@ fleshy = {times={}, uses=10000, maxlevel=0} } } -}) +}) minetest.register_tool("technic:green_energy_crystal", { description = S("Green Energy Crystal"), @@ -51,7 +51,7 @@ fleshy = {times={}, uses=10000, maxlevel=0} } } -}) +}) minetest.register_tool("technic:red_energy_crystal", { description = S("Red Energy Crystal"), @@ -67,7 +67,7 @@ fleshy = {times={}, uses=10000, maxlevel=0} } } -}) +}) minetest.register_craftitem("technic:copper_coil", { description = S("Copper Coil"), @@ -134,6 +134,11 @@ sounds = default.node_sound_stone_defaults(), }) +minetest.register_craftitem("technic:rubber_goo", { + description = S("Rubber Goo"), + inventory_image = "technic_rubber_goo.png", +}) + for p = 0, 35 do local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil local psuffix = p == 7 and "" or p -- Gitblit v1.8.0