mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Prismarine, sealantern, sponge, sign: Hardness set
This commit is contained in:
parent
ed1c5b78a2
commit
0cb1a39c33
3 changed files with 17 additions and 7 deletions
|
@ -15,9 +15,10 @@ minetest.register_node("mcl_ocean:sea_lantern", {
|
|||
}
|
||||
},
|
||||
tiles = {{name="mcl_ocean_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}},
|
||||
groups = {oddly_breakable_by_hand=3, building_block=1},
|
||||
groups = {handy=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
_mcl_blast_resistance = 1.5,
|
||||
_mcl_hardness = 0.3,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine", {
|
||||
|
@ -25,9 +26,10 @@ minetest.register_node("mcl_ocean:prismarine", {
|
|||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
|
||||
groups = {cracky=3, building_block=1},
|
||||
groups = {pickaxey=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine_brick", {
|
||||
|
@ -35,9 +37,10 @@ minetest.register_node("mcl_ocean:prismarine_brick", {
|
|||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"mcl_ocean_prismarine_bricks.png"},
|
||||
groups = {cracky=2, building_block=1},
|
||||
groups = {pickaxey=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_ocean:prismarine_dark", {
|
||||
|
@ -45,9 +48,10 @@ minetest.register_node("mcl_ocean:prismarine_dark", {
|
|||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
tiles = {"mcl_ocean_prismarine_dark.png"},
|
||||
groups = {cracky=2, building_block=1},
|
||||
groups = {pickaxey=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 30,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
|
||||
-- Craftitems
|
||||
|
|
|
@ -10,7 +10,7 @@ minetest.register_node("mcl_sponges:sponge", {
|
|||
buildable_to = false,
|
||||
stack_max = 64,
|
||||
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,building_block=1},
|
||||
groups = {handy=1, building_block=1},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local pn = placer:get_player_name()
|
||||
if pointed_thing.type ~= "node" then
|
||||
|
@ -78,6 +78,7 @@ minetest.register_node("mcl_sponges:sponge", {
|
|||
|
||||
end,
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 0.6,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_sponges:sponge_wet", {
|
||||
|
@ -92,8 +93,9 @@ minetest.register_node("mcl_sponges:sponge_wet", {
|
|||
buildable_to = false,
|
||||
stack_max = 64,
|
||||
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,building_block=1},
|
||||
groups = {handy=1, building_block=1},
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 0.6,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -137,7 +137,7 @@ local signs_yard = {
|
|||
{delta = {x = 0.05, y = 0, z = 0}, yaw = math.pi / 2},
|
||||
}
|
||||
|
||||
local sign_groups = {choppy=2, flammable=1, deco_block=1}
|
||||
local sign_groups = {handy=1,axey=1, flammable=1, deco_block=1}
|
||||
|
||||
local construct_sign = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
@ -265,6 +265,8 @@ minetest.register_node("signs:sign_wall", {
|
|||
on_punch = function(pos, node, puncher)
|
||||
update_sign(pos)
|
||||
end,
|
||||
_mcl_hardness = 1,
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
minetest.register_node("signs:sign_yard", {
|
||||
|
@ -297,6 +299,8 @@ minetest.register_node("signs:sign_yard", {
|
|||
on_punch = function(pos, node, puncher)
|
||||
update_sign(pos)
|
||||
end,
|
||||
_mcl_hardness = 1,
|
||||
_mcl_blast_resistance = 5,
|
||||
})
|
||||
|
||||
minetest.register_entity("signs:text", {
|
||||
|
|
Loading…
Reference in a new issue