Conversation
Also changing from stained glass to stained glass panes
Might switch back later if it turns out to be more convenient
|
I just read the code. This looks pretty cool. |
Multi-page GUIs are now separate from regular GUIs
Also moved screen callback to separate function
|
55810ce |
|
@altrisi I think this is ready |
|
Seems handy and the test script demonstrates some cool functions. Thanks for adding the example else reviewing this would take an eternity. I'll being going through this for a while but I don't expect any major errors. |
I actually created it so I could test the script as I added more and more to it. Imaging what a nightmare it would have been otherwise... |
Much like
classes.scl, this will in theory allow players to create their own GUI libraries by declaring a list of functions in a map.Unlike
classes.scl, this might actually be useful, since it abstracts a lot more of the grittier process behind nice-to use functions and syntax. Also, this has more flexibility.Fixes #315
Todo items:
(screen, player, action, data)variables, as well asgui_screenvariable)slot_updateaction to be sent out)Effects ig, gotta read the docsNothing, as it happens)Maybe something with the new smithing templates?Nothing, it seems)on_initfunction or smth like that for pages, so more complex initial setup can be done (useful for enchanting tables and beacons etc.)