realgray-stellaris-mod/common/special_projects/!_RG_projects_distant_stars...

167 lines
3.0 KiB
Plaintext
Raw Normal View History

# on_fail
# this = country (project owner)
# from = project creation scope (usually equals location)
special_project = {
key = "RG_LCLUSTER_PROJECT"
cost = 0
days_to_research = 180
tech_department = engineering_technology
picture = GFX_evt_surreal_visions
icon = "gfx/interface/icons/situation_log/situation_log_planet.dds"
event_scope = ship_event
requirements = {
shipclass_science_ship = 1
leader = scientist
#skill = 3
}
on_success = {
owner = {
if = {
limit = {
OR = {
2023-06-08 13:11:05 +08:00
has_global_flag = l_cluster_origin # l-cluster plus
has_global_flag = rg_origin_l_cluster # 遥远约定
has_global_flag = gray_origin_activate # 远星之歌
}
}
2023-06-08 13:11:05 +08:00
country_event = {
id = rg_cluster.2
}
}
else = {
2023-06-08 13:11:05 +08:00
country_event = {
id = distar.10950
}
}
}
}
on_fail = {
}
on_start = {
}
abort_trigger = {
2023-06-08 13:11:05 +08:00
has_global_flag = l_cluster_opened # someone else got to it first
}
AI_wait_days = {
base = 0
modifier = {
mid_game_years_passed < 0
subtract = trigger:mid_game_years_passed
}
mult = 360
}
}
special_project = {
key = "RG_GRAY_MOD1"
# cost = 20000
days_to_research = 840
tech_department = engineering_technology
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
picture = GFX_evt_planet_beam
event_scope = ship_event
requirements = {
shipclass_military = 1
2023-11-17 03:46:51 +08:00
leader = commander
has_trait = RG_leader_trait_admiral_gray
}
on_start = {
2023-06-08 13:11:05 +08:00
owner = {
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.9
2023-06-08 13:11:05 +08:00
}
}
}
on_cancel = {
2023-06-08 13:11:05 +08:00
owner = {
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.10
2023-06-08 13:11:05 +08:00
}
}
}
on_success = {
2023-06-08 13:11:05 +08:00
this = {
set_event_locked = no
}
owner = {
2023-06-08 13:11:05 +08:00
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.11
2023-06-08 13:11:05 +08:00
}
}
2023-06-08 13:11:05 +08:00
}
}
special_project = {
key = "RG_GRAY_MOD2"
# cost = 100000
days_to_research = 1840
tech_department = engineering_technology
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
picture = GFX_evt_planet_beam
event_scope = ship_event
requirements = {
shipclass_military = 1
leader = admiral
has_trait = RG_leader_trait_admiral_gray
}
on_start = {
2023-06-08 13:11:05 +08:00
owner = {
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.9
2023-06-08 13:11:05 +08:00
}
}
}
on_cancel = {
2023-06-08 13:11:05 +08:00
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.13
2023-06-08 13:11:05 +08:00
}
}
on_success = {
2023-06-11 17:39:48 +08:00
event_target:gray_warship = {
2023-06-08 13:11:05 +08:00
set_event_locked = no
}
owner = {
2023-06-08 13:11:05 +08:00
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.12
2023-06-08 13:11:05 +08:00
}
}
2023-06-08 13:11:05 +08:00
}
}
special_project = {
key = "RG_GRAY_MOD3"
cost = 200000
# days_to_research = 1840
tech_department = engineering_technology
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
picture = GFX_evt_planet_beam
event_scope = ship_event
requirements = {
shipclass_military = 1
2023-11-17 03:46:51 +08:00
leader = commander
has_trait = RG_leader_trait_admiral_gray
}
on_start = {
2023-06-08 13:11:05 +08:00
owner = {
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.9
2023-06-08 13:11:05 +08:00
}
}
}
on_cancel = {
2023-06-08 13:11:05 +08:00
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.14
2023-06-08 13:11:05 +08:00
}
}
on_success = {
2023-06-08 13:11:05 +08:00
fleet = {
set_event_locked = no
}
owner = {
2023-06-08 13:11:05 +08:00
country_event = {
2023-06-10 17:35:23 +08:00
id = rg_event.15
2023-06-08 13:11:05 +08:00
}
}
2023-06-08 13:11:05 +08:00
}
}