zefram/minetest/moretrees.git
11 years agoadded the ability to redefine apples so that they'll fall when nearby leaves
Vanessa Ezekowitz [Mon, 11 Feb 2013 17:23:05 +0000 (12:23 -0500)]
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

11 years agoAdded ability to do leaf decay on default trees, moved several configuration
Vanessa Ezekowitz [Mon, 11 Feb 2013 17:09:17 +0000 (12:09 -0500)]
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.

11 years agoforgot to account for legacy node name default:jungletree in leafdecay code
Vanessa Ezekowitz [Mon, 11 Feb 2013 16:07:44 +0000 (11:07 -0500)]
forgot to account for legacy node name default:jungletree in leafdecay code

11 years agotuned leaf decay somewhat - palms need a separate ABM because they have such
Vanessa Ezekowitz [Mon, 11 Feb 2013 05:27:58 +0000 (00:27 -0500)]
tuned leaf decay somewhat - palms need a separate ABM because they have such
wide leaves.

11 years agoadded leafdecay, fixed broken birch sideways trunk recipe, made all cones +
Vanessa Ezekowitz [Mon, 11 Feb 2013 05:09:53 +0000 (00:09 -0500)]
added leafdecay, fixed broken birch sideways trunk recipe, made all cones +
apple fall when they have nothing to hang onto.

11 years agoFixed missing facedir on horizontal trunks
Vanessa Ezekowitz [Mon, 11 Feb 2013 04:10:35 +0000 (23:10 -0500)]
Fixed missing facedir on horizontal trunks

11 years agomade leaves drop saplings at a lower rate (was 1/20, now 1/100)
Vanessa Ezekowitz [Thu, 31 Jan 2013 02:51:18 +0000 (21:51 -0500)]
made leaves drop saplings at a lower rate (was 1/20, now 1/100)

11 years agofixed another naming issue
Vanessa Ezekowitz [Sun, 27 Jan 2013 18:17:27 +0000 (13:17 -0500)]
fixed another naming issue

11 years agoFixed naming of planks
Vanessa Ezekowitz [Sun, 27 Jan 2013 18:06:42 +0000 (13:06 -0500)]
Fixed naming of planks

11 years agoforgot to reset sapling growth to normal speed
Vanessa Ezekowitz [Sat, 26 Jan 2013 19:32:22 +0000 (14:32 -0500)]
forgot to reset sapling growth to normal speed

11 years agoMerge branch 'newapi'
Vanessa Ezekowitz [Sat, 26 Jan 2013 03:39:47 +0000 (22:39 -0500)]
Merge branch 'newapi'

11 years agofixed missing jungletree sapling alias
Vanessa Ezekowitz [Fri, 25 Jan 2013 21:36:14 +0000 (16:36 -0500)]
fixed missing jungletree sapling alias

11 years agoModified tree generation and sapling growth calls
Vanessa Ezekowitz [Fri, 25 Jan 2013 04:22:46 +0000 (23:22 -0500)]
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.

11 years agotweaked palm trees model to produce coconuts.
Vanessa Ezekowitz [Fri, 25 Jan 2013 18:04:47 +0000 (13:04 -0500)]
tweaked palm trees model to produce coconuts.

11 years agoadded wood planks for fir trees.
Vanessa Ezekowitz [Tue, 22 Jan 2013 17:58:16 +0000 (12:58 -0500)]
added wood planks for fir trees.

11 years agofixed too-small images for some saplings and cones in inventory
Vanessa Ezekowitz [Tue, 22 Jan 2013 17:51:04 +0000 (12:51 -0500)]
fixed too-small images for some saplings and cones in inventory
and in world.

11 years agofixed recipe for sideways fir trunks, added missing
Vanessa Ezekowitz [Tue, 22 Jan 2013 17:06:47 +0000 (12:06 -0500)]
fixed recipe for sideways fir trunks, added missing
recipes for birch, spruce

