code:
-- Orewood Reborn Compatibility Registry. I would like to thank desvox for making the orewood mod this one originated from.

-- Only mods that add a single item to renew are here:
-- quartz................8
-- blox................124

if(minetest.get_modpath("quartz")) ~= nil then
--craft
minetest.register_craft({
	output = '"orewood:quartzwood_fake"',
	recipe = {
		{'quartz:block', 'quartz:block','quartz:block'},
		{'quartz:block', 'group:orewood_quartz','quartz:block'},
		{'quartz:block', 'quartz:block','quartz:block'},
	}
})

minetest.register_craft({
	output = '"orewood:quartzwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'quartz:block','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:quartzwood", {
	description = "Quartzwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^quartz_ore.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_quartz=1,orew_quartz=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:quartzwood_fake", {
	description = "Fake Quartzwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^quartz_ore.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_quartz=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:quartzpapy", {
	description = "Quartzpapy",
	drop = "quartz:quartz_crystal_piece",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"quartz_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "quartz_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "quartz_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:quartzwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:quartzwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:quartzpapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:quartzpapy"},
	neighbors = {"orewood:quartzwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:quartzwood"
	and name ~= "orewood:quartzwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:quartzpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:quartzpapy"})
	return true
end,
})
end

if(minetest.get_modpath("blox")) ~= nil then
--craft
minetest.register_craft({
	output = '"orewood:glowdustwood_fake"',
	recipe = {
		{'blox:glowstone', 'blox:glowstone','blox:glowstone'},
		{'blox:glowstone', 'group:orewood_blox','blox:glowstone'},
		{'blox:glowstone', 'blox:glowstone','blox:glowstone'},
	}
})

minetest.register_craft({
	output = '"orewood:glowdustwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'blox:glowstone','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:glowdustwood", {
	description = "Glowdustwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^blox_glowore.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_blox=1,orew_glowdust=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:glowdustwood_fake", {
	description = "Fake Glowdustwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^blox_glowore.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_blox=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:glowdustpapy", {
	description = "Glowdustpapy",
	drop = "blox:glowdust",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"blox_glowstone.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "blox_glowstone.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "blox_glowstone.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:glowdustwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:glowdustwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:glowdustpapy"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:glowdustpapy"},
	neighbors = {"orewood:glowdustwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:glowdustwood"
	and name ~= "orewood:glowdustwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:glowdustpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:glowdustpapy"})
	return true
end,
})

end

--if(minetest.get_modpath("underch")) ~= nil then
--I'll study underch's code a bit more before doing this


code:
-- Orewood Reborn Craft Registry. I would like to thank desvox for making the orewood mod this one originated from.

-- Crafts

minetest.register_craft({
	output = 'default:coal_lump',
	recipe = {
		{'group:orew_coal'},
	}
})

minetest.register_craft({
	output = '"orewood:fluidwood"',
	recipe = {
		{'group:orew_fake', 'group:orew_fake','group:orew_fake'},
		{'group:orew_fake', 'group:orew_hot','group:orew_fake'},
		{'group:orew_fake', 'group:orew_fake','group:orew_fake'},
	}
})

minetest.register_craft({
	output = '"default:water_source"',
	recipe = {
		{'orewood:riverpapy', 'orewood:riverpapy','orewood:riverpapy'},
		{'orewood:riverpapy', '','orewood:riverpapy'},
		{'orewood:riverpapy', 'orewood:riverpapy','orewood:riverpapy'},
	}
})

minetest.register_craft({
	output = 'default:lava_source',
	recipe = {
		{'orewood:lavapapy', 'orewood:lavapapy'},
		{'orewood:lavapapy', 'orewood:lavapapy'}
	}
})

minetest.register_craft({
	output = 'default:river_water_source',
	recipe = {
		{'orewood:riverpapy', 'orewood:riverpapy'},
		{'orewood:riverpapy', 'orewood:riverpapy'}
	}
})

-- cooking
minetest.register_craft({
	type = "cooking",
	output = "orewood:steelwood_hot",
	recipe = "group:orew_iron",
})

minetest.register_craft({
	type = "cooking",
	output = "orewood:tinwood_hot",
	recipe = "group:orew_tin",
})

minetest.register_craft({
	type = "cooking",
	output = "orewood:copperwood_hot",
	recipe = "group:orew_copper",
})

minetest.register_craft({
	type = "cooking",
	output = "orewood:goldwood_hot",
	recipe = "group:orew_gold",
})

minetest.register_craft({
	type = "cooking",
	output = "orewood:claywood_hot",
	recipe = "group:orew_clay_raw",
})

license: mit


code:
default
moreores?
glooptest?
quartz?
technic_worldgen?
blox?
ethereal?


code: Makes ores, obsidian and clay renewable by allowing player to harvest grown papyr from special wood for resources. Originaly made by desvox.


code:
-- Orewood Reborn ABM Registry. I would like to thank desvox for making the orewood mod this one originated from.

-- Functions to sprout papy from logs

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:lavapapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:river_water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:riverpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:snowpapy"})
	end,
})

