Open prod0ad opened 1 month ago
Interesting! Good idea!
Nice:) Maybe this could be extended to other things too?
Like default icons for resource, tech, policy (maybe the main branch could be a fallback for sub-policies), unit-type sprite icons etc. Especially the later I see as most useful.
Btw just tested, doesn't seem to work.
New units ignore the unit-type icon, the rest fallback to base game ones. Or to other active perm audiovisual mod they share unit names with, is that intended?
Welp, I done goofed, my bad
It works now on the map. But not in city construction queue, civilopedia and combat screen. Not sure if I've missed any.
Btw I noticed Unciv ram use increase with time (reached up to almost 9 GB and major computer lag). Is this normal, or, since I've never noticed that before even in longer sessions, some new memory leak or something?
That's definitely a problem, but whether it's new or not isn't something I can know 🤔
Before creating
Problem Description
I noticed we can have UnitTypeIcons and thought those could be used as missing specific unit icons of that type. As a placeholder, a design choice, or to save icon space.
Examples: A mod that uses Icons for Classes/types, not specific units. A mod where some units, say heroes, could share the same Icon.
Related Issue Links
No response
Desired Solution
The game reads files as described.
Alternative Approaches
While we're at this, is there a way to hide unused domain categories from civilopedia?
Additional Context
No response