• To the right of each block of script below is a small copy icon. Copy the script for the installation you want to reset.

Installation ##-A

1
2
3
4
5
effect every_system = { limit = { has_star_flag = has_shadowrift_a }
    random_system_planet = { limit = { has_planet_flag = has_shadowrift } save_event_target_as = shadowrift_terminus_planet }
    random_system_megastructure = { limit = { is_megastructure_type = shadowrift_a } remove_megastructure = this }
    spawn_megastructure = { type = shadowrift_a owner = event_target:shadowgate_global_country coords_from = event_target:shadowrift_terminus_planet init_effect = { set_megastructure_flag = shadowrift } } 
}

Installation ##-B

1
2
3
4
5
effect every_system = { limit = { has_star_flag = has_shadowrift_b }
    random_system_planet = { limit = { has_planet_flag = has_shadowrift } save_event_target_as = shadowrift_terminus_planet }
    random_system_megastructure = { limit = { is_megastructure_type = shadowrift_b } remove_megastructure = this }
    spawn_megastructure = { type = shadowrift_b owner = event_target:shadowgate_global_country coords_from = event_target:shadowrift_terminus_planet init_effect = { set_megastructure_flag = shadowrift } } 
}

Installation ##-C

1
2
3
4
5
effect every_system = { limit = { has_star_flag = has_shadowrift_c }
    random_system_planet = { limit = { has_planet_flag = has_shadowrift } save_event_target_as = shadowrift_terminus_planet }
    random_system_megastructure = { limit = { is_megastructure_type = shadowrift_c } remove_megastructure = this }
    spawn_megastructure = { type = shadowrift_c owner = event_target:shadowgate_global_country coords_from = event_target:shadowrift_terminus_planet init_effect = { set_megastructure_flag = shadowrift } } 
}

Installation ##-D

1
2
3
4
5
effect every_system = { limit = { has_star_flag = has_shadowrift_d }
    random_system_planet = { limit = { has_planet_flag = has_shadowrift } save_event_target_as = shadowrift_terminus_planet }
    random_system_megastructure = { limit = { is_megastructure_type = shadowrift_d } remove_megastructure = this }
    spawn_megastructure = { type = shadowrift_d owner = event_target:shadowgate_global_country coords_from = event_target:shadowrift_terminus_planet init_effect = { set_megastructure_flag = shadowrift } } 
}

Installation ##-E

1
2
3
4
5
effect every_system = { limit = { has_star_flag = has_shadowrift_e }
    random_system_planet = { limit = { has_planet_flag = has_shadowrift } save_event_target_as = shadowrift_terminus_planet }
    random_system_megastructure = { limit = { is_megastructure_type = shadowrift_e } remove_megastructure = this }
    spawn_megastructure = { type = shadowrift_e owner = event_target:shadowgate_global_country coords_from = event_target:shadowrift_terminus_planet init_effect = { set_megastructure_flag = shadowrift } } 
}

Dimensional Breaches

  • If the installation has Dimensional Breaches instead of regular shadowrifts, paste the script into notepad and change line 3 and 4's shadowrift_(a/b/c/d/e) to shadowrift_db and copy the altered script.
  • Load your Stellaris save file.
  • Once the game is loaded, open console with the ~ key in the top left of your keyboard.
  • Press CTRL+V on your keyboard to paste the block of script you copied, then press enter to execute the effect. The rifts for that installation should reset and the problem should go away.
Edit
Pub: 27 Jun 2025 04:12 UTC
Views: 6