11 years agofixed a bug where firs sometimes drew as trunks + cones
Vanessa Ezekowitz [Tue, 22 Jan 2013 16:29:20 +0000 (11:29 -0500)]
fixed a bug where firs sometimes drew as trunks + cones

11 years agoadded an additional density control to the tree biomes to further limit how
Vanessa Ezekowitz [Tue, 22 Jan 2013 04:43:15 +0000 (23:43 -0500)]
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.

11 years agoBetter textures for acorn and spruce, fir, pine cones.
Vanessa Ezekowitz [Tue, 22 Jan 2013 02:49:10 +0000 (21:49 -0500)]
Better textures for acorn and spruce, fir, pine cones.

11 years agoAdded fir cones, more tweaks to weed out old conifer/jungletree refs.
Vanessa Ezekowitz [Tue, 22 Jan 2013 01:52:04 +0000 (20:52 -0500)]
Added fir cones, more tweaks to weed out old conifer/jungletree refs.
Changed fir models so that they include the new cones.

11 years agoForgot some references to the old jungletrees and conifers nodes
Vanessa Ezekowitz [Tue, 22 Jan 2013 01:50:41 +0000 (20:50 -0500)]
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.

11 years agoweeded out all the old node and texture names from jungletree and conifers
Vanessa Ezekowitz [Tue, 22 Jan 2013 01:31:28 +0000 (20:31 -0500)]
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.

11 years agoremoved saplings, added leaves to avoidnodes list
Vanessa Ezekowitz [Sun, 20 Jan 2013 21:15:54 +0000 (16:15 -0500)]
removed saplings, added leaves to avoidnodes list

11 years agodisabled beech trees
Vanessa Ezekowitz [Sun, 20 Jan 2013 20:01:30 +0000 (15:01 -0500)]
disabled beech trees

11 years agofixed missing spruce tree cones
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:57:07 +0000 (14:57 -0500)]
fixed missing spruce tree cones

11 years agoset sapling interval/chance to their defaults, enabled beech
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:53:42 +0000 (14:53 -0500)]
set sapling interval/chance to their defaults, enabled beech
tree code which replaces the default trees.

11 years agoMade surface-based sapling growth depend on surface value
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:43:18 +0000 (14:43 -0500)]
Made surface-based sapling growth depend on surface value
 in each tree's biome

11 years agotypo
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:17:04 +0000 (14:17 -0500)]
typo

11 years agoAdded tweak to make sure planted saplings only grow on the same surfaces as
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:15:33 +0000 (14:15 -0500)]
Added tweak to make sure planted saplings only grow on the same surfaces as
they would normally spawn on.

11 years agofixed birch and spruce always appearing above their planted saplings
Vanessa Ezekowitz [Sun, 20 Jan 2013 19:04:10 +0000 (14:04 -0500)]
fixed birch and spruce always appearing above their planted saplings

11 years agodisable debugging info, set sapling growth values to normal
Vanessa Ezekowitz [Sun, 20 Jan 2013 18:51:34 +0000 (13:51 -0500)]
disable debugging info, set sapling growth values to normal
(interval = 500, chance = 10)

11 years agoAdded sapling spawning, tuned rarity of some of the trees.
Vanessa Ezekowitz [Sun, 20 Jan 2013 18:38:23 +0000 (13:38 -0500)]
Added sapling spawning, tuned rarity of some of the trees.

11 years agochanged default rarity in example at top of biome_defs.lua to 50.
Vanessa Ezekowitz [Sun, 20 Jan 2013 17:35:29 +0000 (12:35 -0500)]
changed default rarity in example at top of biome_defs.lua to 50.

11 years agoAdded rarity control to biomes, all default to 50% for now.
Vanessa Ezekowitz [Sun, 20 Jan 2013 17:01:33 +0000 (12:01 -0500)]
Added rarity control to biomes, all default to 50% for now.

11 years agoupdated the date in init.lua
Vanessa Ezekowitz [Sun, 20 Jan 2013 06:39:00 +0000 (01:39 -0500)]
updated the date in init.lua

