From db312bc725c53b642553348d2b5e30f0c212f4b7 Mon Sep 17 00:00:00 2001 From: waxtatect <52937829+waxtatect@users.noreply.github.com> Date: Tue, 5 Sep 2023 12:14:22 +0200 Subject: [PATCH] add xdecor:workbench to limit_inventory_table --- common.lua | 4 ++-- mover.lua | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common.lua b/common.lua index 95d5f43..8efd1e8 100644 --- a/common.lua +++ b/common.lua @@ -5,7 +5,7 @@ basic_machines = { F = minetest.formspec_escape, S = minetest.get_translator("basic_machines"), - version = "08/10/2023 (fork)", + version = "09/05/2023 (fork)", properties = { no_clock = false, -- if true all continuously running activities (clockgen/keypad) are disabled machines_TTL = 16, -- time to live for signals, how many hops before signal dissipates @@ -22,7 +22,7 @@ basic_machines = { energy_multiplier = 1, -- energy crystals multiplier power_stackmax = 25, -- power crystals stack max -- grinder - grinder_register_dusts = true, -- dusts/extractors for lumps/ingots, needed for the others grinder settings + grinder_register_dusts = true, -- dusts/extractors for lumps/ingots, needed for the other grinder settings grinder_dusts_quantity = 2, -- quantity of dusts produced by lump/ingot, minimum 0 grinder_dusts_legacy = false, -- legacy dust mode: dust_33 (smelt) -> dust_66 (smelt) -> ingot grinder_extractors_type = 1, -- recipe priority if optional mod present, 1: farming_redo, 2: x_farming diff --git a/mover.lua b/mover.lua index 7bd7493..7189c2b 100644 --- a/mover.lua +++ b/mover.lua @@ -113,7 +113,7 @@ local mover = { -- list of nodes mover can't take from in inventory mode -- node name = {list of bad inventories to take from} OR node name = true to ban all inventories limit_inventory_table = { - ["basic_machines:autocrafter"] = {["recipe"] = 1, ["output"] = 1}, + ["basic_machines:autocrafter"] = {["output"] = 1, ["recipe"] = 1}, ["basic_machines:battery_0"] = {["upgrade"] = 1}, ["basic_machines:battery_1"] = {["upgrade"] = 1}, ["basic_machines:battery_2"] = {["upgrade"] = 1}, @@ -122,7 +122,8 @@ local mover = { ["basic_machines:grinder"] = {["upgrade"] = 1}, ["basic_machines:mover"] = true, ["moreblocks:circular_saw"] = true, - ["smartshop:shop"] = true + ["smartshop:shop"] = true, + ["xdecor:workbench"] = {["forms"] = 1, ["input"] = 1} }, -- list of mover modes