1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-27 03:00:24 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
wsor4035
f49b1c42c9
makes moretrees game agnostic (#37)
* at least boot into minetest

* start using some xcompat materials

* transition some more materials

* translate and default lock some more stuff

* handle more stuff

* translate leaves and bugfix jungle nodes near

* fallback on moretrees spaling texture when default not present

* fix https://github.com/mt-mods/moretrees/pull/37#discussion_r1615147786
2024-05-26 11:08:14 -04:00
wsor4035
e476b81cf5
Divorce biome lib and cleanup code (#11)
* make it boot without biome lib

* make luacheck semi sane

* make fast growth saplings work

* make fast saplings respect nodes there growing on

* make regualr saplings work

* fix some luacheck warnings

* add github actions for luacheck

* bump luacheck line limit, as to gracefully handle long tree rules

* switch over to inline luacheck length rules

* fix screenshot warning

* make tree generation work

* add settings from last night

* comment out new biome lib nonsense added

* tune spawning to be better

* turn down fallback ratio

* translate new abm patch to not use biome lib

* add ethereal since its still behaving badly :(
2022-10-24 19:09:19 -04:00
OgelGames
cbe846dfde remove floating date palm trunk and adjust decay
fixes #6
2022-06-01 17:02:34 +10:00
Louis Royer
ea92403fa3 Add luacheck and fix warnings 2020-08-26 02:11:18 +02: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
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
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
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
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
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
ff0df53829 add acacia trees
grows in the desert near the edges of the biome
2014-08-24 03:14:08 -04:00
Vanessa Ezekowitz
06d28f7870 fixed beech trees using wrong node names 2014-06-14 22:41:14 -04:00
Vanessa Ezekowitz
2f3d7bed0b oops, dropped an alias that caused jungle trees to spawn without trunks!
Fixed by altering the tree model to use the original node.
2013-09-15 01:52:08 -04:00
Vanessa Ezekowitz
4c198fad78 Multiple changes, see below:
Fix replacement of default trees so that it works correctly.  Beeches
now use default tree nodes, but L-systems models.  This redefines the
default tree, wood, leaves, and saplings so that they use moretrees'
textures "Beech" in their descriptions, but only if replacement of
default trees is enabled.

Added backward-compat aliases for this change.

Moved tree replacement mapgen->air aliases to a more logical spot in the
code.

Also, changed out all leaf decay dig_node() calls for nodeupdate(), since the
former calls the latter anyway, and the latter is what does the job.

Increased the palm leaf decay radius to 12.
2013-04-07 22:09:18 -04:00
Vanessa Ezekowitz
08f3d2b3e3 tweaked palm trees model to produce coconuts. 2013-01-25 13:04:47 -05:00
Vanessa Ezekowitz
71e0fce57a Added fir cones, more tweaks to weed out old conifer/jungletree refs.
Changed fir models so that they include the new cones.
2013-01-21 21:08:11 -05:00
Vanessa Ezekowitz
466fb89ec1 Forgot some references to the old jungletrees and conifers nodes
when I was weeding out the legacy names and textures.  This should fix
the last of it.
2013-01-21 20:50:41 -05:00
Vanessa Ezekowitz
f2de625e40 fixed missing spruce tree cones 2013-01-20 14:57:07 -05:00
Vanessa Ezekowitz
2c3345aa04 Enabled several new types of trees, all spawned at mapgen time!
This code will slow the map generator down a little due to bugs therein, and is
generally still in the experimental stages, but it works and is actually quite
fast!
2013-01-20 00:59:42 -05:00
Vanessa Ezekowitz
1bd0afbc84 Working on adding a whole new set of trees to the mod
Most of the added code written by RealBadAngel
Also adds a couple of additional biome controls to jungle trees and conifers.
Also adds a text file describing the biome settings in a human-readable manner.

At present, this doesn't actually add anything new, it just refactors the
code to allow for more trees, and adds a bunch of biome definitions, tree
models, textures, etc. but no code to use them, yet.
2013-01-19 23:26:16 -05:00