From 0211c582e9ce8745e19ff49496b026d393dad074 Mon Sep 17 00:00:00 2001 From: sfence <sfence.software@gmail.com> Date: Mon, 06 Jun 2022 18:53:50 +0200 Subject: [PATCH] Add charge set/get callbacks (#600) --- technic_chests/copper_chest.lua | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/technic_chests/copper_chest.lua b/technic_chests/copper_chest.lua index cba9e60..c989bac 100644 --- a/technic_chests/copper_chest.lua +++ b/technic_chests/copper_chest.lua @@ -18,21 +18,28 @@ minetest.register_craft({ output = 'technic:copper_locked_chest 1', + type = "shapeless", recipe = { - {'default:steel_ingot'}, - {'technic:copper_chest'}, + 'basic_materials:padlock', + 'technic:copper_chest', } }) technic.chests:register("Copper", { - width = 10, + width = 12, + height = 5, + sort = true, + autosort = true, infotext = false, color = false, locked = false, }) technic.chests:register("Copper", { - width = 10, + width = 12, + height = 5, + sort = true, + autosort = true, infotext = false, color = false, locked = true, -- Gitblit v1.8.0