11 years agoEnabled several new types of trees, all spawned at mapgen time!
Vanessa Ezekowitz [Sun, 20 Jan 2013 05:01:15 +0000 (00:01 -0500)]
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!

11 years agoWorking on adding a whole new set of trees to the mod
Vanessa Ezekowitz [Sat, 19 Jan 2013 23:36:13 +0000 (18:36 -0500)]
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.

11 years agojust tweaks to the names of some table entries.
Vanessa Ezekowitz [Sat, 19 Jan 2013 07:10:01 +0000 (02:10 -0500)]
just tweaks to the names of some table entries.

11 years agoTransition trees to only spawn at mapgen time instead of using abms
Vanessa Ezekowitz [Sat, 19 Jan 2013 05:45:03 +0000 (00:45 -0500)]
Transition trees to only spawn at mapgen time instead of using abms

(growing from saplings still uses an abm, however).

11 years agomake trees spawn as saplings only at mapgen time
Vanessa Ezekowitz [Sat, 19 Jan 2013 02:35:39 +0000 (21:35 -0500)]
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)

11 years agofixed a bug in conifers generation - I left out a few variable slots
Vanessa Ezekowitz [Mon, 14 Jan 2013 01:37:05 +0000 (20:37 -0500)]
fixed a bug in conifers generation - I left out a few variable slots
so some of the last few variables were being set wrong.

11 years agomade jungle trees spawn farther apart (was 8, now 15 nodes). Made them need
Vanessa Ezekowitz [Sat, 12 Jan 2013 00:36:04 +0000 (19:36 -0500)]
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).

11 years agoAdded feature to check for air surrounding a tree's target spawn location, so
Vanessa Ezekowitz [Fri, 11 Jan 2013 16:54:41 +0000 (11:54 -0500)]
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.

11 years agomade all trees require default:dirt_with_grass in all 8 of the nodes that
Vanessa Ezekowitz [Fri, 11 Jan 2013 16:17:10 +0000 (11:17 -0500)]
made all trees require default:dirt_with_grass in all 8 of the nodes that
surround the spawn point (to keep them from spawning in a desert->grass
transition area).

11 years agoAdded more variety to jungle trees and conifers shapes
Vanessa Ezekowitz [Fri, 11 Jan 2013 15:29:38 +0000 (10:29 -0500)]
Added more variety to jungle trees and conifers shapes

Also improved the look of both a little bit, and re-balanced the spawn/growth
chances, and reduced the wait time sicne we're not using a ton of code to do
this anymore.

Also made the spawn routine clear out any leaves that are in the way of a
spawning tree's trunk, so the trunks don't look like they've been cut by
leaves.

11 years agotypo
Vanessa Ezekowitz [Thu, 10 Jan 2013 04:24:08 +0000 (23:24 -0500)]
typo

11 years agofixed a minor drop bug in leaves, they were giving unknown items on dig.
Vanessa Ezekowitz [Thu, 10 Jan 2013 04:22:02 +0000 (23:22 -0500)]
fixed a minor drop bug in leaves, they were giving unknown items on dig.

11 years agogot rid of backup files
Vanessa Ezekowitz [Thu, 10 Jan 2013 03:31:37 +0000 (22:31 -0500)]
got rid of backup files

11 years agotweaked comments at the top of init.lua
Vanessa Ezekowitz [Thu, 10 Jan 2013 03:30:55 +0000 (22:30 -0500)]
tweaked comments at the top of init.lua

11 years agoadded dependency info to readme
Vanessa Ezekowitz [Thu, 10 Jan 2013 02:39:35 +0000 (21:39 -0500)]
added dependency info to readme

11 years agoadded readme
Vanessa Ezekowitz [Thu, 10 Jan 2013 02:38:37 +0000 (21:38 -0500)]
added readme

11 years agofirst commit
Vanessa Ezekowitz [Thu, 10 Jan 2013 02:35:50 +0000 (21:35 -0500)]
first commit