Added a dartboard

For a clean & simple circle, I prefered make it as 2D 'signlike'.
This commit is contained in:
kilbith 2014-08-26 08:20:18 -04:00 committed by Vanessa Ezekowitz
parent ea6de9ba1f
commit 09b69280bd
3 changed files with 27 additions and 0 deletions

View File

@ -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"}
},
})

View File

@ -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(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB