Skip to content
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

Misc UI changes/fixes from mainline #171

Merged
merged 10 commits into from
Nov 3, 2020
Merged

Misc UI changes/fixes from mainline #171

merged 10 commits into from
Nov 3, 2020

Conversation

olanti-p
Copy link
Contributor

@olanti-p olanti-p commented Oct 31, 2020

Summary

SUMMARY: Interface "Port various UI improvements from DDA"

Purpose of change

Small stuff for UI usability/consistency/correctness

Describe the solution

CleverRaven#44720
CleverRaven#40087 (made sure it works with 'no lift requirements' mod)
CleverRaven#40276
CleverRaven#40539
CleverRaven#40784
CleverRaven#40561 (ported only useful stuff)
CleverRaven#41102 (doesn't show up if player has low melee skill)
CleverRaven#41195
CleverRaven#41290
CleverRaven#41407 (weapon name erroneously extends onto next line in BN, so this fix still applies)

Describe alternatives you've considered

Testing

Tested each of them briefly to make sure the game doesn't crash and the change actually works.

Additional context

esotericist and others added 10 commits October 31, 2020 12:16
* Use number formats for average melee damage

This slightly changes the "Average melee damage" section of the item
info display panel, to put the labels first, and use <num> formatting
for the bash/cut/pierce damage and critical hit values.

A desired effect of this change is that the item comparison window will
now highlight those numbers in green or red when they are better or
worse than the other item.

* Use distinct critical hit labels

Labeling these uniquely, as "Critical bash", "Critical cut", and
"Critical pierce", allows their numerical values to be compared
appropriately instead of being treated the same for all damage types.
@Coolthulhu Coolthulhu merged commit 7023868 into cataclysmbnteam:upload Nov 3, 2020
@olanti-p olanti-p deleted the ui-changes branch November 3, 2020 09:27
@Coolthulhu
Copy link
Member

That bandit hiding thing isn't perfect, though. Ideally, it would be uncovered when the player gets close enough.
Rest is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants