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

Cheexsta

Veni, vidi, vici
60 Badges
Dec 22, 2005
2.897
62
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Mount & Blade: Warband
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Heir to the Throne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
This has probably been around for a while, but I haven't really noticed it until now. The vanilla event 7100 has the following code:

Code:
	option = {
		name = "EVTOPTA7100"
		owner = {
			set_country_flag = diseases_are_spreading
			treasury = -30
			random_character = {
				limit = { not = { traits = unhealthy } }
				add_trait = unhealthy
			}
			random_character = {
				limit = { not = { traits = unhealthy } }
				add_trait = unhealthy
			}
		}
	}
	option = {
		name = "EVTOPTB7100"
		owner = {
			set_country_flag = diseases_are_spreading
			random_character = {
				limit = { not = { traits = unhealthy } }
				add_trait = unhealthy
			}
			random_character = {
				limit = { not = { traits = unhealthy } }
				add_trait = unhealthy
			}
			random_character = {
				limit = { not = { traits = unhealthy } }
				add_trait = unhealthy
			}
		}
		population = -5
	}

But it looks like having multiple random_character switches in an option just makes the game look at the same character multiple times.

rome_17.jpg

rome_16.jpg


I'm guessing this is not WAD ;)
 
Upvote 0
Oh, looks like some of the devs don't know their own code. ;)
Using the same limits in several random character/country/province entries results in the same character/country/province being chosen in all cases.