Page 1 of 1

[Mod] Habitat API [0.5] [habitat]

PostPosted: Mon Jan 28, 2013 19:59
by Bas080
For modders that want to spawn plants or other nodes on world generate

Read readme for instructions

Changelog
0.5
* Improved for loop. Less looping and node checking
0.1
* Spawn plants on generate

Download
https://github.com/bas080/habitat/zipball/master
...or see code https://github.com/bas080/habitat

Development
https://github.com/bas080/habitat/tree/development

Mods using this API
Plants
Swamp

Licence
WTFPL

PostPosted: Tue Jan 29, 2013 04:35
by Inocudom
Would this work alongside the plantlife mod or conflict with it? Your vines work well with it.

PostPosted: Tue Jan 29, 2013 08:46
by Bas080
The mods can be used both at the same time. No problem.

Vines uses plants_lib indeed, Habitat mod is a small mod that is not really in development but has been posted for archiving purposes. Who know's it may be useful one day. Maybe i'll improve the code but the goal is to keep it very simple. plants_lib has much more features!

The only mods that I know of, that use habitat, is swamps and my jungletree mod. My Plants also uses plants_lib from now on unless something unusual happens i will change it back to habitat.

PostPosted: Tue Apr 23, 2013 22:09
by Inocudom
When mapgen v7 comes out, will this mod still be useful, or will it be obsolete? For the swamps, plants, and bamboo mods, this is still used.

PostPosted: Tue Apr 23, 2013 22:31
by Bas080
Inocudom, This mod is dying fast. Newest bamboo now also uses plants_lib. However, this has nothing to do with the V7 mapgen, unless you know something I don't know.

I also choose to use plants_lib for tiny trees.

The reason is because VanessaE's plants_lib has similar features to habitat +20 other features including a feature which lets plants only spawn in certain humidities or temperatures.

Plants will use habitat. I promised you and others a regenerate feature, this will come together with something I have been working on(top secret). I hope you have patience...

PostPosted: Wed Apr 24, 2013 19:38
by Sokomine
Hybrid Doc wrote:It was as slow as my swamps.

:-( Let's hope then that mapgen v7 will be helpful and speed things up. It might also be worth a try to reduce the requirements for your plants (=required nearby nodes).

PostPosted: Tue Aug 06, 2013 17:53
by Inocudom
If this mod doesn't die, voxel_manip could be helpful to it.