• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

CaptainGame

Recruit
13 Badges
May 28, 2020
3
0
  • Stellaris
  • Stellaris: Federations
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
None of my custom species have any resource consumption on any resource - no food upkeep, no consumer product upkeep, nothing. All of the vanilla species are fine, which leads me to think it's this bug from a few updates ago again... Would anyone know why I'm still having this problem or how to fix it?
 
Upkeep is unfortunately explicitly tied to Archetype, so that means in order to consume food, your species_archetype (in the species_class file) needs to be set to "BIOLOGICAL"

Custom archetypes do not inherit upkeep even if they are parented to a vanilla archetype soooo... basically custom archetypes are a cool idea with potential, but unusable in practice.
 
  • 1
Reactions:
Upkeep is unfortunately explicitly tied to Archetype, so that means in order to consume food, your species_archetype (in the species_class file) needs to be set to "BIOLOGICAL"

Custom archetypes do not inherit upkeep even if they are parented to a vanilla archetype soooo... basically custom archetypes are a cool idea with potential, but unusable in practice.
Actually. I just learned how you can give a species using a custom Archetype upkeep.
You just need the species_class that uses the new Archetype to also have a resources = {} that lists the upkeeps you want. Im still exploring this, and Im not fully familiar with what categories are needed, but with some work it seems Archetype can be usable.

EDIT:
Better yet!
I figured out how to get default upkeep working!
Turns out the problem is simply that there is a bunch of scripted_triggers checks like is_organic_species filtering out certain upkeeps. Since new Archetypes don't count as biological they get filtered out. Fortunately the file containing is_organic_species is LIOS so the check can can be easily updated to include a new Archetype.
 
Last edited:
Actually. I just learned how you can give a species using a custom Archetype upkeep.
You just need the species_class that uses the new Archetype to also have a resources = {} that lists the upkeeps you want. Im still exploring this, and Im not fully familiar with what categories are needed, but with some work it seems Archetype can be usable.

EDIT:
Better yet!
I figured out how to get default upkeep working!
Turns out the problem is simply that there is a bunch of scripted_triggers checks like is_organic_species filtering out certain upkeeps. Since new Archetypes don't count as biological they get filtered out. Fortunately the file containing is_organic_species is LIOS so the check can can be easily updated to include a new Archetype.
Yes but if you do that, your mod will be incompatible with every other mod that does that. Unless you're making a total conversion, touching vanilla scripted triggers leads to a huge intercompatibility mess.
 
Yes but if you do that, your mod will be incompatible with every other mod that does that. Unless you're making a total conversion, touching vanilla scripted triggers leads to a huge intercompatibility mess.

ok. So its potentially incompatible with other mods, not "unusable". And thats just for the is_organic_species solution.
Manually adding the upkeeps to the species_class' resources entry won't have that problem.
 
See, I... don't know how to manually add the upkeeps. In fact, my recent attempt at adding the BIOLOGICAL flag to everything just broke everything worse. I just downloaded some things off Steam and now I'm trying to duct tape it all back together. Help would... be appreciated.
 
Last edited: