forked from nalc/homedecor_modpack
Add wall lantern
This commit is contained in:
parent
5a8113d177
commit
015728049b
|
@ -350,6 +350,26 @@ minetest.register_node('homedecor:oil_lamp', {
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('homedecor:wall_lantern', {
|
||||||
|
description = S("Wall lantern"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = { 'homedecor_wall_lantern.png' },
|
||||||
|
inventory_image = 'homedecor_wall_lantern.png',
|
||||||
|
sunlight_propagates = true,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
walkable = true,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.3, -0.5, -0.3, 0.3, 0.5, 0.3 },
|
||||||
|
}
|
||||||
|
},
|
||||||
|
groups = { snappy = 3 },
|
||||||
|
light_source = LIGHT_MAX-4,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:lattice_lantern_large', {
|
minetest.register_node('homedecor:lattice_lantern_large', {
|
||||||
description = S("Lattice lantern (large)"),
|
description = S("Lattice lantern (large)"),
|
||||||
tiles = { 'homedecor_lattice_lantern_large.png' },
|
tiles = { 'homedecor_lattice_lantern_large.png' },
|
||||||
|
|
BIN
homedecor/textures/homedecor_wall_lantern.png
Normal file
BIN
homedecor/textures/homedecor_wall_lantern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 875 B |
Loading…
Reference in New Issue
Block a user