-- Functions to grow papy that has sprouted

minetest.register_abm({
	nodenames = {"orewood:lavapapy"},
	neighbors = {"orewood:fluidwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:fluidwood"
	and name ~= "orewood:fluidwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:lavapapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:lavapapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:riverpapy"},
	neighbors = {"orewood:fluidwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:fluidwood"
	and name ~= "orewood:fluidwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:riverpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:riverpapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:snowpapy"},
	neighbors = {"orewood:fluidwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:fluidwood"
	and name ~= "orewood:fluidwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:snowpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:snowpapy"})
	return true
end,
})

-- And now, I bid you good luck ;D

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:ironpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:coalpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:tinpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:copperpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:mesepapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:diamondpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:goldpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:obsidianpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:fluidwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:fluidwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:claypapy"})
	end,
})

-- And why not add other mods to the mix?
-- Because this dev is a procrastinator, that's why.


code:
-- For the users of glooptest
--KALITE...................14
--ALATRO..................110
--TALINITE................317
--AKALIN..................524
--AROL....................731
--RUBY....................827
--SAPPHIRE................942
--EMERALD................1057
--TOPAZ..................1172
--AMETHYST...............1287

if(minetest.get_modpath("glooptest")) ~= nil then
-- KALITE
--craft
minetest.register_craft({
	output = '"orewood:kalitewood"',
	recipe = {
		{'glooptest:kalite_lump', 'glooptest:kalite_lump','glooptest:kalite_lump'},
		{'glooptest:kalite_lump', 'group:orewood_glooptest','glooptest:kalite_lump'},
		{'glooptest:kalite_lump', 'glooptest:kalite_lump','glooptest:kalite_lump'},
	}
})
--wood
minetest.register_node(":orewood:kalitewood", {
	description = "Kalitewood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^gloopores_mineral_kalite.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_kalite=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy
minetest.register_node(":orewood:kalitepapy", {
	description = "Kalitepapy",
	drop = "glooptest:kalite_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"orewood_dust_red.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "orewood_dust_red.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "orewood_dust_red.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--abm
minetest.register_abm({
	nodenames = {"orewood:kalitewood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:kalitewood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:kalitepapy"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:kalitepapy"},
	neighbors = {"orewood:kalitewood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:kalitewood"
	and name ~= "orewood:kalitewood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:kalitepapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:kalitepapy"})
	return true
end,
})

-- ALATRO
--craft
minetest.register_craft({
	output = '"orewood:alatrowood_fake"',
	recipe = {
		{'glooptest:alatro_ingot', 'glooptest:alatro_ingot','glooptest:alatro_ingot'},
		{'glooptest:alatro_ingot', 'group:orewood_glooptest','glooptest:alatro_ingot'},
		{'glooptest:alatro_ingot', 'glooptest:alatro_ingot','glooptest:alatro_ingot'},
	}
})

minetest.register_craft({
	output = '"orewood:alatrowood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'orewood:alatrowood_fake','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--cook
minetest.register_craft({
	type = "cooking",
	output = "orewood:alatrowood_hot",
	recipe = "group:orew_alatro",
})
--wood
minetest.register_node(":orewood:alatrowood", {
	description = "Alatrowood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^gloopores_mineral_alatro.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_alatro=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--hot
minetest.register_node(":orewood:alatrowood_hot", {
	description = "Hot Alatrowood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^gloopores_alatro_ingot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake
minetest.register_node(":orewood:alatrowood_fake", {
	description = "Fake Alatrowood",
	paramtype2 = "facedir",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^gloopores_mineral_alatro.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy
minetest.register_node(":orewood:alatropapy", {
	description = "Alatropapy",
	drop = "glooptest:alatro_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_alatro_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_alatro_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "gloopores_alatro_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:alatropapy_ingot", {
	description = "Alatroingotpapy",
	drop = "glooptest:alatro_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_alatro_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_alatro_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "gloopores_alatro_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--abm
minetest.register_abm({
	nodenames = {"orewood:alatrowood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:alatrowood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:alatropapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:alatrowood_hot"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:alatrowood_hot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:alatropapy_ingot"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:alatropapy"},
	neighbors = {"orewood:alatrowood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:alatrowood"
	and name ~= "orewood:alatrowood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:alatropapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:alatropapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:alatropapy_ingot"},
	neighbors = {"orewood:alatrowood_hot"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:alatrowood_hot"
	and name ~= "orewood:alatrowood_hot" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:alatropapy_ingot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:alatropapy_ingot"})
	return true
end,
})

-- TALINITE
--craft
minetest.register_craft({
	output = '"orewood:talinitewood_fake"',
	recipe = {
		{'glooptest:talinite_ingot', 'glooptest:talinite_ingot','glooptest:talinite_ingot'},
		{'glooptest:talinite_ingot', 'group:orewood_glooptest','glooptest:talinite_ingot'},
		{'glooptest:talinite_ingot', 'glooptest:talinite_ingot','glooptest:talinite_ingot'},
	}
})

minetest.register_craft({
	output = '"orewood:talinitewood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'orewood:talinitewood_fake','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--cook
minetest.register_craft({
	type = "cooking",
	output = "orewood:talinitewood_hot",
	recipe = "group:orew_talinite",
})
--wood
minetest.register_node(":orewood:talinitewood", {
	description = "Talinitewood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^gloopores_mineral_talinite.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_talinite=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--hot
minetest.register_node(":orewood:talinitewood_hot", {
	description = "Hot Talinitewood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^gloopores_talinite_ingot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake
minetest.register_node(":orewood:talinitewood_fake", {
	description = "Fake Talinitewood",
	paramtype2 = "facedir",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^gloopores_mineral_talinite.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy
minetest.register_node(":orewood:talinitepapy", {
	description = "Talinitepapy",
	drop = "glooptest:talinite_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_talinite_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_talinite_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "gloopores_talinite_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:talinitepapy_ingot", {
	description = "Taliniteingotpapy",
	drop = "glooptest:talinite_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_talinite_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_talinite_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "gloopores_talinite_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--abm
minetest.register_abm({
	nodenames = {"orewood:talinitewood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:talinitewood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:talinitepapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:talinitewood_hot"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:talinitewood_hot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:talinitepapy_ingot"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:talinitepapy"},
	neighbors = {"orewood:talinitewood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:talinitewood"
	and name ~= "orewood:talinitewood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:talinitepapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:talinitepapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:talinitepapy_ingot"},
	neighbors = {"orewood:talinitewood_hot"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:talinitewood_hot"
	and name ~= "orewood:talinitewood_hot" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:talinitepapy_ingot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:talinitepapy_ingot"})
	return true
end,
})

-- AKALIN
--craft
minetest.register_craft({
	output = '"orewood:akalinwood_fake"',
	recipe = {
		{'glooptest:akalin_ingot', 'glooptest:akalin_ingot','glooptest:akalin_ingot'},
		{'glooptest:akalin_ingot', 'group:orewood_glooptest','glooptest:akalin_ingot'},
		{'glooptest:akalin_ingot', 'glooptest:akalin_ingot','glooptest:akalin_ingot'},
	}
})

minetest.register_craft({
	output = '"orewood:akalinwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'orewood:akalinwood_fake','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--cook
minetest.register_craft({
	type = "cooking",
	output = "orewood:akalinwood_hot",
	recipe = "group:orew_akalin",
})
--wood
minetest.register_node(":orewood:akalinwood", {
	description = "Akalinwood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^gloopores_mineral_akalin.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_akalin=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--hot
minetest.register_node(":orewood:akalinwood_hot", {
	description = "Hot Akalinwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^gloopores_akalin_ingot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake
minetest.register_node(":orewood:akalinwood_fake", {
	description = "Fake Akalinwood",
	paramtype2 = "facedir",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^gloopores_mineral_akalin.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy
minetest.register_node(":orewood:akalinpapy", {
	description = "Akalinpapy",
	drop = "glooptest:akalin_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_akalin_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_akalin_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "gloopores_akalin_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:akalinpapy_ingot", {
	description = "Akaliningotpapy",
	drop = "glooptest:akalin_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"gloopores_akalin_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "gloopores_akalin_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "gloopores_akalin_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--abm
minetest.register_abm({
	nodenames = {"orewood:akalinwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:akalinwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:akalinpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:akalinwood_hot"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:akalinwood_hot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:akalinpapy_ingot"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:akalinpapy"},
	neighbors = {"orewood:akalinwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:akalinwood"
	and name ~= "orewood:akalinwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:akalinpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:akalinpapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:akalinpapy_ingot"},
	neighbors = {"orewood:akalinwood_hot"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:akalinwood_hot"
	and name ~= "orewood:akalinwood_hot" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:akalinpapy_ingot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:akalinpapy_ingot"})
	return true
end,
})

-- AROL
--craft
minetest.register_craft({
	output = '"orewood:arolwood"',
	recipe = {
		{'glooptest:arol_ingot', 'glooptest:arol_ingot','glooptest:arol_ingot'},
		{'glooptest:arol_ingot', 'group:orewood_glooptest','glooptest:arol_ingot'},
		{'glooptest:arol_ingot', 'glooptest:arol_ingot','glooptest:arol_ingot'},
	}
})
--wood
minetest.register_node(":orewood:arolwood", {
	description = "Arolwood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^gloopores_mineral_arol.png"},
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_arol=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy
minetest.register_node(":orewood:arolpapy", {
	description = "Arolpapy",
	drop = "glooptest:arol_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"orewood_dust_green.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "orewood_dust_green.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "orewood_dust_green.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--abm
minetest.register_abm({
	nodenames = {"orewood:arolwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:arolwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:arolpapy"})
	end,
})
--grow
minetest.register_abm({
	nodenames = {"orewood:arolpapy"},
	neighbors = {"orewood:arolwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:arolwood"
	and name ~= "orewood:arolwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:arolpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:arolpapy"})
	return true
end,
})

-- RUBY
minetest.register_craft({
	output = '"orewood:rubywood_fake"',
	recipe = {
		{'glooptest:rubyblock', 'glooptest:rubyblock','glooptest:rubyblock'},
		{'glooptest:rubyblock', 'group:orewood_glooptest','glooptest:rubyblock'},
		{'glooptest:rubyblock', 'glooptest:rubyblock','glooptest:rubyblock'},
	}
})

minetest.register_craft({
	output = '"orewood:rubywood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'glooptest:rubyblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:rubywood", {
	description = "Rubywood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^glooptest_mineral_ruby.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_ruby=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:rubywood_fake", {
	description = "Fake Rubywood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^glooptest_mineral_ruby.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:rubypapy", {
	description = "Rubypapy",
	drop = "glooptest:ruby_gem",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"glooptest_ruby_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "glooptest_ruby_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "glooptest_ruby_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:rubywood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:rubywood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:rubypapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:rubypapy"},
	neighbors = {"orewood:rubywood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:rubywood"
	and name ~= "orewood:rubywood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:rubypapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:rubypapy"})
	return true
end,
})

-- SAPPHIRE
minetest.register_craft({
	output = '"orewood:sapphirewood_fake"',
	recipe = {
		{'glooptest:sapphireblock', 'glooptest:sapphireblock','glooptest:sapphireblock'},
		{'glooptest:sapphireblock', 'group:orewood_glooptest','glooptest:sapphireblock'},
		{'glooptest:sapphireblock', 'glooptest:sapphireblock','glooptest:sapphireblock'},
	}
})

minetest.register_craft({
	output = '"orewood:sapphirewood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'glooptest:sapphireblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:sapphirewood", {
	description = "Sapphirewood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^glooptest_mineral_sapphire.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_sapphire=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:sapphirewood_fake", {
	description = "Fake Sapphirewood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^glooptest_mineral_sapphire.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:sapphirepapy", {
	description = "Sapphirepapy",
	drop = "glooptest:sapphire_gem",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"glooptest_sapphire_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "glooptest_sapphire_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "glooptest_sapphire_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:sapphirewood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:sapphirewood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:sapphirepapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:sapphirepapy"},
	neighbors = {"orewood:sapphirewood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:sapphirewood"
	and name ~= "orewood:sapphirewood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:sapphirepapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:sapphirepapy"})
	return true
end,
})

-- EMERALD
minetest.register_craft({
	output = '"orewood:emeraldwood_fake"',
	recipe = {
		{'glooptest:emeraldblock', 'glooptest:emeraldblock','glooptest:emeraldblock'},
		{'glooptest:emeraldblock', 'group:orewood_glooptest','glooptest:emeraldblock'},
		{'glooptest:emeraldblock', 'glooptest:emeraldblock','glooptest:emeraldblock'},
	}
})

minetest.register_craft({
	output = '"orewood:emeraldwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'glooptest:emeraldblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:emeraldwood", {
	description = "Emeraldwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^glooptest_mineral_emerald.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_emerald=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:emeraldwood_fake", {
	description = "Fake Emeraldwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^glooptest_mineral_emerald.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:emeraldpapy", {
	description = "Emeraldpapy",
	drop = "glooptest:emerald_gem",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"glooptest_emerald_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "glooptest_emerald_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "glooptest_emerald_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:emeraldwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:emeraldwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:emeraldpapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:emeraldpapy"},
	neighbors = {"orewood:emeraldwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:emeraldwood"
	and name ~= "orewood:emeraldwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:emeraldpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:emeraldpapy"})
	return true
end,
})

-- TOPAZ
minetest.register_craft({
	output = '"orewood:topazwood_fake"',
	recipe = {
		{'glooptest:topazblock', 'glooptest:topazblock','glooptest:topazblock'},
		{'glooptest:topazblock', 'group:orewood_glooptest','glooptest:topazblock'},
		{'glooptest:topazblock', 'glooptest:topazblock','glooptest:topazblock'},
	}
})

minetest.register_craft({
	output = '"orewood:topazwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'glooptest:topazblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:topazwood", {
	description = "Topazwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^glooptest_mineral_topaz.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_topaz=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:topazwood_fake", {
	description = "Fake Topazwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^glooptest_mineral_topaz.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:topazpapy", {
	description = "Topazpapy",
	drop = "glooptest:topaz_gem",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"glooptest_topaz_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "glooptest_topaz_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "glooptest_topaz_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:topazwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:topazwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:topazpapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:topazpapy"},
	neighbors = {"orewood:topazwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:topazwood"
	and name ~= "orewood:topazwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:topazpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:topazpapy"})
	return true
end,
})

-- AMETHYST
minetest.register_craft({
	output = '"orewood:amethystwood_fake"',
	recipe = {
		{'glooptest:amethystblock', 'glooptest:amethystblock','glooptest:amethystblock'},
		{'glooptest:amethystblock', 'group:orewood_glooptest','glooptest:amethystblock'},
		{'glooptest:amethystblock', 'glooptest:amethystblock','glooptest:amethystblock'},
	}
})

minetest.register_craft({
	output = '"orewood:amethystwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'glooptest:amethystblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})
--wooden nodes
minetest.register_node(":orewood:amethystwood", {
	description = "Amethystwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^glooptest_mineral_amethyst.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_amethyst=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:amethystwood_fake", {
	description = "Fake Amethystwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^glooptest_mineral_amethyst.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_glooptest=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:amethystpapy", {
	description = "Amethystpapy",
	drop = "glooptest:amethyst_gem",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"glooptest_amethyst_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "glooptest_amethyst_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "glooptest_amethyst_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:amethystwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:amethystwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:amethystpapy"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:amethystpapy"},
	neighbors = {"orewood:amethystwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:amethystwood"
	and name ~= "orewood:amethystwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:amethystpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:amethystpapy"})
	return true
end,
})

end


code:
-- Orewood Reborn Init. I would like to thank desvox for making the orewood mod this one originated from.
-- Special thanks to other mod developers who used WTFPL and CC0 licenses for their mods, indirectly helping me implement features.
-- Another big thanks to the Minetest Developer Wiki and everyone maintaining it (dev.minetest.net/).
-- And thanks to rubenwardy for the modding book (rubenwardy.com/minetest_modding_book/lua_api.html).

-- Other lua files in this mod:

if(minetest.get_modpath("default")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/abm.lua") -- functions to sprout and grow papy
dofile(minetest.get_modpath("orewood_reborn").."/crafting.lua") -- most of the recipes are here
--dofile(minetest.get_modpath("orewood_reborn").."/defaultgen.lua") -- generates default-based stuf (doesn't seem to work on minetest 5.0.0)
dofile(minetest.get_modpath("orewood_reborn").."/fluid.lua") -- fluidwood ABMs
dofile(minetest.get_modpath("orewood_reborn").."/nodes.lua") -- all nodes are here
dofile(minetest.get_modpath("orewood_reborn").."/recipe.lua") -- recipes to craft orewood, just in case
end

dofile(minetest.get_modpath("orewood_reborn").."/compatibility.lua") -- for the other mods

if(minetest.get_modpath("moreores")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/moreorescomp.lua") -- for moreores
end

if(minetest.get_modpath("glooptest")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/glooptestcomp.lua") -- for glooptest
end

if(minetest.get_modpath("technic_worldgen")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/techniccomp.lua") -- for technic (technic_worldgen)
end


code:
-- For the users of moreores

if(minetest.get_modpath("moreores")) ~= nil then
--cook
minetest.register_craft({
	type = "cooking",
	output = "orewood:silverwood_hot",
	recipe = "group:orew_silver",
})

minetest.register_craft({
	type = "cooking",
	output = "orewood:mithrilwood_hot",
	recipe = "group:orew_mithril",
})
--craft
minetest.register_craft({
	output = '"orewood:silverwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'moreores:silver_ingot','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:mithrilwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'moreores:mithril_ingot','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

--wooden nodes
minetest.register_node(":orewood:silverwood", {
	description = "Silverwood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^moreores_mineral_silver.png"},
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_silver=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:silverwood_hot", {
	description = "Hot Silverwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^moreores_silver_ingot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mithrilwood", {
	description = "Mithrilwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^moreores_mineral_mithril.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_mithril=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mithrilwood_hot", {
	description = "Hot Mithrilwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^moreores_mithril_ingot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--fake nodes
minetest.register_node(":orewood:silverwood_fake", {
	description = "Fake Silverwood",
	paramtype2 = "facedir",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^moreores_mineral_silver.png"},
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mithrilwood_fake", {
	description = "Fake Mithrilwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^moreores_mineral_mithril.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_moreores=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})
--papy nodes
minetest.register_node(":orewood:silverpapy", {
	description = "Silverpapy",
	drop = "moreores:silver_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"moreores_silver_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "moreores_silver_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "moreores_silver_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:silverpapy_ingot", {
	description = "Silveringotpapy",
	drop = "moreores:silver_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"moreores_silver_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "moreores_silver_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "moreores_silver_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:mithrilpapy", {
	description = "Mithrilpapy",
	drop = "moreores:mithril_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"moreores_mithril_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "moreores_mithril_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "moreores_mithril_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:mithrilpapy_ingot", {
	description = "Mithrilingotpapy",
	drop = "moreores:mithril_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"moreores_mithril_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "moreores_mithril_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "moreores_mithril_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})
--ABMs srpout
minetest.register_abm({
	nodenames = {"orewood:silverwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:silverwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:silverpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:silverwood_hot"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:silverwood_hot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:silverpapy_ingot"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:mithrilwood"},
	neighbors = {"default:water_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:mithrilwood" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:mithrilpapy"})
	end,
})

minetest.register_abm({
	nodenames = {"orewood:mithrilwood_hot"},
	neighbors = {"default:lava_source"},
	interval = 40,
	chance = 10,
	action = function(pos, node)
	local height = 0
	while node.name == "orewood:mithrilwood_hot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:mithrilpapy_ingot"})
	end,
})
--ABMs grow
minetest.register_abm({
	nodenames = {"orewood:silverpapy"},
	neighbors = {"orewood:silverwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:silverwood"
	and name ~= "orewood:silverwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:silverpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:silverpapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:silverpapy_ingot"},
	neighbors = {"orewood:silverwood_hot"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:silverwood_hot"
	and name ~= "orewood:silverwood_hot" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:silverpapy_ingot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:silverpapy_ingot"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:mithrilpapy"},
	neighbors = {"orewood:mithrilwood"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:mithrilwood"
	and name ~= "orewood:mithrilwood" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:water"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:mithrilpapy" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:mithrilpapy"})
	return true
end,
})

minetest.register_abm({
	nodenames = {"orewood:mithrilpapy_ingot"},
	neighbors = {"orewood:mithrilwood_hot"},
	interval = 50,
	chance = 20,
	action = function(pos, node)
	pos.y = pos.y-1
	local name = minetest.get_node(pos).name
	if name ~= "orewood:mithrilwood_hot"
	and name ~= "orewood:mithrilwood_hot" then
		return
	end
	if not minetest.find_node_near(pos, 3, {"group:lava"}) then
		return
	end
	pos.y = pos.y+1
	local height = 0
	while node.name == "orewood:mithrilpapy_ingot" and height < 4 do
		height = height+1
		pos.y = pos.y+1
		node = minetest.get_node(pos)
	end
	if height == 4
	or node.name ~= "air" then
		return
	end
	minetest.set_node(pos, {name="orewood:mithrilpapy_ingot"})
	return true
end,
})
end


code:
-- Orewood Reborn Node Registry. I would like to thank desvox for making the orewood mod this one originated from.

-- default_tree ores

minetest.register_node(":orewood:ironwood", {
	description = "Ironwood",
	paramtype2 = "facedir",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_ironwood.png"},
	is_ground_content = false,
	groups = {orewood_default=1,orew_iron=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:tinwood", {
	description = "Tinwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_tinwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_tin=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:copperwood", {
	description = "Copperwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_copperwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_copper=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:claywood", {
	description = "Claywood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_claywood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_clay_raw=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:goldwood", {
	description = "Goldwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_goldwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_gold=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:coalwood", {
	description = "Coalwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_coalwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_coal=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mesewood", {
	description = "Mesewood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^default_mineral_mese.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_mese=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:obsidianwood", {
	description = "Obsidiandwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^default_obsidian_shard.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_obsidian=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:diamondwood", {
	description = "Diamondwood",
	tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png^orewood_diamondwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_diamond=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

-- default_jungletree ores

minetest.register_node(":orewood:ironwood_jungle", {
	description = "Jungle Ironwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_ironwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_iron=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:tinwood_jungle", {
	description = "Jungle Tinwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_tinwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_tin=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:copperwood_jungle", {
	description = "Jungle Copperwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_copperwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_copper=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mesewood_jungle", {
	description = "Jungle Mesewood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^default_mineral_mese.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_mese=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:obsidianwood_jungle", {
	description = "Jungle Obsidianwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^default_obsidian_shard.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_obsidian=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:diamondwood_jungle", {
	description = "Jungle Diamondwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_diamondwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_diamond=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:coalwood_jungle", {
	description = "Jungle Coalwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_coalwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_coal=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:claywood_jungle", {
	description = "Jungle Claywood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_claywood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_clay_raw=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:goldwood_jungle", {
	description = "Jungle Goldwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png^orewood_goldwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_gold=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

-- Hot wood

minetest.register_node(":orewood:steelwood_hot", {
	description = "Hot Steelwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^orewood_steelwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:tinwood_hot", {
	description = "Hot Tinwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^orewood_tinwood_hot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:copperwood_hot", {
	description = "Hot Copperwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^orewood_copperwood_hot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:claywood_hot", {
	description = "Hot Claywood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^orewood_claywood_hot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:goldwood_hot", {
	description = "Hot Goldwood",
	tiles = {"default_furnace_top.png", "default_furnace_top.png", "default_coal_block.png^orewood_goldwood_hot.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

-- Fluid wood

minetest.register_node(":orewood:fluidwood", {
	description = "Fluidwood. Place near ANY liquid",
	tiles = {"orewood_fluidwood_top.png", "orewood_fluidwood_top.png", "orewood_fluidwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_hot=1,choppy=2,oddly_breakable_by_hand=1},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

-- FAKE wooden ore nodes

minetest.register_node(":orewood:ironwood_fake", {
	description = "Fake Ironwood",
	paramtype2 = "facedir",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_ironwood.png"},
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:tinwood_fake", {
	description = "Fake Tinwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_tinwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:copperwood_fake", {
	description = "Fake Copperwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_copperwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:goldwood_fake", {
	description = "Fake Goldwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_goldwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:coalwood_fake", {
	description = "Fake Coalwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_coalwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:mesewood_fake", {
	description = "Fake Mesewood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^default_mineral_mese.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

minetest.register_node(":orewood:diamondwood_fake", {
	description = "Fake Diamondwood",
	tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_tree.png^orewood_diamondwood.png"},
	paramtype2 = "facedir",
	is_ground_content = false,
	groups = {orewood_default=1,orew_fake=1,tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
	sounds = default.node_sound_wood_defaults(),

	on_place = minetest.rotate_node
})

-- Papynodes

minetest.register_node(":orewood:ironpapy", {
	description = "Ironpapy",
	drop = "default:iron_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"orewood_ironpapy.png"},
	inventory_image = "orewood_ironpapy.png",
	wield_image = "orewood_ironpapy.png",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:tinpapy", {
	description = "Tinpapy",
	drop = "default:tin_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_tin_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_tin_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_tin_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:copperpapy", {
	description = "Copperpapy",
	drop = "default:copper_lump",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_copper_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_copper_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_copper_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:coalpapy", {
	description = "Coalpapy",
	drop = 'default:coal_lump',
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_coal_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_coal_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_coal_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:mesepapy", {
	description = "Mesepapy",
	drop = "default:mese_crystal",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_mese_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_mese_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_mese_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:diamondpapy", {
	description = "Diamondpapy",
	drop = "default:diamond",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_diamond_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_diamond_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_diamond_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:goldpapy", {
	description = "Goldpapy",
	drawtype = "plantlike",
	drop = "default:gold_lump",
	stack_max = 999,
	tiles = {"default_gold_block.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_gold_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_gold_block.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:obsidianpapy", {
	description = "Obsidianpapy",
	drop = "default:obsidian_shard",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_obsidian.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_obsidian.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_obsidian.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:claypapy", {
	description = "Claypapy",
	drawtype = "plantlike",
	drop = "default:clay_lump",
	stack_max = 999,
	tiles = {"default_clay.png^orewood_cover_mp.png^[makealpha:255,0,255"},
	inventory_image = "default_clay.png^orewood_cover_mp.png^[makealpha:255,0,255",
	wield_image = "default_clay.png^orewood_cover_mp.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3,flammable=2},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

-- Papynodes hot

minetest.register_node(":orewood:steelpapy_ingot", {
	description = "Steelingotpapy",
	drop = "default:steel_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_steel_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_steel_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_steel_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:tinpapy_ingot", {
	description = "Tiningotpapy",
	drop = "default:tin_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_tin_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_tin_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_tin_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:copperpapy_ingot", {
	description = "Copperingotpapy",
	drop = "default:copper_ingot",
	drawtype = "plantlike",
	stack_max = 999,
	tiles = {"default_copper_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_copper_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_copper_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:goldpapy_ingot", {
	description = "Goldingotpapy",
	drawtype = "plantlike",
	drop = "default:gold_ingot",
	stack_max = 999,
	tiles = {"default_gold_block.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_gold_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_gold_block.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:claypapy_brick", {
	description = "Brickpapy",
	drawtype = "plantlike",
	drop = "default:clay_brick",
	stack_max = 999,
	tiles = {"orewood_claypapy_brick.png"},
	inventory_image = "orewood_claypapy_brick.png",
	wield_image = "orewood_claypapy_brick.png",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

-- Papynodes fluid

minetest.register_node(":orewood:lavapapy", {
	description = "Lavapapy",
	drop = "orewood:lavapapy",
	drawtype = "plantlike",
	stack_max = 99,
	tiles = {"default_lava.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_lava.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_lava.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:riverpapy", {
	description = "Riverpapy",
	drop = "orewood:riverpapy",
	drawtype = "plantlike",
	stack_max = 99,
	tiles = {"default_river_water.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_river_water.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_river_water.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})

minetest.register_node(":orewood:snowpapy", {
	description = "Snowpapy",
	drop = "default:snow",
	drawtype = "plantlike",
	stack_max = 99,
	tiles = {"default_snow.png^orewood_cover_mf.png^[makealpha:255,0,255"},
	inventory_image = "default_snow.png^orewood_cover_mf.png^[makealpha:255,0,255",
	wield_image = "default_snow.png^orewood_cover_mf.png^[makealpha:255,0,255",
	paramtype = "light",
	walkable = false,
	is_ground_content = true,
	selection_box = {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
	},
	groups = {snappy=3},
	sounds = default.node_sound_leaves_defaults(),

	after_dig_node = function(pos, node, metadata, digger)
		default.dig_up(pos, node, digger)
	end,
})


code:
-- Orewood Reborn Cheap wooden ore recipes.
-- In case you didn't read the README: rename this file to "recipe" to buff this mod

-- Crafts
-- orewood
minetest.register_craft({
	output = '"orewood:ironwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:steelblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:tinwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:tinblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:copperwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:copperblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:goldwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:goldblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:coalwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:coalblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:mesewood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:mese','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:diamondwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:diamondblock','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:claywood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:clay','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

minetest.register_craft({
	output = '"orewood:obsidianwood"',
	recipe = {
		{'group:stone', 'group:wood','group:stone'},
		{'group:wood', 'default:obsidian','group:wood'},
		{'group:stone', 'group:wood','group:stone'},
	}
})

-- fake wood
minetest.register_craft({
	output = '"orewood:ironwood_fake"',
	recipe = {
		{'default:steelblock', 'default:steelblock','default:steelblock'},
		{'default:steelblock', 'group:orewood_default','default:steelblock'},
		{'default:steelblock', 'default:steelblock','default:steelblock'},
	}
})

minetest.register_craft({
	output = '"orewood:tinwood_fake"',
	recipe = {
		{'default:tinblock', 'default:tinblock','default:tinblock'},
		{'default:tinblock', 'group:orewood_default','default:tinblock'},
		{'default:tinblock', 'default:tinblock','default:tinblock'},
	}
})

minetest.register_craft({
	output = '"orewood:copperwood_fake"',
	recipe = {
		{'default:copperblock', 'default:copperblock','default:copperblock'},
		{'default:copperblock', 'group:orewood_default','default:copperblock'},
		{'default:copperblock', 'default:copperblock','default:copperblock'},
	}
})

minetest.register_craft({
	output = '"orewood:goldwood_fake"',
	recipe = {
		{'default:goldblock', 'default:goldblock','default:goldblock'},
		{'default:goldblock', 'group:orewood_default','default:goldblock'},
		{'default:goldblock', 'default:goldblock','default:goldblock'},
	}
})

minetest.register_craft({
	output = '"orewood:coalwood_fake"',
	recipe = {
		{'default:coalblock', 'default:coalblock','default:coalblock'},
		{'default:coalblock', 'group:orewood_default','default:coalblock'},
		{'default:coalblock', 'default:coalblock','default:coalblock'},
	}
})

minetest.register_craft({
	output = '"orewood:mesewood_fake"',
	recipe = {
		{'default:mese', 'default:mese','default:mese'},
		{'default:mese', 'group:orewood_default','default:mese'},
		{'default:mese', 'default:mese','default:mese'},
	}
})

minetest.register_craft({
	output = '"orewood:diamondwood_fake"',
	recipe = {
		{'default:diamondblock', 'default:diamondblock','default:diamondblock'},
		{'default:diamondblock', 'group:orewood_default','default:diamondblock'},
		{'default:diamondblock', 'default:diamondblock','default:diamondblock'},
	}
})