Sprite (Badge Type)
Badge — an icon in the origin screen, with no tooltip.
The simplest badge: an icon next to the power in the origin-selection screen, with no hover text at all.
Type ID: origins:sprite — a badge type.
Needs the Origins mod. Badges are an Origins concept; core Apoli has no equivalent.
Fields
| Field | Type | Default | Purpose |
|---|---|---|---|
sprite | Identifier | required | Full path to the texture to draw, e.g. my_pack:textures/gui/badge/water.png. |
Examples
Inline on a power:
{
"type": "apoli:swimming",
"badges": [
{
"type": "origins:sprite",
"sprite": "my_pack:textures/gui/badge/water.png"
}
]
} As a standalone badge at data/my_pack/badges/aquatic.json, referenced by id from any power’s badges array:
{
"type": "origins:sprite",
"sprite": "my_pack:textures/gui/badge/water.png"
} Notes
- Because it has no text, a
spritebadge is decoration — reach fororigins:tooltipwhenever the icon needs explaining. spriteis a full texture path, includingtextures/and.png. It is not a sprite-atlas name.