Commit Graph

209 Commits

Author SHA1 Message Date
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
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
Vanessa Ezekowitz
c4f79a76cd just tweaks to the names of some table entries. 2013-01-19 02:10:01 -05:00
Vanessa Ezekowitz
103d75886e Transition trees to only spawn at mapgen time instead of using abms
(growing from saplings still uses an abm, however).
2013-01-19 00:45:03 -05:00
Vanessa Ezekowitz
59a6323ceb make trees spawn as saplings only at mapgen time
...rather than using an abm to do so (abms are still used to grow them from
the spawned saplints)
2013-01-18 21:35:39 -05:00
Vanessa Ezekowitz
a275fd876f fixed a bug in conifers generation - I left out a few variable slots
so some of the last few variables were being set wrong.
2013-01-13 20:37:05 -05:00
Vanessa Ezekowitz
41501b668d made jungle trees spawn farther apart (was 8, now 15 nodes). Made them need
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).
2013-01-11 19:36:04 -05:00
Vanessa Ezekowitz
f05480d78d Added feature to check for air surrounding a tree's target spawn location, so
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.
2013-01-11 11:54:41 -05:00