This is a library to help with the creation of advancement trees, like tech or talent trees. It provides functions and methods for keeping track of player progress in a particular tree. Currently all it provides is some data structures and ways to manipulate them (Check the Github page for the API). You can see a demo of the example use by giving your self a progress_tree:test_book.
Screenshots:
Spoiler
The Demo:
I'm not yet sure if I want to include any formspec-generating things in the library, since it seems like every use would want to do it a bit differently. Is there any interest in formspec-generation, and how would you want it to work?
Last edited by Byakuren on Sun Feb 14, 2016 01:46, edited 2 times in total.
Every time a mod API is left undocumented, a koala dies.
I have some extensions to progress tres in artifice that include things like on_learn, can_learn callbacks, and automated formspec rendering. What do people think of it being ported back to progress_tree? It would be a separate structure, though it would contain an internal progress tree. The most difficult implementation decision at this point would probably be what to name the functions, so it doesn't cause confusion with normal progress trees.
Every time a mod API is left undocumented, a koala dies.