4 Commits

Author SHA1 Message Date
00eac777d7 Merge remote-tracking branch 'upstream/master' 2021-03-12 12:16:00 +01:00
02f3589c7a Replace the depends.txt with a mod.conf 2021-03-11 13:58:45 +01:00
1ec3601f7f Merge remote-tracking branch 'upstream/master' 2020-10-18 12:24:49 +02:00
f34f3b7724 Localise "node" 2020-10-18 00:00:25 +02:00
3 changed files with 4 additions and 4 deletions

View File

@ -1,3 +0,0 @@
default
pipeworks?
technic?

View File

@ -579,7 +579,7 @@ connected_chests.register_chest("default:chest_locked", {
-- TODO: test for invalid param2 values -- TODO: test for invalid param2 values
local x, z = unpack(param_tab2[left_param2]) local x, z = unpack(param_tab2[left_param2])
local pos_right = {x=pos.x-x, y=pos.y, z=pos.z-z} local pos_right = {x=pos.x-x, y=pos.y, z=pos.z-z}
node = minetest.get_node(pos_right) local node = minetest.get_node(pos_right)
if node.name == "default:chest_locked_connected_right" if node.name == "default:chest_locked_connected_right"
and not chest_lid_obstructed(pos_right) then and not chest_lid_obstructed(pos_right) then
minetest.swap_node(pos_right, { minetest.swap_node(pos_right, {

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = connected_chests
depends = default
optional_depends = pipeworks,technic