2018-11-23 00:08:40 +01:00
|
|
|
minetest.register_node("morelights_modern:block", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Light Block",
|
|
|
|
tiles = {"morelights_metal_dark.png^morelights_modern_block.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = LIGHT_MAX,
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("morelights_modern:smallblock", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Light Block (small)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
|
|
|
},
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
2020-09-15 06:36:35 +02:00
|
|
|
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
2020-09-19 00:48:22 +02:00
|
|
|
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
|
|
|
"[combine:16x16:0,0=morelights_metal_dark.png" ..
|
|
|
|
":0,4=morelights_modern_smallblock.png"
|
|
|
|
},
|
2020-09-15 06:36:35 +02:00
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
light_source = 12,
|
|
|
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
|
2020-09-15 06:36:35 +02:00
|
|
|
on_place = function(itemstack, placer, pointed_thing)
|
|
|
|
return morelights.rotate_and_place(itemstack, placer, pointed_thing)
|
|
|
|
end,
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
morelights.register_variants({
|
2020-09-19 00:48:22 +02:00
|
|
|
{
|
|
|
|
name = "morelights_modern:post_d",
|
|
|
|
description = "Modern Post Light (dark)",
|
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark.png",
|
|
|
|
"morelights_metal_dark.png",
|
|
|
|
"morelights_metal_dark.png^morelights_modern_post.png"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "morelights_modern:post_l",
|
|
|
|
description = "Modern Post Light (light)",
|
|
|
|
tiles = {
|
|
|
|
"morelights_metal_light.png",
|
|
|
|
"morelights_metal_light.png",
|
|
|
|
"morelights_metal_light.png^morelights_modern_post.png"
|
|
|
|
}
|
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 06:36:35 +02:00
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {{-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}}
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = LIGHT_MAX,
|
|
|
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_metal_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
morelights.register_variants({
|
2020-09-19 00:48:22 +02:00
|
|
|
{
|
|
|
|
name = "morelights_modern:streetpost_d",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Street Lamp Post (dark)--connects to bar lights",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {"morelights_metal_dark.png"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "morelights_modern:streetpost_l",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Street Lamp Post (light)--connects to bar lights",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {"morelights_metal_light.png"}
|
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 06:36:35 +02:00
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "connected",
|
|
|
|
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16},
|
|
|
|
connect_front = {-1/16, 3/8, -1/2, 1/16, 7/16, -1/16},
|
|
|
|
connect_left = {-1/2, 3/8, -1/16, -1/16, 7/16, 1/16},
|
|
|
|
connect_back = {-1/16, 3/8, 1/16, 1/16, 7/16, 1/2},
|
|
|
|
connect_right = {1/16, 3/8, -1/16, 1/2, 7/16, 1/16},
|
|
|
|
},
|
2020-09-19 00:48:22 +02:00
|
|
|
connects_to = {
|
|
|
|
"morelights_modern:barlight_c",
|
|
|
|
"morelights_modern:barlight_s"
|
|
|
|
},
|
2020-09-15 06:36:35 +02:00
|
|
|
paramtype = "light",
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_metal_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("morelights_modern:barlight_c", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Ceiling Bar Light (connecting)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "connected",
|
|
|
|
fixed = {-1/8, 3/8, -1/8, 1/8, 1/2, 1/8},
|
|
|
|
connect_front = {-1/8, 3/8, -1/2, 1/8, 1/2, -1/8},
|
|
|
|
connect_left = {-1/2, 3/8, -1/8, -1/8, 1/2, 1/8},
|
|
|
|
connect_back = {-1/8, 3/8, 1/8, 1/8, 1/2, 1/2},
|
|
|
|
connect_right = {1/8, 3/8, -1/8, 1/2, 1/2, 1/8},
|
|
|
|
},
|
2020-09-19 00:48:22 +02:00
|
|
|
connects_to = {
|
|
|
|
"morelights_modern:barlight_c",
|
|
|
|
"morelights_modern:barlight_s",
|
|
|
|
"morelights_modern:streetpost_d",
|
|
|
|
"morelights_modern:streetpost_l"
|
|
|
|
},
|
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark.png",
|
|
|
|
"morelights_modern_barlight.png",
|
|
|
|
"morelights_metal_dark.png"
|
|
|
|
},
|
2020-09-15 06:36:35 +02:00
|
|
|
paramtype = "light",
|
|
|
|
light_source = LIGHT_MAX,
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("morelights_modern:barlight_s", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Ceiling Bar Light (straight)",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/2, 3/8, -1/8, 1/2, 1/2, 1/8},
|
|
|
|
},
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark.png",
|
|
|
|
"morelights_modern_barlight.png",
|
|
|
|
"morelights_metal_dark.png"
|
|
|
|
},
|
2020-09-15 06:36:35 +02:00
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
light_source = LIGHT_MAX,
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("morelights_modern:ceilinglight", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Ceiling Light",
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/4, 3/8, -1/4, 1/4, 1/2, 1/4}
|
|
|
|
},
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark.png",
|
|
|
|
"morelights_metal_dark.png^morelights_modern_block.png"
|
|
|
|
},
|
2020-09-15 06:36:35 +02:00
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
light_source = LIGHT_MAX,
|
|
|
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
|
2020-09-15 06:36:35 +02:00
|
|
|
on_place = function(itemstack, placer, pointed_thing)
|
|
|
|
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
|
|
|
{[0] = 0, 20, 12, 16, 4, 8})
|
|
|
|
end,
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
morelights.register_variants({
|
2020-09-19 00:48:22 +02:00
|
|
|
{
|
|
|
|
name = "morelights_modern:canlight_d",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Can Light (dark)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {"morelights_metal_dark.png^morelights_modern_canlight.png"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "morelights_modern:canlight_l",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Can Light (light)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {"morelights_metal_light.png^morelights_modern_canlight.png"}
|
|
|
|
},
|
2018-11-23 00:08:40 +01:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 06:36:35 +02:00
|
|
|
drawtype = "mesh",
|
|
|
|
mesh = "morelights_modern_canlight.obj",
|
|
|
|
collision_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 12,
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_metal_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("morelights_modern:walllamp", {
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Wall Lamp",
|
|
|
|
drawtype = "mesh",
|
|
|
|
mesh = "morelights_modern_walllamp.obj",
|
|
|
|
collision_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
|
|
|
},
|
|
|
|
tiles = {"morelights_metal_dark_32.png^morelights_modern_walllamp.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
light_source = 12,
|
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
|
2020-09-15 06:36:35 +02:00
|
|
|
on_place = function(itemstack, placer, pointed_thing)
|
|
|
|
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
|
|
|
{[0] = 6, 4, 1, 3, 0, 2})
|
|
|
|
end,
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
morelights.register_variants({
|
2020-09-19 00:48:22 +02:00
|
|
|
{
|
|
|
|
name = "morelights_modern:tablelamp_d",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Table Lamp (dark)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_light_32.png^morelights_modern_tablelamp_o.png",
|
|
|
|
"morelights_modern_tablelamp_d.png"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "morelights_modern:tablelamp_l",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Table Lamp (light)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark_32.png^morelights_modern_tablelamp_o.png",
|
|
|
|
"morelights_modern_tablelamp_l.png"
|
|
|
|
}
|
|
|
|
},
|
2018-11-23 00:08:40 +01:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 06:36:35 +02:00
|
|
|
drawtype = "mesh",
|
|
|
|
mesh = "morelights_modern_tablelamp.obj",
|
|
|
|
collision_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 10,
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
morelights.register_variants({
|
2020-09-19 00:48:22 +02:00
|
|
|
{
|
|
|
|
name = "morelights_modern:pathlight_d",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Path Light (dark)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_dark_32.png^morelights_modern_pathlight.png"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "morelights_modern:pathlight_l",
|
2020-09-15 06:36:35 +02:00
|
|
|
description = "Modern Path Light (light)",
|
2020-09-19 00:48:22 +02:00
|
|
|
tiles = {
|
|
|
|
"morelights_metal_light_32.png^morelights_modern_pathlight.png"
|
|
|
|
}
|
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
},
|
|
|
|
{
|
2020-09-15 06:36:35 +02:00
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {{-1/32, -8/16, -1/32, 1/32, 1/8, 1/32},
|
|
|
|
{-1/16, 1/8, -1/16, 1/16, 5/16, 1/16},
|
|
|
|
{-1/8, 5/16, -1/8, 1/8, 3/8, 1/8}}
|
|
|
|
},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {{-1/8, -1/2, -1/8, 1/8, 3/8, 1/8}}
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 8,
|
|
|
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
|
|
|
sounds = default.node_sound_metal_defaults(),
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Craft recipes
|
|
|
|
--
|
|
|
|
|
2020-09-19 00:16:40 +02:00
|
|
|
local a = morelights.craft_items
|
|
|
|
|
2018-11-23 00:08:40 +01:00
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:block",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{"", a.steel, ""},
|
|
|
|
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:smallblock",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{"", a.glass_pane, ""},
|
|
|
|
{a.steel, "morelights:bulb", a.steel}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:post_d",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_dark, a.steel, ""},
|
2020-09-15 06:36:35 +02:00
|
|
|
{"", "morelights:bulb", ""},
|
2020-09-19 00:16:40 +02:00
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:post_l",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_light, a.steel, ""},
|
2020-09-15 06:36:35 +02:00
|
|
|
{"", "morelights:bulb", ""},
|
2020-09-19 00:16:40 +02:00
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:streetpost_d 2",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_dark, a.steel, a.steel},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:streetpost_l 2",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_light, a.steel, a.steel},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:barlight_c 4",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.steel, a.steel, a.steel},
|
|
|
|
{a.copper, a.glass, a.copper}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:barlight_c",
|
|
|
|
type = "shapeless",
|
|
|
|
recipe = {"morelights_modern:barlight_s"}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:barlight_s",
|
|
|
|
type = "shapeless",
|
|
|
|
recipe = {"morelights_modern:barlight_c"}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:ceilinglight",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.steel, "morelights:bulb", a.steel},
|
|
|
|
{"", a.glass_pane, ""},
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:canlight_d",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_dark, a.steel, ""},
|
|
|
|
{a.steel, "morelights:bulb", a.steel},
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:canlight_l",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_light, a.steel, ""},
|
|
|
|
{a.steel, "morelights:bulb", a.steel},
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:walllamp",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_light, a.glass_pane, ""},
|
|
|
|
{a.glass_pane, "morelights:bulb", a.steel},
|
|
|
|
{"", a.dye_dark, a.steel}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:tablelamp_d",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.wool_dark, "morelights:bulb", a.wool_dark},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:tablelamp_l",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.wool_light, "morelights:bulb", a.wool_light},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:pathlight_d",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_dark, "morelights:bulb", ""},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2020-09-15 06:36:35 +02:00
|
|
|
output = "morelights_modern:pathlight_l",
|
|
|
|
recipe = {
|
2020-09-19 00:16:40 +02:00
|
|
|
{a.dye_light, "morelights:bulb", ""},
|
|
|
|
{"", a.steel, ""},
|
|
|
|
{"", a.steel, ""}
|
2020-09-15 06:36:35 +02:00
|
|
|
}
|
2018-11-23 00:08:40 +01:00
|
|
|
})
|