[Mod/Library] Progress Trees [progress_tree]

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

[Mod/Library] Progress Trees [progress_tree]

by Byakuren » Sat Feb 13, 2016 00:56

Progress Trees

Github: https://github.com/raymoo/progress_tree
Dependencies: None (You need default to use the demo)
License: LGPL3

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


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.
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [Mod/Library] Progress Trees [progress_trees]

by DS-minetest » Sat Feb 13, 2016 16:47

looks interesting
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod/Library] Progress Trees [progress_trees]

by rubenwardy » Sat Feb 13, 2016 22:34

What's the license?
Looks good.
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Mod/Library] Progress Trees [progress_trees]

by Byakuren » Sat Feb 13, 2016 23:35

rubenwardy wrote:What's the license?
Looks good.


I haven't added a license yet, but it will probably be Apache.

EDIT: Just kidding, I decided to do it under LGPL3
Every time a mod API is left undocumented, a koala dies.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod/Library] Progress Trees [progress_trees]

by rubenwardy » Sun Feb 14, 2016 00:34

Please may you use LGPL 2.1 or later, so it's compatible with minetest_game/capturetheflag?
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Mod/Library] Progress Trees [progress_trees]

by Byakuren » Sun Feb 14, 2016 01:38

rubenwardy wrote:Please may you use LGPL 2.1 or later, so it's compatible with minetest_game/capturetheflag?


Ok, done.
Every time a mod API is left undocumented, a koala dies.
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: [Mod/Library] Progress Trees [progress_tree]

by prof-turbo » Sun Feb 14, 2016 18:28

Can't wait to see that in capture the flag server, if it sees light one day :)
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Mod/Library] Progress Trees [progress_tree]

by Byakuren » Wed Feb 24, 2016 22:22

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.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 39 guests

cron