diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index 60374dd3..4af44de0 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -2602,3 +2602,12 @@ minetest.register_craft({ }, }) +minetest.register_craft({ + output = "homedecor:dartboard", + recipe = { + {"dye:black", "homedecor:plastic_sheeting", "dye:white"}, + {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"dye:dark_green", "homedecor:plastic_sheeting", "dye:red"} + }, +}) + diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 38314bad..36085bfd 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -1279,3 +1279,21 @@ minetest.register_node("homedecor:coffee_maker", { } }) +minetest.register_node("homedecor:dartboard", { + description = "Dartboard", + drawtype = "signlike", + tiles = {"homedecor_dartboard.png"}, + inventory_image = "homedecor_dartboard.png", + wield_image = "homedecor_dartboard.png", + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + selection_box = { + type = "wallmounted", + }, + groups = {choppy=2,dig_immediate=2,attached_node=1}, + legacy_wallmounted = true, + sounds = default.node_sound_defaults(), +}) + diff --git a/homedecor/textures/homedecor_dartboard.png b/homedecor/textures/homedecor_dartboard.png new file mode 100644 index 00000000..ba5117bb Binary files /dev/null and b/homedecor/textures/homedecor_dartboard.png differ