-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wapcaplet's Widget Wishlist Woadmap #53957
Comments
I can imagine that a mod might want to display remaining duration for a number of things where the player is expected to know the duration, such as e.g. spells. For things where the player is expected to know the approximate duration it might also be useful to have widgets with suitable vague terms to indicate the duration (it's probably a bad idea to have a "flight" spell expire while high up in the air, for instance).
Some of these indicated widget thingies might be better done elsewhere, rather than squeezed into the widget framework. Just because it can be widgetisized doesn't mean it's a good idea to do so, or that it's the best way to provide that info... |
Remaining duration for spells is a great idea - this is a case where a more dynamic section will be important, so it can adapt to showing whichever spell(s) you have recently cast. Good point about the relatively static character attributes; I thought of those because they'd be pretty easy to do, but you're right that they probably aren't very useful. For weight, there is already the Thanks for the feedback, I will keep your suggestions in mind. |
The original intention was for widgets to make the sidebar moddable, but I never tried it with a true mod until now. It was pretty easy. Commit adding the mod: wapcaplet@e0d4ab2 As a simple demo, this "SelfAwareSidebar" mod adds two layouts showing numbers for HP, stats, health, and pain, as an homage to our dearly departed Self-Aware trait (#53802). A slim 16-character-wide version: And an extra-wide 60-character version: This is just a proof of concept - showing that mods can easily define their own widgets, layouts, and sidebars. |
I did a little bit of messing around with a custom sidebar mod this morning, and while I didn't get too far, one thing I wish I had was a list of all of the already existing stock widgets somewhere. The last thing I want to do is spend time designing and debugging my own widgets when the game already comes with a perfectly good implementation of what I want. I guess the thing I want here is a piece of documentation that has a list of all stock variable widgets, layout widgets, and "screenshots" of said layout widgets, even if those screenshots are just pre-formatted text blocks representing what they'd look like. |
Good idea, I opened #54186 to work on adding some of these to the docs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Is your feature request related to a problem? Please describe.
Back when I started working on sidebar widgets in #44683, I hoped to eventually make the entire HP/stats/log sidebar "moddable", that is, defined and laid out entirely with JSON declarations, rather than hard-coded, fixed-width display functions.
After many other PRs, my dreams are finally coming to fruition in #51438.
But the journey isn't over, and there are still things to do before this rather game-changing feature can be considered complete.
I am opening this issue to share my planned future direction for widgets, and invite others to collaborate on testing and improving the system before 0.G.
Solution you would like.
Immediate:
Near-term (before 0.G):
data/json/ui/
directory into separate logical filesNice to have:
"widgets": [ [ "row1a", "row1b" ], [ "row2a", "row2b", "row2c" ], [ "row3a" ] ]
Long-term (after 0.G):
display
namespaceOut of scope:
Describe alternatives you have considered.
Trying to do it all myself
Additional context
References:
The text was updated successfully, but these errors were encountered: