Ability Overlays

How abilities look in Palladium's skill tree (the powers screen). Each Infinity Stone's power is drawn in its stone's color (from data/infinity/gauntlet_stones): ability frames, hover boxes, the tab and the connection lines. Any power or single ability, from any mod, can be themed or re-themed by a file in 'assets/[namespace]/ability_overlays/' of a resource pack, mod or addon pack; it is reloaded with resources (F3+T). Settings left out come from the power's file, then the stone's color, and are otherwise worked out from accent_color; a power or ability with neither a stone nor a file is drawn exactly as Palladium draws it. A file at the same path in a higher resource pack replaces a lower one; where different files theme the same target, the one whose ID sorts last wins for each setting it sets. Invalid colors and missing textures are logged ('Ability overlay [file]: ...') and left out; a file without a target is skipped.

Settings:

Setting Type Description Required Fallback Value
ability String The ability to theme, as power#ability (shown in its description with Palladium's addon pack dev mode on). Give this or power false /
power ResourceLocation The power to theme: its tab, its connection lines and all its abilities false /
accent_color String #RRGGBB, or #RRGGBBAA with transparency. The theme's color; every color below that isn't set is worked out from it false the stone's color, else white
frame_color String #RRGGBB, or #RRGGBBAA with transparency. Tint of the frame of an unlocked ability false accent, lightened
locked_color String #RRGGBB, or #RRGGBBAA with transparency. Tint of the frame of a locked ability false accent, dimmed
hover_color String #RRGGBB, or #RRGGBBAA with transparency. Tint of the title bar shown when the ability is hovered false accent, lightened
background_color String #RRGGBB, or #RRGGBBAA with transparency. Tint of the hovered ability's description box; transparency makes it see-through false accent, faint
title_color String #RRGGBB, or #RRGGBBAA with transparency. The hovered ability's name false white
description_color String #RRGGBB, or #RRGGBBAA with transparency. The hovered ability's description false light grey with a touch of accent
tab_color String #RRGGBB, or #RRGGBBAA with transparency. Power files: tint of the power's tab false accent, light
selected_tab_color String #RRGGBB, or #RRGGBBAA with transparency. Power files: tint of the power's tab while it is open false accent, stronger
line_color String #RRGGBB, or #RRGGBBAA with transparency. Power files: connection lines to unlocked abilities false accent
locked_line_color String #RRGGBB, or #RRGGBBAA with transparency. Power files: connection lines to locked abilities false accent, dark
frame_texture ResourceLocation A 26x26 texture (the whole file) drawn as the unlocked ability's frame instead, untinted false Palladium's frame, tinted
locked_frame_texture ResourceLocation A 26x26 texture drawn as the locked ability's frame instead, untinted false Palladium's frame, tinted
background_texture ResourceLocation Power files: an image drawn behind the abilities instead of the power's tiled background, not scrolling. Drawn whole at 1:1 and centered on Palladium's 252x196 window, so the window can be drawn in the middle of a larger canvas false the power's background
window_textures JsonArray Power files: images drawn over the window in order, whole at 1:1 and centered on it; never hidden by the darkening while an ability is hovered false the stone's window art, if any
icon ResourceLocation A 16x16 texture (the whole file) drawn as the ability's icon in the skill tree instead of its own; locked abilities still show the padlock false the ability's icon
locked_icon ResourceLocation A 16x16 texture drawn instead of the padlock while the ability is locked, e.g. for abilities bought for 0 levels that lock themselves again to work as a toggle false the padlock

Example:

{"ability":"infinity:space_stone#teleport","power":"examplemod:frost_powers","window_textures":["infinity:textures/gui/powers/power_stone_details.png","infinity:textures/gui/powers/power_stone_frame.png"]}