2020-08-26 02:11:54 +02:00
|
|
|
local S = minetest.get_translator("moretrees")
|
2013-01-22 02:31:28 +01:00
|
|
|
|
2013-02-12 04:07:40 +01:00
|
|
|
for i in ipairs(moretrees.treelist) do
|
2013-12-15 19:30:17 +01:00
|
|
|
local treename = moretrees.treelist[i][1]
|
2013-02-12 04:07:40 +01:00
|
|
|
|
2024-05-27 16:25:10 +02:00
|
|
|
if moretrees.enable_planks then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:"..treename.."_planks 4",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:"..treename.."_trunk"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2013-01-22 02:31:28 +01:00
|
|
|
|
2013-02-22 04:35:31 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "moretrees:"..treename.."_sapling",
|
|
|
|
burntime = 10,
|
|
|
|
})
|
2013-01-22 02:31:28 +01:00
|
|
|
end
|
|
|
|
|
2013-11-27 21:14:11 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:rubber_tree_planks 4",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:rubber_tree_trunk_empty"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-02-22 04:35:31 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:moretrees_leaves",
|
|
|
|
burntime = 1,
|
|
|
|
})
|
|
|
|
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
-- Food recipes!
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:coconut_milk", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Coconut Milk"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_coconut_milk_inv.png",
|
|
|
|
wield_image = "moretrees_coconut_milk.png",
|
2020-08-25 19:31:39 +02:00
|
|
|
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
|
|
|
|
groups = {vessel = 1},
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:raw_coconut", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Raw Coconut"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_raw_coconut.png",
|
|
|
|
on_use = minetest.item_eat(4),
|
|
|
|
})
|
|
|
|
|
2016-05-18 22:54:19 +02:00
|
|
|
minetest.register_craftitem("moretrees:date", {
|
|
|
|
description = S("Date"),
|
|
|
|
inventory_image = "moretrees_date.png",
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
|
Add recipes with dates (and nuts, and coconut)
Using a combination of dates, nuts and coconut, an extremely high
energy date-nut cake can be baked (32 units of food). It's main purpose
is to be a very concentrated transport mechanism of food, but it can be
used for instant replenishment of a starving soul. In practise, it will
be used to craft date-nut energy bars, which merely have a good
nutritional value (4 units).
Because of its exceptional nature, the cake requires special ingredients
(all three types of nuts, as well as coconuts), and given the ingredients,
3 steps are needed (including one cooking step) to bake it. All of the
ingredients themselves, except dates, are not found in nature, but must
also be prepared.
2016-05-20 12:33:10 +02:00
|
|
|
minetest.register_craftitem("moretrees:date_nut_snack", {
|
|
|
|
description = S("Date & nut snack"),
|
|
|
|
inventory_image = "moretrees_date_nut_snack.png",
|
|
|
|
on_use = minetest.item_eat(4),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:date_nut_batter", {
|
|
|
|
description = S("Date-nut cake batter"),
|
|
|
|
inventory_image = "moretrees_date_nut_batter.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:date_nut_cake", {
|
|
|
|
description = S("Date-nut cake"),
|
|
|
|
inventory_image = "moretrees_date_nut_cake.png",
|
|
|
|
on_use = minetest.item_eat(32),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:date_nut_bar", {
|
|
|
|
description = S("Date-nut energy bar"),
|
|
|
|
inventory_image = "moretrees_date_nut_bar.png",
|
|
|
|
on_use = minetest.item_eat(4),
|
|
|
|
})
|
|
|
|
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
minetest.register_craftitem("moretrees:acorn_muffin_batter", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Acorn Muffin batter"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_acorn_muffin_batter.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:acorn_muffin", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Acorn Muffin"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_acorn_muffin.png",
|
|
|
|
on_use = minetest.item_eat(4),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:spruce_nuts", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Roasted Spruce Cone Nuts"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_spruce_nuts.png",
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
|
2016-05-18 16:54:45 +02:00
|
|
|
minetest.register_craftitem("moretrees:cedar_nuts", {
|
|
|
|
description = S("Roasted Cedar Cone Nuts"),
|
|
|
|
inventory_image = "moretrees_cedar_nuts.png",
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("moretrees:fir_nuts", {
|
2014-03-12 22:23:43 +01:00
|
|
|
description = S("Roasted Fir Cone Nuts"),
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
inventory_image = "moretrees_fir_nuts.png",
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
|
|
|
|
for i in ipairs(moretrees.cutting_tools) do
|
|
|
|
local tool = moretrees.cutting_tools[i]
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:coconut_milk",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:coconut",
|
|
|
|
"vessels:drinking_glass",
|
|
|
|
tool
|
|
|
|
},
|
|
|
|
replacements = {
|
|
|
|
{ "moretrees:coconut", "moretrees:raw_coconut" },
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2020-08-25 19:31:39 +02:00
|
|
|
|
2020-02-02 15:13:01 +01:00
|
|
|
-- give tool back with wear preserved
|
|
|
|
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
|
|
|
|
if (itemstack:get_name() == "moretrees:coconut_milk") then
|
|
|
|
for i, j in pairs(old_craft_grid) do
|
|
|
|
-- find tool used to do the craft
|
|
|
|
local ocg_name = j:get_name()
|
|
|
|
if ((ocg_name ~= "") and (ocg_name ~= "moretrees:coconut") and (ocg_name ~= "vessels:drinking_glass")) then
|
2020-08-25 19:31:39 +02:00
|
|
|
-- abort if using cutting board
|
|
|
|
if minetest.get_item_group(ocg_name, "food_cutting_board") == 1 then
|
|
|
|
return
|
|
|
|
end
|
2020-02-02 15:13:01 +01:00
|
|
|
-- create a new tool and set wear
|
|
|
|
local t = ItemStack(ocg_name)
|
|
|
|
local w = j:get_wear()
|
|
|
|
-- works if tool used is an axe
|
|
|
|
local uses = j:get_tool_capabilities().groupcaps.choppy.uses or 0
|
|
|
|
if (w == 0 and uses ~= 0) then
|
|
|
|
-- tool has never been used
|
|
|
|
-- use tool once
|
|
|
|
t:set_wear(65535/(9*(uses - 1)))
|
|
|
|
else
|
|
|
|
-- set wear back
|
|
|
|
t:set_wear(w)
|
|
|
|
-- use tool once
|
|
|
|
if (uses ~= 0) then
|
|
|
|
t:add_wear(65535/(9*(uses - 1)))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
-- add to craft inventory
|
|
|
|
craft_inv:add_item("craft", t)
|
|
|
|
end
|
|
|
|
end
|
2020-08-25 19:31:39 +02:00
|
|
|
end
|
2020-02-02 15:13:01 +01:00
|
|
|
end)
|
2013-01-22 02:31:28 +01:00
|
|
|
|
2020-08-25 19:31:39 +02:00
|
|
|
-- coconut milk using food_cutting_board from farming redo
|
|
|
|
if minetest.registered_items["farming:cutting_board"] then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:coconut_milk",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:coconut",
|
|
|
|
"vessels:drinking_glass",
|
|
|
|
"group:food_cutting_board",
|
|
|
|
},
|
|
|
|
replacements = {
|
|
|
|
{ "moretrees:coconut", "moretrees:raw_coconut" },
|
|
|
|
{ "group:food_cutting_board", "farming:cutting_board" },
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
|
Add recipes with dates (and nuts, and coconut)
Using a combination of dates, nuts and coconut, an extremely high
energy date-nut cake can be baked (32 units of food). It's main purpose
is to be a very concentrated transport mechanism of food, but it can be
used for instant replenishment of a starving soul. In practise, it will
be used to craft date-nut energy bars, which merely have a good
nutritional value (4 units).
Because of its exceptional nature, the cake requires special ingredients
(all three types of nuts, as well as coconuts), and given the ingredients,
3 steps are needed (including one cooking step) to bake it. All of the
ingredients themselves, except dates, are not found in nature, but must
also be prepared.
2016-05-20 12:33:10 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:date_nut_snack",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:date",
|
|
|
|
"moretrees:date",
|
|
|
|
"moretrees:date",
|
|
|
|
"moretrees:spruce_nuts",
|
|
|
|
"moretrees:cedar_nuts",
|
|
|
|
"moretrees:fir_nuts",
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
-- The date-nut cake is an exceptional food item due to its highly
|
|
|
|
-- concentrated nature (32 food units). Because of that, it requires
|
|
|
|
-- many different ingredients, and, starting from the base ingredients
|
|
|
|
-- found or harvested in nature, it requires many steps to prepare.
|
|
|
|
local flour
|
|
|
|
if minetest.registered_nodes["farming:flour"] then
|
|
|
|
flour = "farming:flour"
|
|
|
|
else
|
|
|
|
flour = "moretrees:acorn_muffin_batter"
|
|
|
|
end
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:date_nut_batter",
|
|
|
|
recipe = {
|
|
|
|
"moretrees:date_nut_snack",
|
|
|
|
"moretrees:date_nut_snack",
|
|
|
|
"moretrees:date_nut_snack",
|
|
|
|
"moretrees:coconut_milk",
|
|
|
|
"moretrees:date_nut_snack",
|
|
|
|
"moretrees:raw_coconut",
|
|
|
|
"moretrees:coconut_milk",
|
|
|
|
flour,
|
|
|
|
"moretrees:raw_coconut",
|
|
|
|
},
|
|
|
|
replacements = {
|
|
|
|
{ "moretrees:coconut_milk", "vessels:drinking_glass 2" }
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "moretrees:date_nut_cake",
|
|
|
|
recipe = "moretrees:date_nut_batter",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:date_nut_bar 8",
|
|
|
|
recipe = {"moretrees:date_nut_cake"},
|
|
|
|
})
|
|
|
|
|
2013-01-22 02:31:28 +01:00
|
|
|
minetest.register_craft({
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
type = "shapeless",
|
|
|
|
output = "moretrees:acorn_muffin_batter",
|
2013-01-22 02:31:28 +01:00
|
|
|
recipe = {
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
"moretrees:acorn",
|
|
|
|
"moretrees:acorn",
|
|
|
|
"moretrees:acorn",
|
|
|
|
"moretrees:acorn",
|
|
|
|
"moretrees:coconut_milk",
|
|
|
|
},
|
|
|
|
replacements = {
|
|
|
|
{ "moretrees:coconut_milk", "vessels:drinking_glass" }
|
2013-01-22 02:31:28 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
type = "cooking",
|
|
|
|
output = "moretrees:acorn_muffin 4",
|
|
|
|
recipe = "moretrees:acorn_muffin_batter",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "moretrees:spruce_nuts 4",
|
|
|
|
recipe = "moretrees:spruce_cone",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2016-05-18 16:54:45 +02:00
|
|
|
output = "moretrees:cedar_nuts 4",
|
|
|
|
recipe = "moretrees:cedar_cone",
|
Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
2013-04-18 01:30:17 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "moretrees:fir_nuts 4",
|
|
|
|
recipe = "moretrees:fir_cone",
|
2013-01-22 02:31:28 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
|