[Mod] Habitat API [0.5] [habitat]

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
Location: Netherlands
GitHub: bas080
IRC: bas080
In-game: bas080

[Mod] Habitat API [0.5] [habitat]

by Bas080 » Mon Jan 28, 2013 19:59

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
Last edited by Bas080 on Tue Feb 26, 2013 17:59, edited 1 time in total.
 

User avatar
Inocudom
Member
 
Posts: 3018
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Jan 29, 2013 04:35

Would this work alongside the plantlife mod or conflict with it? Your vines work well with it.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
Location: Netherlands
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Tue Jan 29, 2013 08:46

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.
Last edited by Bas080 on Tue Jan 29, 2013 08:47, edited 1 time in total.
 

User avatar
Inocudom
Member
 
Posts: 3018
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Apr 23, 2013 22:09

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.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
Location: Netherlands
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Tue Apr 23, 2013 22:31

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...
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Wed Apr 24, 2013 19:38

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).
A list of my mods can be found here.
 

User avatar
Inocudom
Member
 
Posts: 3018
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Aug 06, 2013 17:53

If this mod doesn't die, voxel_manip could be helpful to it.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 


Return to WIP Mods



Who is online

Users browsing this forum: Teslov and 2 guests