1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-11-15 23:10:20 +01:00
Commit Graph

246 Commits

Author SHA1 Message Date
Auke Kok
1c0e3c7215 Fix max search area exceeded crash.
find_nodes_in_area is limited to 82^3 nodes, and will abort
the server if that is exceeded. Assure we never do.
2017-12-15 12:32:53 -08:00
Auke Kok
aac8386b5a Add .luacheckrc. 2017-12-15 11:22:22 -08:00
Vanessa Ezekowitz
c9add9b24d remove some debug prints 2017-08-12 20:26:33 -04:00
Vanessa Ezekowitz
f9d12a9def explicitly describe on-generated saplings 2017-08-12 20:17:53 -04:00
Vanessa Ezekowitz
82744f4a96 don't add "waving" to default leaves/jungle leaves
(they already have it now)
2017-08-12 20:09:14 -04:00
Vanessa Ezekowitz
e5d30fed3d whitespace fixes in tree_biomes.txt 2017-08-12 20:06:43 -04:00
Vanessa Ezekowitz
4e4636d6fe get rid of old "sideways" trunks crafts 2017-08-12 20:01:05 -04:00
Vanessa Ezekowitz
922058700d spacing fixes 2017-08-12 19:04:02 -04:00
Vanessa Ezekowitz
cccfb1953b remove acacia trees entirely.
they're handled by minetest_game now (have been for a while)
only some aliases and an "avoid" setting for other trees remain.
2017-08-12 18:59:41 -04:00
Vanessa Ezekowitz
f3a740f07e generate saplings by default 2017-06-17 19:40:39 -04:00
Vanessa Ezekowitz
37e39a9ba7 fix broken leafdecay on jungle tree and fir tree 2017-03-30 21:51:58 -04:00
Vanessa Ezekowitz
3d7bcca134 set is_ground_content properly
to prevent cavegen griefing on everything but saplings
2017-03-15 13:04:48 -04:00
Vanessa Ezekowitz
2967c107d8 use new minetest_game leafdecay API 2017-03-14 20:26:59 -04:00
Vanessa Ezekowitz
f83f167d18 adapt plantlike leaves' scale for current engine 2017-02-10 09:48:20 -05:00
Vanessa Ezekowitz
471a11f92d pine_sapling_ongen -> cedar_sapling_ongen alias 2016-08-21 15:56:02 -04:00
Vanessa Ezekowitz
b00d4f4a18 Merge pull request #27 from Rogier-5/new-screenshot
New screenshot
2016-07-03 04:53:11 -04:00
Vanessa Ezekowitz
5735554d6a Merge pull request #26 from Rogier-5/poplar
Add poplar tree
2016-07-03 04:52:27 -04:00
Rogier
23ac37fc4c Add new screenshot featuring all trees & instructions for recreating it
The previous screenshot showed only a few of the available trees.
The new one shows all of them (except acacia, which is disabled,
and in the default game anyway, and beech).

As finding a suitable spot where even a significant proportion of
trees is only visible at all is near impossible, this scene was
crafted, and instructions and a script for recreating it are included.
2016-07-03 08:30:16 +02:00
Rogier
d72574d288 Add poplar tree
Poplars exist in two kinds: small and large trees. Both use the same
nodes, except for the sapling. Poplar leaves may drop one or the
other sapling.

Poplar trees require a humid environment, and water nearby.
Provided there is water, an occasional poplar will grow under less humid
conditions.
2016-07-03 07:16:36 +02:00
Vanessa Ezekowitz
8aa4888dee Merge pull request #25 from Rogier-5/date-palm
Adding date palm & improvement to coconut palm
2016-07-02 20:59:52 -04:00
Rogier
9028366407 fixup! Add date palm
Some textual improvements
2016-07-01 11:11:48 +02:00
Rogier
9dd610e0e6 fixup! Add date palm
Add an option to allow dates to grow unpollinated as well.
Female palms will be pollinated randomly.
2016-06-28 19:04:06 +02:00
Rogier
75e8027bf7 Make cocos palm regrow coconuts.
This feature is optional, and can be turned off.

Existing cocos trees are converted.
2016-06-27 23:23:54 +02:00
Rogier
c87a169fdd 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-06-27 23:23:54 +02:00
Rogier
afab0692df Add date palm
Spawns in hot and dry desert, but requires water. This makes it a bit harder to
find, but where found, it can be more abundant.
If found in the middle of a desert, its presence indicates a water source below
the surface.

