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 classic mod originally by unknown
|
|
|
|
-- now maintained by VanessaE
|
2014-12-27 07:20:51 +01: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
|
|
|
bushes_classic = {}
|
|
|
|
|
2017-08-03 15:02:56 +02:00
|
|
|
-- support for i18n
|
|
|
|
local S = plantlife_i18n.gettext
|
|
|
|
|
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_classic.bushes = {
|
2017-08-03 15:02:56 +02:00
|
|
|
"strawberry",
|
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
|
|
|
"blackberry",
|
|
|
|
"blueberry",
|
|
|
|
"raspberry",
|
|
|
|
"gooseberry",
|
|
|
|
"mixed_berry"
|
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
|
|
|
bushes_classic.bushes_descriptions = {
|
2017-08-03 15:02:56 +02:00
|
|
|
{S("Strawberry"), S("Raw Strawberry pie"), S("Cooked Strawberry pie"), S("Slice of Strawberry pie"), S("Basket with Strawberry pies"), S("Strawberry Bush")},
|
|
|
|
{S("Blackberry"), S("Raw Blackberry pie"), S("Cooked Blackberry pie"), S("Slice of Blackberry pie"), S("Basket with Blackberry pies"), S("Blackberry Bush")},
|
|
|
|
{S("Blueberry"), S("Raw Blueberry pie"), S("Cooked Blueberry pie"), S("Slice of Blueberry pie"), S("Basket with Blueberry pies"), S("Blueberry Bush")},
|
|
|
|
{S("Raspberry"), S("Raw Raspberry pie"), S("Cooked Raspberry pie"), S("Slice of Raspberry pie"), S("Basket with Raspberry pies"), S("Raspberry Bush")},
|
|
|
|
{S("Gooseberry"), S("Raw Gooseberry pie"), S("Cooked Gooseberry pie"), S("Slice of Gooseberry pie"), S("Basket with Gooseberry pies"), S("Gooseberry Bush")},
|
|
|
|
{S("Mixed Berry"), S("Raw Mixed Berry pie"), S("Cooked Mixed Berry pie"), S("Slice of Mixed Berry pie"), S("Basket with Mixed Berry pies"), S("Currently fruitless Bush")}
|
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
|
|
|
bushes_classic.spawn_list = {}
|
2013-09-28 17:36:36 +02:00
|
|
|
|
2015-08-15 17:53:23 +02:00
|
|
|
local modpath = minetest.get_modpath('bushes_classic')
|
|
|
|
dofile(modpath..'/cooking.lua')
|
|
|
|
dofile(modpath..'/nodes.lua')
|
2013-09-28 17:36:36 +02:00
|
|
|
|
2015-08-09 16:11:30 +02:00
|
|
|
biome_lib:spawn_on_surfaces({
|
2013-09-28 17:36:36 +02:00
|
|
|
spawn_delay = 3600,
|
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
|
|
|
spawn_plants = bushes_classic.spawn_list,
|
2013-09-28 17:36:36 +02:00
|
|
|
avoid_radius = 10,
|
|
|
|
spawn_chance = 100,
|
|
|
|
spawn_surfaces = {
|
|
|
|
"default:dirt_with_grass",
|
|
|
|
"woodsoils:dirt_with_leaves_1",
|
|
|
|
"woodsoils:grass_with_leaves_1",
|
2013-11-03 23:46:15 +01:00
|
|
|
"woodsoils:grass_with_leaves_2",
|
|
|
|
"farming:soil",
|
|
|
|
"farming:soil_wet"
|
2013-09-28 17:36:36 +02:00
|
|
|
},
|
|
|
|
avoid_nodes = {"group:bush"},
|
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
|
|
|
seed_diff = 545342534, -- chosen by a fair mashing of the keyboard - guaranteed to be random :P
|
2013-09-28 17:36:36 +02:00
|
|
|
plantlife_limit = -0.1,
|
|
|
|
light_min = 10,
|
|
|
|
temp_min = 0.15, -- approx 20C
|
|
|
|
temp_max = -0.15, -- approx 35C
|
|
|
|
humidity_min = 0, -- 50% RH
|
|
|
|
humidity_max = -1, -- 100% RH
|
|
|
|
})
|
|
|
|
|
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_alias("bushes:basket_pies", "bushes:basket_strawberry")
|
2013-09-28 17:36:36 +02:00
|
|
|
|
2019-01-05 22:50:35 +01:00
|
|
|
print(S("[Bushes_classic] Loaded."))
|