mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 08:20:21 +01:00
add wooden lattice lamps
This commit is contained in:
parent
8ecba4e7fc
commit
5f1d48c40d
@ -1193,7 +1193,7 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Lighting
|
------- Lighting
|
||||||
|
|
||||||
-- candles
|
-- candles
|
||||||
|
|
||||||
@ -1214,7 +1214,25 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- yellow
|
-- wood-lattice lamps
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "homedecor:lattice_lantern_large 2",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:black", "dye:yellow", "dye:black" },
|
||||||
|
{ "group:stick", "building_blocks:woodglass", "group:stick" },
|
||||||
|
{ "group:stick", "homedecor:power_crystal", "group:stick" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "homedecor:lattice_lantern_small 8",
|
||||||
|
recipe = {
|
||||||
|
{ "homedecor:lattice_lantern_large" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- yellow glowlights
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:glowlight_half_yellow 6",
|
output = "homedecor:glowlight_half_yellow 6",
|
||||||
|
@ -319,3 +319,40 @@ minetest.register_node('homedecor:oil_lamp', {
|
|||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('homedecor:lattice_lantern_large', {
|
||||||
|
description = S("Lattice lantern (large)"),
|
||||||
|
tiles = { 'homedecor_lattice_lantern_large.png' },
|
||||||
|
sunlight_propagates = false,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = true,
|
||||||
|
groups = { snappy = 3 },
|
||||||
|
light_source = LIGHT_MAX,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node('homedecor:lattice_lantern_small', {
|
||||||
|
description = S("Lattice lantern (small)"),
|
||||||
|
drawtype = "nodebox",
|
||||||
|
tiles = {
|
||||||
|
'homedecor_lattice_lantern_small_tb.png',
|
||||||
|
'homedecor_lattice_lantern_small_tb.png',
|
||||||
|
'homedecor_lattice_lantern_small_sides.png'
|
||||||
|
},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
|
||||||
|
},
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.25, -0.5, -0.25, 0.25, 0, 0.25 }
|
||||||
|
},
|
||||||
|
sunlight_propagates = false,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
walkable = true,
|
||||||
|
groups = { snappy = 3 },
|
||||||
|
light_source = LIGHT_MAX-1,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
on_place = minetest.rotate_node
|
||||||
|
})
|
||||||
|
|
||||||
|
BIN
homedecor/textures/homedecor_lattice_lantern_large.png
Normal file
BIN
homedecor/textures/homedecor_lattice_lantern_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 735 B |
BIN
homedecor/textures/homedecor_lattice_lantern_small_sides.png
Normal file
BIN
homedecor/textures/homedecor_lattice_lantern_small_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 435 B |
BIN
homedecor/textures/homedecor_lattice_lantern_small_tb.png
Normal file
BIN
homedecor/textures/homedecor_lattice_lantern_small_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 438 B |
Loading…
Reference in New Issue
Block a user