forked from nalc/homedecor_modpack
Added a dartboard
For a clean & simple circle, I prefered make it as 2D 'signlike'.
This commit is contained in:
parent
ea6de9ba1f
commit
09b69280bd
@ -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"}
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -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(),
|
||||
})
|
||||
|
||||
|
BIN
homedecor/textures/homedecor_dartboard.png
Normal file
BIN
homedecor/textures/homedecor_dartboard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user