1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-11-05 01:40:38 +01:00
Commit Graph

212 Commits

Author SHA1 Message Date
Vanessa Dannenberg
f45ffc09bf Use a "set" for surface list rather than a plain table
(requires biome_lib from commit a96f015c or later)
2019-05-22 20:03:15 -04:00
Vanessa Dannenberg
e912fba6c8 tweak on-gen to be faster still 2019-05-22 19:16:30 -04:00
Vanessa Dannenberg
7161cfbdee rework how sapling growth is defined
if on-gen, saplings grow per their biome_defs.lua settings
if placed, they grow on the surfaces given in the tables:

* anything but palms will grow on the dirt surfaces
* conifers can also grow on a cold surface, but other trees will not
* only palms can grow on sand, but they will not grow on dirt or cold
2019-05-22 19:09:41 -04:00
Vanessa Dannenberg
a27af10d2e put on_gen saplings into creative inv, adjust description 2019-05-22 18:44:09 -04:00
Vanessa Dannenberg
e474194daf speed up sapling growth.
they're just too damned slow

also sped up the on_gen ones
they were slower than they needed to be
2019-05-22 18:41:03 -04:00
Vanessa Dannenberg
d521e34758 license fixups: use LGPL 3.0 for code, CC-by-SA 4.0 for media 2018-11-08 18:40:16 -05:00
Vanessa Dannenberg
109b2009fb don't register grow actions for "ongen" saplings
if moretrees is not in spawn-saplings mode.
2018-10-25 11:59:44 -04:00
Vanessa Dannenberg
90a2d33707 use swap_node where possible, for speed 2018-10-25 10:27:29 -04:00
Vanessa Dannenberg
61d1c54faf
Merge pull request #45 from yoan31/patch-1
Create fr.txt
2018-05-11 09:05:10 -04:00
Carlos
4e8cfdcd8c Add the translation to Spanish (#35)
* Agrege la traduccion al español

* Actualizado
2018-04-23 20:06:35 -07:00
yoan31
f08f2d46f8
Create fr.txt
French traduction.
2018-04-12 10:27:22 +02:00
Vanessa Dannenberg
324155f805
Merge pull request #41 from HybridDog/settingfix
Use new setting function to fix a warning
2018-01-09 14:36:57 -05:00
Hybrid Dog
e5524c007d follow minetest lua code style guidelines 2018-01-09 20:01:47 +01:00
Vanessa Dannenberg
ae53dc2e9b
Merge pull request #40 from HybridDog/jungfix
Remove obsolete jungletree legacy aliases
2018-01-09 13:10:15 -05:00
Hybrid Dog
ba2cd3d9b8 Use new setting functions 2017-12-30 16:25:26 +01:00
Hybrid Dog
af6d08414b Remove obsolete jungletree legacy aliases
Bas080's jungletree mod from 2013 registered those nodes, so the aliases are very old.
The sumpf modpack uses an updated version of that jungletree mod, so when using sumpf and moretrees together a warning appeared.
2017-12-30 16:23:54 +01:00
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