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

shinooni

Recruit
26 Badges
Aug 21, 2016
6
0
  • Magicka
  • Sword of the Stars
  • Sword of the Stars II
  • Cities in Motion 2
  • Stellaris: Synthetic Dawn
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Lead and Gold
Hi guys,
I am trying to attempt to make ethic based bias toward how a system generates. eg. if your a pacifist you get surrounding planets that have a forced spawned strategic resource.

The main thing that I am worried about is if I use an IF conditional rule scoped to owner (to do an ethic check) will that pull the Empire that it is generating for or would that just error up?

I have a suspicion it wouldn't work which changes this question to what scope should i use because I am at a loss for how I should structure this?
Cheers guys in advance
 
EDIT: Just looked through the files again, ROOT is what you are best off using.

Owner should work, but if that doesn't FROM should also work. In case that doesn't work you could after the home planet has been assigned do random_system_planet = { limit = { is_capital=yes} owner = { conditional}}.

Also, given the large amounts of ethos you will probably be better off using a Switch rather than several IFs
 
Last edited:
Thank you very much for your reply Axelius and I did not know that stellaris allowed for Switch conditionals. This information will be very useful for when I get home and pull together a test. Once again thank you for the constructive information and feedback; Rather refreshing when compared to other forums.