From 3066d966a173a80f1a1dc55024456b1ae2c6fdbb Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 26 Nov 2022 01:14:40 +0100 Subject: [PATCH 1/2] Add the missing wood types pressure plates --- mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua index 495fbd048..9094d53c1 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua @@ -164,6 +164,10 @@ local woods = { { "darkwood", "mcl_core:darkwood", "mcl_core_planks_big_oak.png", S("Dark Oak Pressure Plate" )}, { "sprucewood", "mcl_core:sprucewood", "mcl_core_planks_spruce.png", S("Spruce Pressure Plate") }, { "junglewood", "mcl_core:junglewood", "default_junglewood.png", S("Jungle Pressure Plate") }, + + { "mangrove_wood", "mcl_mangrove:mangrove_wood", "mcl_mangrove_planks.png", S("Mangrove Pressure Plate") }, + { "crimson_hyphae_wood", "mcl_crimson:crimson_hyphae_wood", "crimson_hyphae_wood.png", S("Crimson Pressure Plate") }, + { "warped_hyphae_wood", "mcl_crimson:warped_hyphae_wood", "warped_hyphae_wood.png", S("Warped Pressure Plate") }, } for w=1, #woods do From ba7da6a885324d9b67c9e2c5424437800f5fb601 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 26 Nov 2022 01:15:42 +0100 Subject: [PATCH 2/2] Fix pressure plates being pressed by new chest size this fixes the problem for chests, with paintings it would need to go down considerably ( .65 was the value i determined) --- mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua index 9094d53c1..a453d1981 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua @@ -37,7 +37,7 @@ local function pp_on_timer(pos, elapsed) end end - local objs = minetest.get_objects_inside_radius(pos, 1) + local objs = minetest.get_objects_inside_radius(pos, .99) if node.name == basename .. "_on" then local disable