Powerplay: Abilities, Cooldowns and Status Effects Kit
README.md
icons
Vector glyphs for every ability and status effect abilitiesKit ships, as SVG documents (viewBox 0 0 64 64) for an svg widget.
Icons.svg(id, color, style?)returns the SVG for one id, drawn incolor.styleis one ofdefault,scifi,fantasy,cartoon(thick dark ink outline),pixel(square caps, chunky strokes, crisp edges) orminimal(thin, no fill). Unknown ids draw a generic star badge.Icons.ids()lists the 26 ability ids, then the 19 effect ids. Ids shared by an ability and the effect it grants (haste, doubleJump, wallJump, sprint) use the same glyph.Icons.has(id)tells you whether an id has its own glyph.Icons.define(id, inner)adds a glyph for a custom ability.inneris SVG markup that uses$cfor the colour and$ofor the soft-fill opacity.lock,chainandgenericare state glyphs the HUD draws over a slot.
The ability bar, the status icons and the gallery all call this module.