Hello, i have created a custom ringworld system, but i cannot get this event to fire at all.
it should fire once when the game starts the country that controlls it. the system spawns correctly with the flag.
it should fire once when the game starts the country that controlls it. the system spawns correctly with the flag.
Code:
namespace = special_ringworld_e
country_event = {
id = special_ringworld_e.1
title = OK
desc = OK
hide_window = yes
mean_time_to_happen = {
months = 1
}
trigger = {
not = { has_country_flag = special-ringworld-tech-ships }
}
capital_scope = {
solar_system = {
has_star_flag = special_ringworld_system
}
}
}
immediate = {
set_country_flag = special-ringworld-tech-ships
capital_scope = {
create_fleet = { }
last_created_fleet = {
set_owner = ROOT
create_ship = { name = random design = "Avatar" graphical_culture = "fallen_empire_01" }
create_ship = { name = random design = "Eclipse" graphical_culture = "fallen_empire_01" }
create_ship = { name = random design = "Eclipse" graphical_culture = "fallen_empire_01" }
set_location = { target = PREV distance = 45 angle = random }
}
}
}
}