forked from nalc/homedecor_modpack
Added additional autoplace code for wall lights to turn them into ceiling
lights where appropriate. Added a number of alternate crafting recipes to split thick wall lights into thin regular ones or into cubes, and to recycle excess cubes.
This commit is contained in:
50
crafts.lua
50
crafts.lua
@ -1177,6 +1177,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_thin_yellow 6",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_yellow_wall", "homedecor:glowlight_thick_yellow_wall", "homedecor:glowlight_thick_yellow_wall" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_yellow 16",
|
||||
recipe = {
|
||||
@ -1185,6 +1192,20 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_yellow 4",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_yellow" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_yellow 4",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_yellow_wall" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_thick_yellow",
|
||||
recipe = {
|
||||
@ -1193,6 +1214,14 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_thick_yellow",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_small_cube_yellow_ceiling","homedecor:glowlight_small_cube_yellow_ceiling"},
|
||||
{"homedecor:glowlight_small_cube_yellow_ceiling","homedecor:glowlight_small_cube_yellow_ceiling"}
|
||||
}
|
||||
})
|
||||
|
||||
-- white
|
||||
|
||||
minetest.register_craft({
|
||||
@ -1220,6 +1249,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_thin_white 6",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_white_wall", "homedecor:glowlight_thick_white_wall", "homedecor:glowlight_thick_white_wall" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_white 8",
|
||||
recipe = {
|
||||
@ -1228,6 +1264,20 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_white 4",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_white" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_small_cube_white 4",
|
||||
recipe = {
|
||||
{"homedecor:glowlight_thick_white_wall" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:glowlight_thick_white",
|
||||
recipe = {
|
||||
|
Reference in New Issue
Block a user