Log inGet started
World

Powerplay: Abilities, Cooldowns and Status Effects Kit

README.md

Showcase

The abilitiesKit style gallery for a training yard. It shows every bar layout and every status look in all five styles, drawn from the same live AK.barView / AK.effectsView of the local player, so all the sweeps tick together. Each sample is labelled layout · style, and the current world default carries a dot. Clicking a sample makes it the world default, and every "auto" bar and status icon switches to it.

  • mode = "screen" (default): a panel over the game that fits any screen, a phone included. It opens when the local player comes within openNear (8 m) of this entity and closes when they leave. G toggles it anywhere, [ and ] (or its arrows) turn pages, and a small "Styles (G)" button shows while it is closed.
  • mode = "world": one board per page, standing in a row from this entity along yaw every spacing metres. Boards float boardHeight above it and are projected and scaled by distance. They are drawn over the scene, not occluded, and are best read within about 10 m.

Fields: mode, open, openNear, page, target, sample (sample data when there is no character or no active effect), toggleKey, prevKey, nextKey, spacing, yaw, boardHeight, range, preview (also draw while editing). Methods: setPage(n), setOpen(on?) and pageCount().