UI: Move the status effect indicators to the right

As the token square is already busy due to the border, the
status effect indicators get hidden.
Move them entirely to the right of the token, so they don't
conflict anymore.

Do it only for PCs, as NPC tokens do not have the border and
the GM will probably have their token UI open more often, which
would hide the status effect indicators.
This commit is contained in:
trotFunky 2025-06-10 23:00:08 +01:00
parent 3914c979b2
commit b1bde69a7d
4 changed files with 13 additions and 5 deletions

View file

@ -38,10 +38,12 @@ The module supports going back and forth in the combat rounds, as well as going
## Token UI adjustments
Given that we add a border *on* the tokens, it conflicts with the base attribute bars which are drawn over the token's
square.
Given that we add a border *on* the tokens, it conflicts with the base attribute bars and status effect indicators which
are drawn over the token's square.
The token UI adjustments move the two attribute bars below the token, outside its space, first HP then mana.
As this is where the nameplate of the token should be, move it above the token instead.
As this is where the nameplate of the token should be, move it above the token instead.
The status effect indicators are moved entirely outside the token space as well, to the right, but as it is not useful
for NPCs this is only done for PC tokens.
### Limitations