forked from VoxeLibre/VoxeLibre
Add more crafting recipes for wooden planks (including stripped wood)
This commit is contained in:
parent
1601437510
commit
6ffb7f525a
|
@ -4,47 +4,84 @@
|
||||||
-- Crafting definition
|
-- Crafting definition
|
||||||
--
|
--
|
||||||
|
|
||||||
minetest.register_craft({
|
local craft_oak_planks = function(subname)
|
||||||
output = 'mcl_core:wood 4',
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:wood 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'mcl_core:tree'},
|
{"mcl_core:"..subname},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
local craft_dark_oak_planks = function(subname)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:darkwood 4",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_core:"..subname},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
local craft_jungle_planks = function(subname)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:junglewood 4",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_core:"..subname},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
local craft_acacia_planks = function(subname)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:acaciawood 4",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_core:"..subname},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
local craft_spruce_planks = function(subname)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:sprucewood 4",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_core:"..subname},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
local craft_birch_planks = function(subname)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_core:birchwood 4",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_core:"..subname},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
craft_oak_planks("tree")
|
||||||
output = 'mcl_core:darkwood 4',
|
craft_oak_planks("tree_bark")
|
||||||
recipe = {
|
craft_oak_planks("stripped_oak")
|
||||||
{'mcl_core:darktree'},
|
craft_oak_planks("stripped_oak_bark")
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
craft_dark_oak_planks("darktree")
|
||||||
output = 'mcl_core:junglewood 4',
|
craft_dark_oak_planks("darktree_bark")
|
||||||
recipe = {
|
craft_dark_oak_planks("stripped_dark_oak")
|
||||||
{'mcl_core:jungletree'},
|
craft_dark_oak_planks("stripped_dark_oak_bark")
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
craft_jungle_planks("jungletree")
|
||||||
output = 'mcl_core:acaciawood 4',
|
craft_jungle_planks("jungletree_bark")
|
||||||
recipe = {
|
craft_jungle_planks("stripped_jungle")
|
||||||
{'mcl_core:acaciatree'},
|
craft_jungle_planks("stripped_jungle_bark")
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
craft_acacia_planks("acaciatree")
|
||||||
output = 'mcl_core:sprucewood 4',
|
craft_acacia_planks("acaciatree_bark")
|
||||||
recipe = {
|
craft_acacia_planks("stripped_acacia")
|
||||||
{'mcl_core:sprucetree'},
|
craft_acacia_planks("stripped_acacia_bark")
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
craft_spruce_planks("sprucetree")
|
||||||
output = 'mcl_core:birchwood 4',
|
craft_spruce_planks("sprucetree_bark")
|
||||||
recipe = {
|
craft_spruce_planks("stripped_spruce")
|
||||||
{'mcl_core:birchtree'},
|
craft_spruce_planks("stripped_spruce_bark")
|
||||||
}
|
|
||||||
})
|
craft_birch_planks("birchtree")
|
||||||
|
craft_birch_planks("birchtree_bark")
|
||||||
|
craft_birch_planks("stripped_birch")
|
||||||
|
craft_birch_planks("stripped_birch_bark")
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = 'shapeless',
|
type = 'shapeless',
|
||||||
|
|
Loading…
Reference in New Issue