Merge pull request 'Add Missing Crafting Recipes to Warped and Crimson Doors' (#2908) from warped_crimson_doors into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2908
Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
cora 2022-11-05 01:28:35 +00:00
commit f7ac679c0f

View File

@ -306,7 +306,7 @@ minetest.register_craft({
})
minetest.register_node("mcl_crimson:stripped_warped_hyphae", {
description = S("Stripped warped hyphae"),
description = S("Stripped Warped Hyphae"),
_doc_items_longdesc = S("The stripped hyphae of a warped fungus"),
_doc_items_hidden = false,
tiles = {"warped_stem_stripped_top.png", "warped_stem_stripped_top.png", "warped_stem_stripped_side.png"},
@ -319,9 +319,9 @@ minetest.register_node("mcl_crimson:stripped_warped_hyphae", {
})
minetest.register_node("mcl_crimson:stripped_warped_hyphae_bark", {
description = S("Stripped warped hyphae bark"),
description = S("Stripped Warped Hyphae Bark"),
_doc_items_longdesc = S("The stripped hyphae bark of a warped fungus"),
tiles = {"crimson_stem_stripped_side.png"},
tiles = {"warped_stem_stripped_side.png"},
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
@ -624,3 +624,73 @@ mcl_fences.register_fence_and_fence_gate(
minetest.registered_nodes["mcl_crimson:warped_hyphae"]._mcl_blast_resistance,
{"group:fence_wood"},
mcl_sounds.node_sound_wood_defaults())
-- Door, Trapdoor, and Fence/Gate Crafting
local crimson_wood = "mcl_crimson:crimson_hyphae_wood"
local warped_wood = "mcl_crimson:warped_hyphae_wood"
minetest.register_craft({
output = "mcl_crimson:crimson_door 3",
recipe = {
{crimson_wood, crimson_wood},
{crimson_wood, crimson_wood},
{crimson_wood, crimson_wood}
}
})
minetest.register_craft({
output = "mcl_crimson:warped_door 3",
recipe = {
{warped_wood, warped_wood},
{warped_wood, warped_wood},
{warped_wood, warped_wood}
}
})
minetest.register_craft({
output = "mcl_crimson:crimson_trapdoor 2",
recipe = {
{crimson_wood, crimson_wood, crimson_wood},
{crimson_wood, crimson_wood, crimson_wood},
}
})
minetest.register_craft({
output = "mcl_crimson:warped_trapdoor 2",
recipe = {
{warped_wood, warped_wood, warped_wood},
{warped_wood, warped_wood, warped_wood},
}
})
minetest.register_craft({
output = "mcl_crimson:crimson_fence 3",
recipe = {
{crimson_wood, "mcl_core:stick", crimson_wood},
{crimson_wood, "mcl_core:stick", crimson_wood},
}
})
minetest.register_craft({
output = "mcl_crimson:warped_fence 3",
recipe = {
{warped_wood, "mcl_core:stick", warped_wood},
{warped_wood, "mcl_core:stick", warped_wood},
}
})
minetest.register_craft({
output = "mcl_crimson:crimson_fence_gate",
recipe = {
{"mcl_core:stick", crimson_wood, "mcl_core:stick"},
{"mcl_core:stick", crimson_wood, "mcl_core:stick"},
}
})
minetest.register_craft({
output = "mcl_crimson:warped_fence_gate",
recipe = {
{"mcl_core:stick", warped_wood, "mcl_core:stick"},
{"mcl_core:stick", warped_wood, "mcl_core:stick"},
}
})