This repository holds all the icons and definitions of the HOI4 Icon Search website, an application which lists the icons of Hearts of Iron IV to easily find the goal or idea GFX you're looking for.
All rights of "vanilla" icons belong to Paradox Development Studio or Paradox Interactive. All "Kaiserreich" icons are created by the team of the Kaiserreich mod.
- Add the icons as PNG images to
images/goals
folder (orideas
, depending on the type.) - Create new items at the bottom of either
data/goals.yaml
orideas.yaml
, depending on the type.
An item has the following form:
-
name: GFX_goal_socialist_infrastructure
image: GFX_goal_socialist_infrastructure.png
tags:
- Kaiserreich
- KR
- production
- transportation
- name: The in-game name used in a focus tree or idea file, this name will be copied when a user clicks on the icon.
- image: The name of the PNG image (including .png!) that was added in the
images
folder. - tags: Each tag needs to be on its own line, indented by two spaces. Use existing tags as much as possible instead of adding new ones.
❗ Make sure there is a dash (-
) before each item (above the name), and that the name
, image
and tag
are indented by one space.
- If these changes are pushed to the
master
branch, they are immediately visible on the live site. If you do not see any images, there likely is a problem with your formatting. Roll back and/or consult the YAML file via the GitHub interface to see where the error is.