1
0
Fork 0

Merge pull request 'Bee Block Sounds' (#3085) from FossFanatic/MineClone2:bee_block_fixes into master

Reviewed-on: MineClone2/MineClone2#3085
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
This commit is contained in:
ancientmarinerdev 2022-12-11 02:55:22 +00:00
commit fbed60bd2d
2 changed files with 17 additions and 0 deletions

View File

@ -73,6 +73,7 @@ minetest.register_node("mcl_beehives:beehive", {
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 5, material_wood = 1, beehive = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6,
drop = "",
@ -90,6 +91,7 @@ for l = 1, 4 do
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 5, material_wood = 1, not_in_creative_inventory = 1, beehive = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6,
drop = "",
@ -107,6 +109,7 @@ minetest.register_node("mcl_beehives:beehive_5", {
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 5, material_wood = 1, not_in_creative_inventory = 1, beehive = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6,
on_rightclick = honey_harvest,
@ -125,6 +128,7 @@ minetest.register_node("mcl_beehives:bee_nest", {
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 30, bee_nest = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3,
drop = "",
@ -142,6 +146,7 @@ for i = 1, 4 do
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 30, not_in_creative_inventory = 1, bee_nest = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3,
drop = "",
@ -159,6 +164,7 @@ minetest.register_node("mcl_beehives:bee_nest_5", {
},
paramtype2 = "facedir",
groups = { axey = 1, deco_block = 1, flammable = 0, fire_flammability = 30, not_in_creative_inventory = 1, bee_nest = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3,
on_rightclick = honey_harvest,

View File

@ -22,6 +22,12 @@ minetest.register_node("mcl_honey:honeycomb_block", {
"mcl_honey_honeycomb_block.png"
},
groups = { handy = 1, deco_block = 1 },
sounds = {
dig = {name="slimenodes_dug", gain=0.6, pitch=1.2},
dug = {name="slimenodes_dug", gain=0.6},
place = {name="slimenodes_place", gain=0.6},
footstep = {name="slimenodes_step", gain=0.3},
},
_mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6,
})
@ -45,6 +51,11 @@ minetest.register_node("mcl_honey:honey_block", {
tiles = {"mcl_honey_block_side.png"},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
groups = { handy = 1, deco_block = 1, fall_damage_add_percent = -80 },
sounds = {
dug = {name="slimenodes_dug", gain=0.6},
place = {name="slimenodes_place", gain=0.6},
footstep = {name="slimenodes_step", gain=0.3},
},
paramtype = "light",
drawtype = "nodebox",
node_box = {