Age | Commit message (Collapse) | Author |
|
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.
|
|
(planks and trunks are already covered by default mod via wood and tree
groups).
|
|
leaves out of the avoidnodes table, there's really no reason to have them
there and having them causes too much spacing between trees. Reduced the
prevalence of sequoias.
|
|
inclusion of "tree" group for leaves.
|
|
|
|
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.
|
|
disappear (defaults to true). Moved leafdecay code into its own file. Moved
sapling configs into settings.lua
|
|
settings into a separate file. You should disable leaf decay in minetest_game
if you enable it here.
|
|
|
|
wide leaves.
|
|
apple fall when they have nothing to hang onto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to comply with new plantlife API
In addition to that, there have been numerous other, smaller changes:
* Tweaked palm tree model to add coconuts
* Tweaked size of all "fruit" items (really just cones). Rotated their images
in inventory and wield.
* Changed descriptions of sideways trunks to "Sideways Xxxx Trunk"
* Tweaked names of jungle tree leaves to be Jungle Tree Leaves (Xxxx)
* Moved jungletree trunk, sideways trunk, sapling into nodedef loop
* Renamed trunks and trunk tops to bear "_trunk" and "_trunk_top" in their
filenames.
* Added copies of default jungle tree trunks and tops, with naming similar to
the above change.
* Re-arranged init.lua to put all leaves/needles definitions in one place.
* Deleted some outdated textures.
* combined leaves definitions back into main loop with an exception for
jungletrees (if that one is called for, it is skipped, because leaves for
those trees are explicitly defined later)
* Made all leaves drop saplings when dug, 1/20 chance.
* Added leafdecay radii to main tree table but disabled the use of it. To be
implemented in the future. Disabled leaf decay for firs.
|
|
|
|
|
|
and in world.
|
|
recipes for birch, spruce
|
|
|
|
many nodes have to be checked before a tree can spawn. This causes trees to be
just a tad more sparse than intended, but greatly speeds up the map generator.
Worst case drops from thousands of nodes to test per tree type to a 5-15 nodes
per tree type.
|
|
|
|
Changed fir models so that they include the new cones.
|
|
when I was weeding out the legacy names and textures. This should fix
the last of it.
|
|
mods, added aliases for backwards compatibility.
All nodes are named
moretrees:something_sapling,
moretrees:something_trunk
moretrees:something_leaves
moretrees:something_planks
Also, added sideways trunks for all trees and crafting recipes for them, plus
added in the missing trunks -> planks recipes.
|
|
|
|
|
|
|
|
tree code which replaces the default trees.
|
|
in each tree's biome
|
|
|
|
they would normally spawn on.
|
|
|
|
(interval = 500, chance = 10)
|
|
|
|
|
|
|
|
|
|
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!
|
|
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.
|
|
|
|
(growing from saplings still uses an abm, however).
|
|
...rather than using an abm to do so (abms are still used to grow them from
the spawned saplints)
|
|
so some of the last few variables were being set wrong.
|
|
to be closer to water (was radius 30, now 15). Made them grow only at lower
elevations (was -5 to +15, now -5 to +10).
|
|
that trees won't grow on top of stuff line rails, other plants, etc. Also
helps keep them from growing half-way into a wall.
|