PDA

View Full Version : Ruleset-Specific Icons and Themes



wndrngdru
August 11th, 2025, 23:57
The Cypher System rulesets use a set of custom icons for the target number being rolled against. I'm hoping to redesign these to leverage the ColorManager functions the sidebar uses.

What I'm envisioning is coloring the icons the same color as the chatbox text so that no matter what theme is applied it should "just work" and theme creators don't need to specifically code for the Cypher rulesets.

First, is this possible, i.e., can I use a color variable assigned to text as input to ColorManager instead of assigning a specific color?
Second, I'm presuming I'll need to do some lua magic to make the icons work with ColorManager. Where do I start digging to figure that out?

Moon Wizard
August 12th, 2025, 04:37
Chat assets can not be tinted; so you might be better off creating a generic frame that works with all ruleset around the result graphics, so you can make sure they are always visible.

Regards,
JPG

wndrngdru
August 12th, 2025, 05:59
Ah, shoot. Okay. We'll figure something else out.