As an additional optional feature, dates (slowly) grow back after harvesting.
2016-06-27 23:23:54 +02:00
Rogier
9ced339ce5 Add dependency on vessels mod
Acorn coconut milk and muffin batter recipes use a drinking glass.
2016-06-27 23:23:54 +02:00
Vanessa Ezekowitz
47980f5c86 Merge pull request #23 from Rogier-5/cedar
Restore previous pine as cedar
2016-05-18 13:06:00 -04:00
Rogier
cd9926f9e5 Restore previous pine as cedar
Commit ad0cbbc0f disabled the previous moretrees pine, and aliased it to the
default minetest pine.  The default pine is a completely different tree though,
with different apppearance and different textures.

This commit restores the previous pine tree, renaming it to cedar to avoid a tree
name clash with the default game. Any existing moretrees pine trees will be
converted to cedar, so that their appearance does not change. Moretrees pine
trees that have already been converted to the default pine tree are not converted
back.
2016-05-18 16:54:45 +02:00
Auke Kok
ee5bc1dfb3 Add screenshot.png 2016-03-27 22:32:39 -07:00
Auke Kok
62eb522948 Adding standard mod files 2016-03-27 21:16:35 -07:00
Vanessa Ezekowitz
8e0eeb5747 fix sapling growth
(biome_lib requires "foo.bar" when using "quoted string" function calls)
2015-08-21 15:31:05 -04:00
Vanessa Ezekowitz
fa3c3c6004 fix alias 2015-08-21 09:07:31 -04:00
Vanessa Ezekowitz
0c596f332e fix copy&paste error in green -> default jungle leaves alias 2015-08-17 18:20:19 -04:00
Vanessa Ezekowitz
1cd2216731 don't copy default settings to user's world folder. 2015-08-15 17:15:08 -04:00
Vanessa Ezekowitz
2aad14a883 fix bad texture refs on saplings 2015-08-15 17:13:18 -04:00
Vanessa Ezekowitz
f59fd56257 use default leaf decay code for everything. 2015-08-15 16:58:17 -04:00
Vanessa Ezekowitz
6694b8da61 made birch, spruce, fir, and jungle trees spawn again
turned out to be I was using foo:bar for their function calls, which
biome_lib filters out (only group defs can use that format).  Changed
them to quoted-string "foo.bar" format.  Also, jungle trees need a
moretrees-specific copy of the default jungle trunk node so that there's
something unique to match against for the density limit.

also, made jungle trees use the same biome settings as giant tree ferns
2015-08-14 14:40:45 -04:00
Vanessa Ezekowitz
2ae8a32aa3 Use default nodes wherever possible
for pines, jungle trees/leaves, acacias
2015-08-14 13:16:51 -04:00
Vanessa Ezekowitz
7a105a0841 don't run the decay code on ANY of the default trees
this also disables decaying default trees and default jungletrees with
the regular default single color leaves
2015-08-14 11:45:13 -04:00
Vanessa Ezekowitz
10ce68961f update to match the renaming of plants_lib --> biome_lib 2015-08-09 10:34:53 -04:00
Vanessa Ezekowitz
ba170ee66e use clone-node method to redefine apple
(only way to add a new group item, for compat with rubenwardy's food mod)
2015-07-30 09:42:47 -04:00
Chris Routh
8276d82bac Add default:dirt_with_dry_grass to acacia_biome. 2015-07-19 16:44:22 -04:00
Vanessa Ezekowitz
ad0cbbc0fa don't define acacia and pine nodes - alias them to the default ones instead 2015-07-19 16:41:55 -04:00
Vanessa Ezekowitz
adecd4b1ea add support for the default stairs mod
renamed the relevant enable setting
2015-07-19 16:00:30 -04:00
Vanessa Ezekowitz
5048d4e894 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:09:47 -05:00
Vanessa Ezekowitz
e7f2beda39 use current intllib API 2014-12-27 01:06:09 -05:00
Vanessa Ezekowitz
bc6acccd47 plantlike leaves images are obsolete now due to fixes in the engine. 2014-12-18 21:36:29 -05:00
Vanessa Ezekowitz
f6dfb6c23e spawn whole trees by default
instead of saplings
2014-10-05 14:15:15 -04:00
Vanessa Ezekowitz
94d1b5f461 set leaves to dissapear on decay by default
instead of dropping as items
2014-10-05 14:13:53 -04:00
mgl
54458de461 Add missing leafdecay for nature_classic apple blossoms, if present 2014-09-10 17:17:41 -04:00