realgray-stellaris-mod/common/situations/rg_gray_situations.txt

230 lines
5.1 KiB
Plaintext

situation_rg_gray_mod1 = {
picture = GFX_evt_planet_beam
complete_icon_frame = GFX_situation_outcome_frame_green
complete_icon = GFX_situation_outcome_positive
on_progress_complete = {
custom_tooltip = situation_rg_gray_mod1_finish_tooltip
hidden_effect = {
owner = {
country_event = {
id = rg_story.29
}
}
}
destroy_situation = this
}
on_start = {
owner = {
country_event = {
id = rg_event.9
}
}
}
on_monthly = {
events = {
}
}
stages = {
situation_rg_gray_mod1_stage_1 = {
icon = GFX_situation_stage_1
icon_background = GFX_situation_stage_frame_green
end = 16.5
custom_tooltip = situation_rg_gray_mod1_stage_1_tooltip
on_first_enter = {
event_target:gray_warship = {
set_event_locked = yes
}
owner = {
country_event = {
id = rg_story.23
}
}
}
}
situation_rg_gray_mod1_stage_2 = {
icon = GFX_situation_stage_2
icon_background = GFX_situation_stage_frame_green
end = 33
custom_tooltip = situation_rg_gray_mod1_stage_2_tooltip
on_first_enter = {
owner = {
country_event = {
id = rg_story.24
}
}
}
}
situation_rg_gray_mod1_stage_3 = {
icon = GFX_situation_stage_3
icon_background = GFX_situation_stage_frame_green
end = 50
custom_tooltip = situation_rg_gray_mod1_stage_3_tooltip
on_first_enter = {
owner = {
country_event = {
id = rg_story.25
}
}
}
}
situation_rg_gray_mod1_stage_4 = {
icon = GFX_situation_stage_4
icon_background = GFX_situation_stage_frame_green
end = 66
custom_tooltip = situation_rg_gray_mod1_stage_4_tooltip
on_first_enter = {
owner = {
country_event = {
id = rg_story.26
}
}
}
}
situation_rg_gray_mod1_stage_5 = {
icon = GFX_situation_stage_5
icon_background = GFX_situation_stage_frame_green
end = 82.5
custom_tooltip = situation_rg_gray_mod1_stage_5_tooltip
on_first_enter = {
owner = {
country_event = {
id = rg_story.27
}
}
}
}
situation_rg_gray_mod1_stage_6 = {
icon = GFX_situation_stage_6
icon_background = GFX_situation_stage_frame_green
end = 100
custom_tooltip = situation_rg_gray_mod1_stage_6_tooltip
on_first_enter = {
owner = {
country_event = {
id = rg_story.28
}
}
event_target:gray_warship = {
set_event_locked = no
}
}
}
}
approach = {
name = situation_rg_gray_mod1_approach_1
icon = GFX_situation_approach_research
icon_background = GFX_situation_approach_bg_green
default = yes
on_select = {
if = {
limit = {
NOT = {
has_situation_flag = rg_stage6_locked
}
has_situation_flag = locked
}
set_situation_locked = no
remove_situation_flag = locked
}
event_target:gray_warship = {
set_event_locked = yes
}
custom_tooltip = situation_rg_gray_mod1_approach_1_tooltip
}
triggered_modifier = {
potential = {
has_situation_flag = situation_rg_gray_mod1_stage_5_booster
}
modifier = {
country_physics_research_produces_mult = -1
}
}
triggered_modifier = {
potential = {
has_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
modifier = {
country_engineering_research_produces_mult = -1
}
}
}
approach = {
name = situation_rg_gray_mod1_approach_2
icon = GFX_situation_approach_research
icon_background = GFX_situation_approach_bg_yellow
on_select = {
custom_tooltip = situation_rg_gray_mod1_approach_2_tooltip
set_situation_locked = yes
set_situation_flag = locked
event_target:gray_warship = {
set_event_locked = no
}
}
}
approach = {
name = situation_rg_gray_mod1_approach_3
icon = GFX_situation_approach_research
icon_background = GFX_situation_approach_bg_red
on_select = {
custom_tooltip = situation_rg_gray_mod1_approach_3_tooltip
abort_situation = this
event_target:gray_warship = {
set_event_locked = no
}
}
}
monthly_progress = {
base = 0.1
modifier = {
add = 0.1
desc = situation_rg_gray_mod1_stage_1_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_1_booster
}
modifier = {
add = 0.1
desc = situation_rg_gray_mod1_stage_2_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
modifier = {
subtract = 0.1
desc = situation_rg_gray_mod1_stage_3_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_3_booster
}
modifier = {
subtract = 0.1
desc = situation_rg_gray_mod1_stage_3_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_4_booster
}
modifier = {
add = 0.1
desc = situation_rg_gray_mod1_stage_5_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_5_booster
}
modifier = {
add = 0.1
desc = situation_rg_gray_mod1_stage_6_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_6_booster
}
}
abort_trigger = {
OR = {
NOT = { exists = event_target:gray_warship }
owner = {
NOT = {
has_country_flag = gray_warship_active
}
}
}
}
on_abort = {
owner = {
country_event = {
id = rg_event.10
}
}
destroy_situation = this
}
}