Make redstone be dug by water
parent
dd5c8ddd23
commit
3c8f5e92a5
|
@ -10,7 +10,7 @@ minetest.register_node("mesecons:mesecon_off", {
|
|||
type = "fixed",
|
||||
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",
|
||||
mesecons = {conductor={
|
||||
state = mesecon.state.off,
|
||||
|
@ -28,7 +28,7 @@ minetest.register_node("mesecons:mesecon_on", {
|
|||
type = "fixed",
|
||||
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',
|
||||
light_source = LIGHT_MAX-11,
|
||||
mesecons = {conductor={
|
||||
|
|
|
@ -34,10 +34,10 @@ for zmy=0, 1 do
|
|||
tostring(xpy)..tostring(zpy)..tostring(xmy)..tostring(zmy)
|
||||
|
||||
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"
|
||||
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..")"
|
||||
end
|
||||
|
||||
|
@ -145,7 +145,7 @@ for zmy=0, 1 do
|
|||
type = "fixed",
|
||||
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,
|
||||
stack_max = 64,
|
||||
drop = "mesecons:wire_00000000_off",
|
||||
|
|
Loading…
Reference in New Issue