Fix Centered Wooden Tile crafting

This closes #145.
This commit is contained in:
Hugo Locurcio 2019-05-22 09:39:06 +02:00
parent 72a6ee6032
commit f421c67372
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 15 additions and 9 deletions

View File

@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
for their smaller visual size. for their smaller visual size.
- The minimum supported Minetest version is now 5.0.0. - The minimum supported Minetest version is now 5.0.0.
### Fixed
- Fixed a recipe conflict that made Centered Wooden Tiles impossible to craft.
## [1.3.0] - 2019-03-23 ## [1.3.0] - 2019-03-23
### Changed ### Changed

View File

@ -35,15 +35,6 @@ minetest.register_craft({
recipe = {"default:junglegrass", "default:cobble"}, recipe = {"default:junglegrass", "default:cobble"},
}) })
minetest.register_craft({
output = "moreblocks:wood_tile_center 9",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "moreblocks:wood_tile", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
}
})
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile 9", output = "moreblocks:wood_tile 9",
recipe = { recipe = {
@ -53,6 +44,17 @@ minetest.register_craft({
} }
}) })
-- This must be registered after `moreblocks:wood_tile` to avoid recipe conflicts,
-- since `moreblocks:wood_tile` is part of `group:wood`
minetest.register_craft({
output = "moreblocks:wood_tile_center 9",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "moreblocks:wood_tile", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
}
})
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "moreblocks:wood_tile", output = "moreblocks:wood_tile",