* 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
* Replaced print with minetest.log in init.lua
* Added moretrees_ongen group to ongen saplings
* Added LBM and setting to enable it for non-functional ongen saplings due to biome_lib secession
* Changed LBM run_at_every_load to true
* Fixed luacheck warnings
* Using random interval for node timer, like in the on_generated timer interval
* Update init.lua
* Update node_defs.lua
---------
Co-authored-by: Niklp <nik@niklp.net>
I think this fixes some tree types that were broken. I didn't notice any
poplar trees before this patch and I've seen a few since. I've been
looking for rubber trees and so far haven't found any but there might be
other issues or I may just be unlucky :)
- Check that ethereal version is more than 20220424 so that it doesn't
unload parts of this mod
- Remove optional dependency breaking the multi-mod dependency cycle
ethereal --> bakedclay --> flowerpot --> moretrees --> ethereal.
* 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 :(
- Improve french translation
Warnings:
- many untranslated new strings for German and Spanish translations (some help would be appreciated)
- Inner and Outer Stairs are still badly translated (since there is [no support for this in stairs api yet](https://github.com/minetest/minetest_game/issues/2582)).
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.
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.
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.
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
default jungle tree leaves to be plantlike drawtype.
The default setting is now plantlike. Change moretres_settings.txt in
your world folder if you don't like it.
Rearranged a bit of code to accommodate this.
time. Such saplings will grow very quickly into a tree, compared to a
planted sapling. Defaults to spawning saplings.
add custom jungle tree sapling, alias default one to that, so that
moretrees will be able to grow its own jungle trees.
fix tree density bug
to the one in the moreblocks mod. Got rid of jungle tree planks recipe,
default already has it. But that's not the important part...
Acorns, fir/spruce/pine cones, and coconuts are now edible!
Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts. One cone yields 4 portions of nuts, each of which heals 1/2 heart.
Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat"). Craft one coconut, one drinking glass, and one cutting tool (*see below). Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned. The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.
Coconut milk can be crafted with four acorns to produce acorn muffin batter. One portion of this batter can be cooked into four acorn muffins. Each muffin restores two hearts.
Enjoy :-)
-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:
Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.
(note that stone and wooden axes are deliberately not usable)
folder. If it isn't found, the mod will create it with the contents of
default_settings.txt and then read those default settings and use them.
Otherwise, it will read its settings from the world folder.
team is being completely obstinant about letting me properly disable them from
this mod.
Instead, made beech trees respond to enable flags in settings.lua (disabled by
default). If you want beeches, turn that flag on in settings.lua and remove
the "trees" flag from yourworld/map_meta.txt in the mg_flags line.
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.
and palms require at least +15°C to grow. This is supposed to keep them away
from snow biomes, but the engine doesn't let me tell the snow mod to always
run first. Also please note that due to the load that snow biomes + moretrees
adds to the map generator, well... stuff will look cut off, broken, etc. due
to bugs in the map generator.
rather than just any trunk being enough to stop just any leaves from decaying.
Re-tuned the leaf decay interval/chance values accordingly. Changed a few
variables to avoid possible conflicts. Added a setting to allow one to disable
the new leaf decay code. Moved sapling growth code into its own file. Minor
changes to comments here and there. Got rid of simple trees list (made the
code do various checks in realtime instead, since it's just startup code
anyway). Fixed messed-up crafting for jungle trees; condensed most of the
crafting code into main craft registry loop. Mostly fixed broken aliases of
default jungletrees.