Apply hardness to some redstone elements

This commit is contained in:
Wuzzy 2017-02-27 01:52:24 +01:00
parent 0cb1a39c33
commit bd8c71be7c
6 changed files with 23 additions and 13 deletions

View file

@ -1,7 +1,7 @@
minetest.register_node("mesecons_lightstone:lightstone_off", {
tiles = {"jeija_lightstone_gray_off.png"},
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2},
groups = {handy=1, mesecon_effector_off = 1, mesecon = 2},
is_ground_content = false,
description= "Redstone Lamp",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -11,12 +11,13 @@ minetest.register_node("mesecons_lightstone:lightstone_off", {
end
}},
_mcl_blast_resistance = 1.5,
_mcl_hardness = 0.3,
})
minetest.register_node("mesecons_lightstone:lightstone_on", {
tiles = {"jeija_lightstone_gray_on.png"},
inventory_image = minetest.inventorycube("jeija_lightstone_gray_off.png"),
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
groups = {handy=1, not_in_creative_inventory=1, mesecon = 2},
drop = "node mesecons_lightstone:lightstone_off",
is_ground_content = false,
-- Real light level: 15 (Minetest caps at 14)
@ -28,6 +29,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
end
}},
_mcl_blast_resistance = 1.5,
_mcl_hardness = 0.3,
})
minetest.register_craft({