• 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.

sommio

Private
6 Badges
Jun 20, 2021
14
12
  • Crusader Kings II
  • Imperator: Rome
  • Crusader Kings III
  • Europa Universalis IV
  • Stellaris
  • Hearts of Iron IV: Cadet
What is the difference between
Code:
potential = {
    uses_district_set = city_world
    exists = owner
    owner = { has_valid_civic = civic_machine_servitor }
}
and
Code:
potential = {
    uses_district_set = city_world
    owner = { exists = owner has_valid_civic = civic_machine_servitor }
}
for example?
 
Potential for an error message aside, if you swap into the owner scope and do the exists = owner check there, then you're doing that check on the owner, not the planet. So you're essentially looking for the planet owner's owner, which I think will always return false, since empires do not have owners.
 
  • 1
Reactions:
Potential for an error message aside, if you swap into the owner scope and do the exists = owner check there, then you're doing that check on the owner, not the planet. So you're essentially looking for the planet owner's owner, which I think will always return false, since empires do not have owners.
The game does not return false, because the game is very indulgent here (the same with species = { exists = species } ).

There also exists planet_owner (but I guess it is not really intended for planet scope ^^).

PS: The need of exists = owner is mostly a bug (as a PDX dev told, and at some point probably superfluous).
 
Last edited: