Commit Graph

67 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
f13f83d9d1 Added stairsplus/circular saw support 2013-04-07 22:42:01 -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
0380556e71 Forgot to manually define sideways jungle tree trunks. 2013-03-19 17:32:16 -04:00
Vanessa Ezekowitz
9e3222e451 removed redundant jungle textures 2013-03-19 17:03:03 -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
VanessaE
3eb576fca6 Update README.md 2013-02-27 13:50:43 -05:00
Vanessa Ezekowitz
6d74d09c9d Added support for spawning small fir trees in snow biomes. Made jungletrees
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.
2013-02-23 12:34:01 -05:00
Vanessa Ezekowitz
d21d4d2fb4 added fuel recipes for saplings, and for moretrees leaves group.
(planks and trunks are already covered by default mod via wood and tree
groups).
2013-02-21 22:35:31 -05:00
Vanessa Ezekowitz
bc86a3e2ab made jungle trees more numerous and able to spread further from water, took
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.
2013-02-20 12:01:47 -05: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
Vanessa Ezekowitz
9208a8bd75 forgot to account for legacy node name default:jungletree in leafdecay code 2013-02-11 11:07:44 -05:00
Vanessa Ezekowitz
c745c613af tuned leaf decay somewhat - palms need a separate ABM because they have such
wide leaves.
2013-02-11 00:27:58 -05:00
Vanessa Ezekowitz
966c5fc4b0 added leafdecay, fixed broken birch sideways trunk recipe, made all cones +
apple fall when they have nothing to hang onto.
2013-02-11 00:09:53 -05:00
Vanessa Ezekowitz
ff976f7151 Fixed missing facedir on horizontal trunks 2013-02-10 23:10:35 -05:00
Vanessa Ezekowitz
bf4d4929f7 made leaves drop saplings at a lower rate (was 1/20, now 1/100) 2013-01-30 21:51:18 -05:00
Vanessa Ezekowitz
b3fd739039 fixed another naming issue 2013-01-27 13:17:27 -05:00
Vanessa Ezekowitz
5bb78cd60f Fixed naming of planks 2013-01-27 13:06:42 -05:00
Vanessa Ezekowitz
0e10584a69 forgot to reset sapling growth to normal speed 2013-01-26 14:32:22 -05:00
Vanessa Ezekowitz
ca379c2886 Merge branch 'newapi' 2013-01-25 22:39:47 -05:00
Vanessa Ezekowitz
ddb17f7e35 fixed missing jungletree sapling alias 2013-01-25 16:36:14 -05:00
Vanessa Ezekowitz
4db9b3076d Modified tree generation and sapling growth calls
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.
2013-01-25 16:10:28 -05:00
Vanessa Ezekowitz
08f3d2b3e3 tweaked palm trees model to produce coconuts. 2013-01-25 13:04:47 -05:00
Vanessa Ezekowitz
6dc817acb0 added wood planks for fir trees. 2013-01-22 12:58:16 -05:00
Vanessa Ezekowitz
44a79f96a2 fixed too-small images for some saplings and cones in inventory
and in world.
2013-01-22 12:51:04 -05:00
Vanessa Ezekowitz
881b1b6aab fixed recipe for sideways fir trunks, added missing
recipes for birch, spruce
2013-01-22 12:06:47 -05:00
Vanessa Ezekowitz
df59dee090 fixed a bug where firs sometimes drew as trunks + cones 2013-01-22 11:29:20 -05:00
Vanessa Ezekowitz
7118057c6b added an additional density control to the tree biomes to further limit how
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.
2013-01-21 23:43:15 -05:00
Vanessa Ezekowitz
3e308b739b Better textures for acorn and spruce, fir, pine cones. 2013-01-21 21:49:10 -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
1b14c24ea1 weeded out all the old node and texture names from jungletree and conifers
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.
2013-01-21 20:31:28 -05:00
Vanessa Ezekowitz
7f5b7065cb removed saplings, added leaves to avoidnodes list 2013-01-20 16:15:54 -05:00
Vanessa Ezekowitz
399671141a disabled beech trees 2013-01-20 15:01:30 -05:00
Vanessa Ezekowitz
f2de625e40 fixed missing spruce tree cones 2013-01-20 14:57:07 -05:00
Vanessa Ezekowitz
8952d61c06 set sapling interval/chance to their defaults, enabled beech
tree code which replaces the default trees.
2013-01-20 14:53:42 -05:00
Vanessa Ezekowitz
d80cfb4a7f Made surface-based sapling growth depend on surface value
in each tree's biome
2013-01-20 14:45:45 -05:00
Vanessa Ezekowitz
cd188b8ad2 typo 2013-01-20 14:17:04 -05:00
Vanessa Ezekowitz
2fff77f195 Added tweak to make sure planted saplings only grow on the same surfaces as
they would normally spawn on.
2013-01-20 14:15:33 -05:00
Vanessa Ezekowitz
70940adb50 fixed birch and spruce always appearing above their planted saplings 2013-01-20 14:04:10 -05:00
Vanessa Ezekowitz
59bfc5ea51 disable debugging info, set sapling growth values to normal
(interval = 500, chance = 10)
2013-01-20 13:51:34 -05:00
Vanessa Ezekowitz
d37d847fdd Added sapling spawning, tuned rarity of some of the trees. 2013-01-20 13:38:23 -05:00
Vanessa Ezekowitz
0125bc13b9 changed default rarity in example at top of biome_defs.lua to 50. 2013-01-20 12:35:29 -05:00
Vanessa Ezekowitz
8cf7f09b0f Added rarity control to biomes, all default to 50% for now. 2013-01-20 12:01:33 -05:00
Vanessa Ezekowitz
e46586a58d updated the date in init.lua 2013-01-20 01:39:00 -05:00