I have a huge amount of it but I don't seem to have anything to do with it. as far as I can tell as long as you don't have negative food it has no effect whatsoever, so there is not need to ever build agridistricts.
Depends; are some of those species portrait mods? I haven't delved into the code around species classes and portraits much, but I believe basic POP upkeep is defined in those areas. So an outdated (or bugged) mod that adds Portraits (and thus Species Classes) may be missing it. As I've only ever heard of someone having that sort of bug once before, and they were using nothing but a Species Portraits mod, odds are that's probably the problem.Still investigating if it's mod related but I don't think it is, as I mostly have cosmetic ones.
I haven't delved into the code around species classes and portraits much, but I believe basic POP upkeep is defined in those areas.
There's a scripted modifier called is_organic_species that is used to determine food consumption. Unfortunately, it only checks the species class, so Humanoid, Mammal, Reptilian, etc. Because of this, if a mod adds a new species class, then it is not considered an organic species by the game. So, the fix for any individual mod is to add their species class to the check, but unfortunately, that overwrites any other mod doing the same. My fix is to make it check that the species is not a robot type species.
I changed
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
}
}
to
is_organic_species = {
NOT = { is_robotic_species = yes }
}
and made sure it overwrites all other mods that try to change it.