I just stumbled over an issue with my custon portrait species just not eating and after a little seach found this...
This is a problem. As soon as you use two mods adding new species classes (which is another such problem as adding portraits to an existing species class leads to similar compatibility issues because of explicite statements of portraits belonging to the species class in the species_class entry rather than letting the portrait state to which species class it belongs in the portrait entry) which both have to overwrite the "is_organic_species" scripted trigger in order to be recognized as organic one of those mods loses.
Why does it not just check, if the species class has archetype = BIOLOGICAL ? This would not cause any such issues.
Code:
is_organic_species = {
OR = {
is_species_class = HUM
is_species_class = MAM
is_species_class = REP
is_species_class = AVI
is_species_class = ART
is_species_class = MOL
is_species_class = FUN
is_species_class = PLANT
}
}
This is a problem. As soon as you use two mods adding new species classes (which is another such problem as adding portraits to an existing species class leads to similar compatibility issues because of explicite statements of portraits belonging to the species class in the species_class entry rather than letting the portrait state to which species class it belongs in the portrait entry) which both have to overwrite the "is_organic_species" scripted trigger in order to be recognized as organic one of those mods loses.
Why does it not just check, if the species class has archetype = BIOLOGICAL ? This would not cause any such issues.