What's your build compatibility
bkoee opened this issue ยท 5 comments
I was looking into making a compatibility mod to bridge your mod with that one. I think it would be very cool to be able to see someone else's attributes when they share their build.
I don't think there's any action for me to take here. Attributes are visible to any mod and do not require mod-specific code to export them.
Short of me reimplementing that entire mod, anyway. I think you should make a feature request to them to export the current attribute values.
My thinking was "if what's your build is installed, show apothic attributes sword widget, when clicked pull up the uuid of the person that shared the build". I was trying to think of how I can inject the other players uuid into your methods and classes and use that bc your implementation is exactly what I'm looking for. Not sure if it's possible looking at attributesGUI. If it's an easy fix on your end then by all means, more so looking for info to slap together a quick mod.
It isn't really reusable. It's designed in such a way that it can only be drawn in-context of an InventoryScreen (which is the player inventory), so at the bare minimum you would need to find a way to make a fake InventoryScreen as well.
After researching, I decided to edit this comment. Since this other mod is lacking weapons, I can maybe listen for when this screen gets rendered and also render an InventoryScreen to show main hand/hotbar items of the other player and lock the slots? Would that then be enough to tie into your attributes screen? Or would it be easier to rebuild something similar to the way you have yours setup? I really like the way you did the tooltip hover showing what is modifying the attributes.
You should ask me to implement this, not him. Apotheosis's api is way better than my mod, I can simply draw a new widget to show the stat, but it's hard for him to draw the info on my screen.
and also I feel like this is not a necessary feature, unless you have like 10+ apotheosis curios that make you confused when calculating.