Make redstone repeaters attached nodes

This commit is contained in:
Wuzzy 2017-03-11 23:36:38 +01:00
parent 8b99e3e8a9
commit e0856fbdfc

View file

@ -46,9 +46,9 @@ end
for i = 1, 4 do for i = 1, 4 do
local groups = {} local groups = {}
if i == 1 then if i == 1 then
groups = {dig_immediate=3,dig_by_water=1} groups = {dig_immediate=3,dig_by_water=1,attached_node=1}
else else
groups = {dig_immediate=3,dig_by_water=1, not_in_creative_inventory=1} groups = {dig_immediate=3,dig_by_water=1,attached_node=1, not_in_creative_inventory=1}
end end
local delaytime local delaytime
@ -172,7 +172,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
type = "fixed", type = "fixed",
fixed = boxes fixed = boxes
}, },
groups = {dig_immediate = 3, dig_by_water=1, not_in_creative_inventory = 1}, groups = {dig_immediate = 3, dig_by_water=1, attached_node=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
sunlight_propagates = true, sunlight_propagates = true,