mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 14:16:06 +02:00
Remove/Tweak (nearly) all unknown recipes
This commit is contained in:
@ -59,18 +59,13 @@ minetest.register_alias("moreblocks:allfacestree","moreblocks:all_faces_tree")
|
||||
local horizontal_tree_convert_facedir = {7, 12, 9, 18}
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"moreblocks:horizontal_tree","moreblocks:horizontal_jungle_tree"},
|
||||
nodenames = {"moreblocks:horizontal_tree"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
if node.name == "moreblocks:horizontal_tree" then
|
||||
node.name = "default:tree"
|
||||
else
|
||||
node.name = "default:jungletree"
|
||||
end
|
||||
node.param2 = node.param2 < 3 and node.param2 or 0
|
||||
minetest.set_node(pos, {
|
||||
name = node.name,
|
||||
name = "default:tree",
|
||||
param2 = horizontal_tree_convert_facedir[node.param2 + 1]
|
||||
})
|
||||
end,
|
||||
|
@ -463,3 +463,30 @@ if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then --
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- MODIFICATION MADE FOR MFF //MFF(Mg|08/09/15)
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:horizontal_jungle_tree 2",
|
||||
recipe = {
|
||||
{"default:jungletree", "", "default:jungletree"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:jungletree 2",
|
||||
recipe = {
|
||||
{"moreblocks:horizontal_jungle_tree"},
|
||||
{"moreblocks:horizontal_jungle_tree"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:junglewood 4",
|
||||
recipe = {
|
||||
{"moreblocks:horizontal_jungle_tree"},
|
||||
}
|
||||
})
|
||||
|
||||
-- END OF MODIFICATIONS
|
||||
|
@ -268,6 +268,19 @@ local nodes = {
|
||||
sounds = sound_wood,
|
||||
furnace_burntime = 30,
|
||||
},
|
||||
["horizontal_jungle_tree"] = {
|
||||
description = S("Horizontal Jungle Tree"),
|
||||
tiles = {"default_jungletree.png",
|
||||
"default_jungletree.png",
|
||||
"default_jungletree.png^[transformR90",
|
||||
"default_jungletree.png^[transformR90",
|
||||
"default_jungletree_top.png",
|
||||
"default_jungletree_top.png"},
|
||||
paramtype2 = "facedir",
|
||||
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = sound_wood,
|
||||
furnace_burntime = 30,
|
||||
},
|
||||
["glow_glass"] = {
|
||||
description = S("Glow Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
|
Reference in New Issue
Block a user