Non flammable/modify by similiraty with trees

This commit is contained in:
3raven 2022-04-20 00:29:44 +00:00
parent 1d331313d7
commit 4850b914a4
1 changed files with 28 additions and 14 deletions

View File

@ -160,6 +160,8 @@ minetest.register_node("mcl_mushroom:shroomlight", {
minetest.register_node("mcl_mushroom:warped_hyphae", { minetest.register_node("mcl_mushroom:warped_hyphae", {
description = S("Warped Hyphae"), description = S("Warped Hyphae"),
_doc_items_longdesc = S("The stem of a warped hyphae"),
_doc_items_hidden = false,
tiles = { tiles = {
"warped_hyphae.png", "warped_hyphae.png",
"warped_hyphae.png", "warped_hyphae.png",
@ -168,10 +170,15 @@ minetest.register_node("mcl_mushroom:warped_hyphae", {
"warped_hyphae_side.png", "warped_hyphae_side.png",
"warped_hyphae_side.png", "warped_hyphae_side.png",
}, },
groups = {handy=5,axey=1, bark=1, building_block=1, material_wood=1,},
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
groups = {handy=1,axey=1, tree=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate,
_mcl_blast_resistance = 2,
stack_max = 64, stack_max = 64,
_mcl_hardness = 2, _mcl_hardness = 2,
_mcl_stripped_variant = stripped_variant,
}) })
minetest.register_node("mcl_mushroom:warped_nylium", { minetest.register_node("mcl_mushroom:warped_nylium", {
@ -222,7 +229,7 @@ minetest.register_node("mcl_mushroom:warped_hyphae_bark", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1,axey=1, bark=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,
@ -247,7 +254,7 @@ minetest.register_node("mcl_mushroom:stripped_warped_hyphae", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1, axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1, axey=1, tree=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2, _mcl_blast_resistance = 2,
@ -261,7 +268,7 @@ minetest.register_node("mcl_mushroom:stripped_warped_hyphae_bark", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1, axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1, axey=1, bark=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,
@ -282,7 +289,7 @@ minetest.register_craft({
minetest.register_node("mcl_mushroom:warped_hyphae_wood", { minetest.register_node("mcl_mushroom:warped_hyphae_wood", {
description = S("Warped Hyphae Wood"), description = S("Warped Hyphae Wood"),
tiles = {"warped_hyphae_wood.png"}, tiles = {"warped_hyphae_wood.png"},
groups = {handy=5,axey=1, flammable=3,wood=1,building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20}, groups = {handy=5,axey=1, wood=1,building_block=1, material_wood=1},
--paramtype2 = "facedir", --paramtype2 = "facedir",
stack_max = 64, stack_max = 64,
_mcl_hardness = 2, _mcl_hardness = 2,
@ -417,6 +424,8 @@ minetest.register_node("mcl_mushroom:crimson_roots", {
minetest.register_node("mcl_mushroom:crimson_hyphae", { minetest.register_node("mcl_mushroom:crimson_hyphae", {
description = S("Crimson Hyphae"), description = S("Crimson Hyphae"),
_doc_items_longdesc = S("The stem of a crimson hyphae"),
_doc_items_hidden = false,
tiles = { tiles = {
"crimson_hyphae.png", "crimson_hyphae.png",
"crimson_hyphae.png", "crimson_hyphae.png",
@ -425,10 +434,15 @@ minetest.register_node("mcl_mushroom:crimson_hyphae", {
"crimson_hyphae_side.png", "crimson_hyphae_side.png",
"crimson_hyphae_side.png", "crimson_hyphae_side.png",
}, },
groups = {handy=5,axey=1, bark=1, building_block=1, material_wood=1,},
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
groups = {handy=1,axey=1, tree=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate,
_mcl_blast_resistance = 2,
stack_max = 64, stack_max = 64,
_mcl_hardness = 2, _mcl_hardness = 2,
_mcl_stripped_variant = stripped_variant,
}) })
--Stem bark, stripped stem and bark --Stem bark, stripped stem and bark
@ -440,7 +454,7 @@ minetest.register_node("mcl_mushroom:crimson_hyphae_bark", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1,axey=1, bark=1, building_block=1, material_wood=1,},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,
@ -465,7 +479,7 @@ minetest.register_node("mcl_mushroom:stripped_crimson_hyphae", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1, axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1, axey=1, tree=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2, _mcl_blast_resistance = 2,
@ -479,7 +493,7 @@ minetest.register_node("mcl_mushroom:stripped_crimson_hyphae_bark", {
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
stack_max = 64, stack_max = 64,
groups = {handy=1, axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5}, groups = {handy=1, axey=1, bark=1, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,