Hi again. Sorry I answer so late. I have read your posts and I must say that your ideas are very good and I think it would greatly enhance Treasurer, when I just would actually built them in. ;-)
I also release version 0.2.0 today which was long overdue. From now on,
Semantic Versioning applies.
Basically this update implements Treasurer groups. Something which you, like2omg, described as “categories”. It basically works like you described. I also have made a few mistakes in the documentation which are fixed now.
About the new groups:
TRMs can put treasures into groups and TSMs can filter out by groups. Any treasure can be assigned to one or more groups. Any TSM can shrink the treasure pool with a list of groups. Only treasures which belong to at least 1 of these groups will be in the pool.
I also suggested some groups in another text file, for a bit standardization. Stuff like “food”, or “crafting_component”, “melee_weapon”, etc. But technically, group names can be chosen freely. Using groups is optional. There is a group “default” in which all treasures go when no group is specified.
The details can be all found in the README file.
Version 0.2.0 is fully backwards-compatible to 0.1.
Download is in attachment.
Also, there’s a Git repository online now, find it at:
http://repo.or.cz/w/minetest_treasurer.gitThis only contains the treasurer mod, not the examples! The examples are in treasurer0.2.0.zip (attachment).
I also distribute a new TRMP. The “P” stands for “pack”. It is a modpack entirely of TRMs. This TRMP is for minetest_game, not only default, so it should be more interesting. It is a bit more balanced than the old example for default. I’ll start with version 0.4.10.0. The version scheme follows the same of minetest_game, appended with a fourth digit, which will increase whenever I update the TRMP as long as minetest_game did not change.
IMO Treasurer seems to be pretty stable. I think I will increase the version number to 1.0.0 as soon like2omg’s other suggestions are implemented.
Maybe, for the future, I try focus more on writing TRMs for many mods, subgames and, more importantly, do more work on TSMs.
I think I could fork the mods pyramids, mines and railcorridors to include Treasurer support. All those mods already use treasure chests, but none of them use Treasurer. I tried to convince the author of the first 2 mods to use Treasurer, but it did not work. I won’t even bother trying with the third one, the author is new to modding. So I decided the only way to get anything done is to fork it and do it myselves. Well, that’s my plan at least.
If you know any other mods which generate treasure chests (or some other kind of treasure) and choose random treasures on their own, please let me know!And maybe I can also use some of my (more or less) own ideas.
Treasurer has a lot of potential, I think. It is about time to use it! :)
Edit:I have converted three mods into TSMs! See the initial post for links.