mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-06-30 23:20:44 +02:00
Handle wood_tile replacement more carefully.
- An LBM is added to handle replacements of wood_tiles on the map while preserving there rotation about the +y (vertical) axis. This will preserve existing floor patterns. Unfortunately, due to the preexisting side tile orientations, preserving wall patterns is not possible while also reducing the wood_tiles down to just one node. - Deprecate the no longer used wood_tiles (wood_tile_right, wood_tile_left, wood_tile_down, and wood_tile_flipped), and add recipes to convert them. - Rename wood_tile_up to wood_tile_offset. Closes #101
This commit is contained in:
26
crafting.lua
26
crafting.lua
@ -44,6 +44,12 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile",
|
||||
recipe = {"moreblocks:wood_tile_flipped"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_center 9",
|
||||
recipe = {
|
||||
@ -62,13 +68,31 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:wood_tile_up",
|
||||
output = "moreblocks:wood_tile_offset",
|
||||
recipe = {
|
||||
{"default:stick"},
|
||||
{"moreblocks:wood_tile_center"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile_offset",
|
||||
recipe = {"moreblocks:wood_tile_down"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile_offset",
|
||||
recipe = {"moreblocks:wood_tile_left"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:wood_tile_offset",
|
||||
recipe = {"moreblocks:wood_tile_right"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:circle_stone_bricks 8",
|
||||
recipe = {
|
||||
|
Reference in New Issue
Block a user