Add translator credits
[minetest_mtg_plus.git] / compat_xdecor.lua
blob1aae36bbff7609b27af30dc70ab3e2e07dd97d05
1 if minetest.get_modpath("xdecor") then
2 minetest.register_craft({
3 output = "xpanes:papyrus 2",
4 recipe = {
5 { "", "farming:string", "" },
6 { "farming:string", "xpanes:bamboo_frame", "farming:string" },
8 })
10 minetest.register_craft({
11 output = "xpanes:bamboo_frame",
12 recipe = { { "xpanes:papyrus", "xpanes:papyrus", }, }
15 -- xdecor compability
16 minetest.register_craft({
17 output = "xdecor:packed_ice 2",
18 recipe = { { "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" },
19 { "mtg_plus:ice_block", "", "mtg_plus:ice_block" },
20 { "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" }, },
23 minetest.register_craft({
24 output = "mtg_plus:ice_tile16",
25 recipe = { { "xdecor:packed_ice", "xdecor:packed_ice" },
26 { "xdecor:packed_ice", "xdecor:packed_ice" }, },
29 -- Alternate ice brick crafting recipe for xdecor compability
30 minetest.register_craft({
31 output = "mtg_plus:ice_brick 4",
32 recipe = { { "", "default:ice", "default:ice" },
33 { "default:ice", "default:ice", "" } },
35 minetest.register_craft({
36 output = "mtg_plus:ice_brick 4",
37 recipe = { { "default:ice", "default:ice", "" },
38 { "", "default:ice", "default:ice" } },
40 else
41 -- Normal ice brick crafting recipe
42 minetest.register_craft({
43 output = "mtg_plus:ice_brick 4",
44 recipe = { { "default:ice", "default:ice" },
45 { "default:ice", "default:ice" } },
47 end