diff --git a/trunks/nodes.lua b/trunks/nodes.lua index e1460c9..c9aa1e5 100644 --- a/trunks/nodes.lua +++ b/trunks/nodes.lua @@ -16,4 +16,25 @@ minetest.register_node("trunks:twig", { attached_node=1 }, sounds = default.node_sound_leaves_defaults(), -}) \ No newline at end of file +}) + +minetest.register_node("trunks:moss", { + description = "moss", + drawtype = "signlike", + tiles = {"trunks_moss.png"}, + inventory_image = "trunks_moss.png", + wield_image = "trunks_moss.png", + paramtype = "light", + paramtype2 = "wallmounted", + walkable = false, + --climbable = true, + selection_box = { + type = "wallmounted", + --wall_top = = + --wall_bottom = = + --wall_side = = + }, + groups = {choppy=2,oddly_breakable_by_hand=3,flammable=2}, + legacy_wallmounted = true, + sounds = default.node_sound_leaves_defaults(), +}) diff --git a/trunks/textures/trunks_moss.png b/trunks/textures/trunks_moss.png new file mode 100644 index 0000000..6ce1b62 Binary files /dev/null and b/trunks/textures/trunks_moss.png differ