Artemystra/eclipsephase

Damage bar or health bar?

Opened this issue · 2 comments

Had a discussion today with other players of Eclipse Phase, about using the token resource bars to display health.mental and health.physical.

There was a split of opinion about whether the bars should answer the question "How healthy is the character?" or "How damaged is the character?"

Is it possible to add the inverse values of these properties so that the resource bars could be set up to answer the question "How healthy is the character?"

I believe that this is definitely possible to implement as the whole calculation comes down to just a few values. I would need to have a look into this, but implemented it that way for now, as it was originally "health decimated" and we had the complete opposite discussion.

So the short answer to this is: We will need to implement a way to change this in the settings and let each group decide for themselves, I believe.

That said: It will come with a lot of technical dept in the future when we will further automate the system. This has to be on radar as well.

Agreed.

I implemented the simple part (adding in and calculating the inverted resources) as a PoC for myself. It only exposes those resources so they can be referenced in the token configuration to show on the token bars.

As this was just a PoC for my own edification, and is not finished, I'm not making a PR and won't be working on it in the immediate future, but wanted to capture what I had done already, and let y'all know it's in my personal backlog.

Feature branch : https://github.com/johnhelmuth/eclipsephase/tree/feature/issue-75-flipped-bars

TODO:

  • Update documentation list of the resources.
  • Add setting to apply those resources to other parts of the UI
  • Update templates to use the different resources based on the setting.