From 3d08b568ad1da1e3259a66cb91fd1039781c75cb Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 26 Sep 2017 00:11:57 -0400 Subject: update castles modpack, boost_cart, homedecor, currency, farming redo, framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib, technic, unified mesecons, and worldedit created a new tag for this release (this will be standard procedure from now on) --- pipeworks/compat-chests.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'pipeworks/compat-chests.lua') diff --git a/pipeworks/compat-chests.lua b/pipeworks/compat-chests.lua index 7cff6fd..69eb2f1 100644 --- a/pipeworks/compat-chests.lua +++ b/pipeworks/compat-chests.lua @@ -36,7 +36,7 @@ local function get_chest_formspec(pos) pipeworks.button_on } )..pipeworks.button_label - + return formspec end @@ -62,7 +62,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) local sound = open_chests[pn].sound local swap = open_chests[pn].swap local node = minetest.get_node(pos) - + open_chests[pn] = nil for k, v in pairs(open_chests) do if v.pos.x == pos.x and v.pos.y == pos.y and v.pos.z == pos.z then @@ -71,13 +71,13 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) end minetest.after(0.2, function() minetest.swap_node(pos, { name = "default:" .. swap, param2 = node.param2 }) - + -- Pipeworks notification pipeworks.after_place(pos) end) minetest.sound_play(sound, {gain = 0.3, pos = pos, max_hear_distance = 10}) end - + -- Pipeworks Switch if pipeworks.may_configure(pos, player) and not fields.quit then fs_helpers.on_receive_fields(pos, fields) @@ -142,6 +142,7 @@ override_protected = { end return inv:room_for_item("main", stack) end, + input_inventory = "main", connect_sides = {left = 1, right = 1, back = 1, bottom = 1, top = 1} }, after_dig_node = pipeworks.after_dig @@ -191,9 +192,9 @@ override = { after_dig_node = pipeworks.after_dig } --[[local override_common = { - + } -for k,v in pairs(override_common) do +for k,v in pairs(override_common) do override_protected[k] = v override[k] = v end]] -- cgit v1.2.3