I've run into a rather frustrating problem. In order to be fairly balanced, my mod creates an ascension perk, with the following code
Code:
ap_aksi_igniters = {
icon = "gfx/interface/icons/ascension_perks/ap_aksi_igniters.dds"
potential = {
host_has_dlc = "Utopia"
NOT = {
has_ascension_perk = ap_aksi_igniters
}
}
possible = {
custom_tooltip = {
fail_text = "requires_technology_starbase_4_AND_tech_terrestrial_sculpting"
has_technology = tech_starbase_4
has_technology = "tech_terrestrial_sculpting"
}
}
on_enabled = {
custom_tooltip = "allow_aksi_ignition"
}
ai_weight = {
factor = 10
modifier = {
factor = 2
has_ethic = ethic_pacifist
}
modifier = {
factor = 3
has_ethic = ethic_fanatic_pacifist
}
}
}
I have a 52x60 .dds file, named "ap_aksi_igniters", in the folder "mod\ak_star_ignition\gfx\interface\icons\ascension_perks". However, when playing, the perk shows the 'locked' graphics when it is enabled, and choosing it causes that slot to show the 'empty ascension perk' graphics (I'm guessing these are background graphics showing through?). Everything code-wise is working fine, it just looks really bad. Help?