Hey!
I plan on using the achievement system as a task system, where you can work through the tasks to find out more information about the items or blocks in my mod. Due to the vanilla achievement system being pretty much what I need, I was thinking it may be more efficient to hook into that than to code my own replica of it.
I was wondering this. Would it be possible to hook into the achievement system in a way that when an achievement in the GUI is clicked, it opens a second window with text, possibly images, about the achievement? If so, would it be more or less efficient than creating a copy of the system to handle the same functions.
Finally, is there any way to open a specific page in GuiAchievements without the use of ASM? Opening the achievements window works fine, but currentPage is private with no real way of changing it.
Aside from this, I appear to be having an issue with the ids used to register achievements. If I register an achievement with id 3000, it works fine the first time, but upon loading the game a second time it claims the id is taken. This only happens to ids which have been used before, which baffles me as to how to make the game ruinable more than once.
Thanks for any tips or suggestions on how I could possibly go around doing this. Any help is appreciated!
Luis