Commit Graph

41 Commits

Author SHA1 Message Date
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
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
Vanessa Ezekowitz
c679cf94b7 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).
2013-01-11 11:18:40 -05:00
Vanessa Ezekowitz
750e3aa6ee 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.
2013-01-11 10:29:38 -05:00
Vanessa Ezekowitz
e5706b8cdd typo 2013-01-09 23:24:08 -05:00
Vanessa Ezekowitz
da4bd37efb fixed a minor drop bug in leaves, they were giving unknown items on dig. 2013-01-09 23:22:02 -05:00
Vanessa Ezekowitz
c9e1ac370f got rid of backup files 2013-01-09 22:31:37 -05:00
Vanessa Ezekowitz
c4640971cb tweaked comments at the top of init.lua 2013-01-09 22:30:55 -05:00
Vanessa Ezekowitz
9139a601e2 added dependency info to readme 2013-01-09 21:39:35 -05:00
Vanessa Ezekowitz
58e68582db added readme 2013-01-09 21:38:37 -05:00
Vanessa Ezekowitz
e0837f30d1 first commit 2013-01-09 21:35:50 -05:00