[Help] - Changing Fallen Empire Species via Event

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

Dunraven

Recruit
71 Badges
Jun 30, 2010
2
0
  • Europa Universalis IV: Conquest of Paradise
  • Stellaris: Synthetic Dawn
  • Warlock 2: The Exiled
  • Magicka
  • Leviathan: Warships
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Divine Wind
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • 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
  • Crusader Kings II: Holy Fury
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: No Step Back
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Warlock: Master of the Arcane
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Hi folks,

I've written an even to change the dominant species of a specific fallen empire via event. I want to change the specifics/theme of a particular FE to a specific combination *without* modifying 00_fallen_empire in order to maintain compatibility with as many mods as possible.

For reasons I can't pin down, it doesn't work.

An identical event targeting the Marauders *does* work. It seems to be some sort of problem with the event not firing and/or the effects not executing on the Fallen Empire.

From looking at vanilla events, I know that the country_event type fires for Fallen Empires. So I just genuinely have no idea why it doesn't work.

Just in case it matters, I've tried firing this on_country_start, as well as on_press_begin. I've also tried a version that fires on_start and is a general event just in case Fallen Empires don't get an "on_country_start". That version also does not seem to work.

Does anyone have any ideas?

Code:
country_event = {
    id = grimdarkify_events.2
    hide_window = yes
    is_triggered_only = yes
 
    trigger = { has_civic = civic_lethargic_leadership }

    immediate = {

        create_species = {
            class = "FUN"
            portrait = "orkz"
            name = "Testy"
            plural = "Test"
            adjective = "Test"
            traits = random
            extra_trait_points = 5
            allow_negative_traits = no
        }

        last_created_species = { save_event_target_as = da_testz }

        every_country = {
            limit = {
                is_country_type = fallen_empire
                has_ethic = ethic_fanatic_xenophobe
            }
            change_dominant_species = {
                species = event_target:da_testz
                change_all = yes
            }
        }
    }
}