1
0
Fork 0

Make redstone be dug by water

This commit is contained in:
Wuzzy 2017-01-17 17:36:49 +01:00
parent dd5c8ddd23
commit 3c8f5e92a5
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ minetest.register_node("mesecons:mesecon_off", {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
}, },
groups = {dig_immediate=3, mesecon=1, mesecon_conductor_craftable=1}, groups = {dig_immediate=3, mesecon=1, dig_by_water=1, mesecon_conductor_craftable=1},
description="Redstone", description="Redstone",
mesecons = {conductor={ mesecons = {conductor={
state = mesecon.state.off, state = mesecon.state.off,
@ -28,7 +28,7 @@ minetest.register_node("mesecons:mesecon_on", {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
}, },
groups = {dig_immediate=3, not_in_creaive_inventory=1, mesecon=1}, groups = {dig_immediate=3, dig_by_water = 1, not_in_creaive_inventory=1, mesecon=1},
drop = '"mesecons:mesecon_off" 1', drop = '"mesecons:mesecon_off" 1',
light_source = LIGHT_MAX-11, light_source = LIGHT_MAX-11,
mesecons = {conductor={ mesecons = {conductor={

View File

@ -34,10 +34,10 @@ for zmy=0, 1 do
tostring(xpy)..tostring(zpy)..tostring(xmy)..tostring(zmy) tostring(xpy)..tostring(zpy)..tostring(xmy)..tostring(zmy)
if nodeid == "00000000" then if nodeid == "00000000" then
groups = {dig_immediate = 3, mesecon_conductor_craftable = 1, attach_node = 1} groups = {dig_immediate = 3, mesecon_conductor_craftable = 1, attach_node = 1, dig_by_water = 1}
wiredesc = "Redstone" wiredesc = "Redstone"
else else
groups = {dig_immediate = 3, not_in_creative_inventory = 1, attach_node = 1} groups = {dig_immediate = 3, not_in_creative_inventory = 1, attach_node = 1, dig_by_water = 1}
wiredesc = "Redstone Trail (ID: "..nodeid..")" wiredesc = "Redstone Trail (ID: "..nodeid..")"
end end
@ -145,7 +145,7 @@ for zmy=0, 1 do
type = "fixed", type = "fixed",
fixed = nodebox fixed = nodebox
}, },
groups = {dig_immediate = 3, mesecon = 2, not_in_creative_inventory = 1}, groups = {dig_immediate = 3, mesecon = 2, dig_by_water = 1, not_in_creative_inventory = 1},
walkable = false, walkable = false,
stack_max = 64, stack_max = 64,
drop = "mesecons:wire_00000000_off", drop = "mesecons:wire_00000000_off",