Noch mehr mods
This commit is contained in:
parent
a063db5d3b
commit
cf017b2ca1
527 changed files with 21113 additions and 181 deletions
47
mods/mtg_plus/compat_xdecor.lua
Normal file
47
mods/mtg_plus/compat_xdecor.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
if minetest.get_modpath("xdecor") then
|
||||
minetest.register_craft({
|
||||
output = "xpanes:papyrus 2",
|
||||
recipe = {
|
||||
{ "", "farming:string", "" },
|
||||
{ "farming:string", "xpanes:bamboo_frame", "farming:string" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xpanes:bamboo_frame",
|
||||
recipe = { { "xpanes:papyrus", "xpanes:papyrus", }, }
|
||||
})
|
||||
|
||||
-- xdecor compability
|
||||
minetest.register_craft({
|
||||
output = "xdecor:packed_ice 2",
|
||||
recipe = { { "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" },
|
||||
{ "mtg_plus:ice_block", "", "mtg_plus:ice_block" },
|
||||
{ "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" }, },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_tile16",
|
||||
recipe = { { "xdecor:packed_ice", "xdecor:packed_ice" },
|
||||
{ "xdecor:packed_ice", "xdecor:packed_ice" }, },
|
||||
})
|
||||
|
||||
-- Alternate ice brick crafting recipe for xdecor compability
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "", "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice", "" } },
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "default:ice", "default:ice", "" },
|
||||
{ "", "default:ice", "default:ice" } },
|
||||
})
|
||||
else
|
||||
-- Normal ice brick crafting recipe
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice" } },
|
||||
})
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue