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

12 Commits

Author SHA1 Message Date
unknown
acd599dfe3 add settings from last night 2022-07-05 22:55:12 -04:00
Vanessa Ezekowitz
8a1ebec951 Made settings world-specific - look for moretrees_settings.txt in your world
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.
2013-04-09 00:15:24 -04:00
Vanessa Ezekowitz
4184caa641 removed all code that tries to disable default trees because the minetest dev
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.
2013-04-08 22:54:22 -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
d877bd51bb Added settings to enable/disable each tree type, all default to enabled. 2013-04-06 17:21:11 -04:00
Vanessa Ezekowitz
89e1cb49bd Disable default trees by default (replaces them with beech trees) 2013-03-30 23:31:26 -04:00
Vanessa Ezekowitz
f100397cfd Jungle nodes are defined and used by minetest_game now,
so we don't need them in moretrees anymore.  They're still used by moretrees
to generate out versions of jungletrees, though, and red/green/yellow leaves
are also still provided and defined.
2013-03-19 17:01:09 -04:00
Vanessa Ezekowitz
c854f526d4 put all tree leaves into leaves and moretres_leaves groups, fixed incorrect
inclusion of "tree" group for leaves.
2013-02-13 21:25:24 -05:00
Vanessa Ezekowitz
f0b77c5625 forgot to change a couple of default settings before pushing 2013-02-11 22:11:18 -05:00
Vanessa Ezekowitz
6da6bda95e made leaves depend on the trunks they spawn with to avoid decaying
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.
2013-02-11 22:07:40 -05:00
Vanessa Ezekowitz
a0af3f26de added the ability to redefine apples so that they'll fall when nearby leaves
disappear (defaults to true).  Moved leafdecay code into its own file.  Moved
sapling configs into settings.lua
2013-02-11 12:23:05 -05:00
Vanessa Ezekowitz
1445263d73 Added ability to do leaf decay on default trees, moved several configuration
settings into a separate file.  You should disable leaf decay in minetest_game
if you enable it here.
2013-02-11 12:09:17 -05:00