2014-12-27 07:20:51 +01:00
|
|
|
local S = plantslib.intllib
|
2014-03-12 19:07:44 +01:00
|
|
|
|
2013-09-28 17:36:36 +02:00
|
|
|
-- Basket
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2013-10-24 04:09:00 +02:00
|
|
|
output = "bushes:basket_empty",
|
2013-09-28 17:36:36 +02:00
|
|
|
recipe = {
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
{ "default:stick", "default:stick", "default:stick" },
|
|
|
|
{ "", "default:stick", "" },
|
2013-09-28 17:36:36 +02:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Sugar
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
|
2013-09-28 17:36:36 +02:00
|
|
|
minetest.register_craftitem(":bushes:sugar", {
|
2014-03-12 19:07:44 +01:00
|
|
|
description = S("Sugar"),
|
2013-09-28 17:36:36 +02:00
|
|
|
inventory_image = "bushes_sugar.png",
|
|
|
|
on_use = minetest.item_eat(1),
|
2014-03-02 15:53:54 +01:00
|
|
|
groups = {food_sugar=1}
|
2013-09-28 17:36:36 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
output = "bushes:sugar 1",
|
2013-09-28 17:36:36 +02:00
|
|
|
recipe = {
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
{ "default:papyrus", "default:papyrus" },
|
2013-09-28 17:36:36 +02:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
for i, berry in ipairs(bushes_classic.bushes) do
|
|
|
|
local desc = bushes_classic.bushes_descriptions[i]
|
2013-09-28 17:36:36 +02:00
|
|
|
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
minetest.register_craftitem(":bushes:"..berry.."_pie_raw", {
|
2014-03-12 19:07:44 +01:00
|
|
|
description = S("Raw "..desc.." pie"),
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
inventory_image = "bushes_"..berry.."_pie_raw.png",
|
2013-11-02 22:12:14 +01:00
|
|
|
on_use = minetest.item_eat(4),
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
})
|
2013-09-28 17:36:36 +02:00
|
|
|
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
if berry ~= "mixed_berry" then
|
2014-05-24 23:28:07 +02:00
|
|
|
|
|
|
|
if berry == "strawberry" and minetest.registered_nodes["farming_plus:strawberry"] then
|
|
|
|
-- Special case for strawberries, when farming_plus is in use. Use
|
|
|
|
-- the item from that mod, but redefine it so it has the right
|
|
|
|
-- groups and does't look so ugly!
|
|
|
|
minetest.register_craftitem(":farming_plus:strawberry_item", {
|
|
|
|
description = S("Strawberry"),
|
|
|
|
inventory_image = "bushes_"..berry..".png",
|
|
|
|
on_use = minetest.item_eat(2),
|
|
|
|
groups = {berry=1, strawberry=1}
|
|
|
|
})
|
|
|
|
minetest.register_alias("bushes:strawberry", "farming_plus:strawberry_item")
|
|
|
|
else
|
|
|
|
minetest.register_craftitem(":bushes:"..berry, {
|
|
|
|
description = desc,
|
|
|
|
inventory_image = "bushes_"..berry..".png",
|
|
|
|
groups = {berry = 1, [berry] = 1},
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
end
|
2014-08-19 05:12:13 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "bushes:"..berry.."_pie_raw 1",
|
|
|
|
recipe = {
|
|
|
|
{ "group:food_sugar", "farming:flour", "group:food_sugar" },
|
|
|
|
{ "group:"..berry, "group:"..berry, "group:"..berry },
|
|
|
|
},
|
|
|
|
})
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
end
|
2013-09-28 17:36:36 +02:00
|
|
|
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
-- Cooked pie
|
2013-09-28 17:36:36 +02:00
|
|
|
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
minetest.register_craftitem(":bushes:"..berry.."_pie_cooked", {
|
2014-03-12 19:07:44 +01:00
|
|
|
description = S("Cooked "..desc.." pie"),
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
inventory_image = "bushes_"..berry.."_pie_cooked.png",
|
2013-11-02 22:12:14 +01:00
|
|
|
on_use = minetest.item_eat(6),
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "bushes:"..berry.."_pie_cooked",
|
|
|
|
recipe = "bushes:"..berry.."_pie_raw",
|
|
|
|
cooktime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
-- slice of pie
|
|
|
|
|
|
|
|
minetest.register_craftitem(":bushes:"..berry.."_pie_slice", {
|
2014-03-12 19:07:44 +01:00
|
|
|
description = S("Slice of "..desc.." pie"),
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
inventory_image = "bushes_"..berry.."_pie_slice.png",
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2013-11-02 22:12:14 +01:00
|
|
|
output = "bushes:"..berry.."_pie_slice 6",
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
recipe = {
|
|
|
|
{ "bushes:"..berry.."_pie_cooked" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Basket with pies
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "bushes:basket_"..berry.." 1",
|
|
|
|
recipe = {
|
2013-10-24 04:11:01 +02:00
|
|
|
{ "bushes:"..berry.."_pie_cooked", "bushes:"..berry.."_pie_cooked", "bushes:"..berry.."_pie_cooked" },
|
Multiple changes
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
2013-10-24 03:51:28 +02:00
|
|
|
{ "", "bushes:basket_empty", "" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2014-08-19 05:16:38 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "bushes:mixed_berry_pie_raw 2",
|
|
|
|
recipe = {
|
|
|
|
{ "group:food_sugar", "farming:flour", "group:food_sugar" },
|
|
|
|
{ "group:berry", "group:berry", "group:berry" },
|
|
|
|
{ "group:berry", "group:berry", "group:berry" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-09-28 17:36:36 +02:00
|
|
|
|