diff --git a/common/council_agendas/rg_agenda.txt b/common/council_agendas/rg_agenda.txt index e69de29..685ca6e 100644 --- a/common/council_agendas/rg_agenda.txt +++ b/common/council_agendas/rg_agenda.txt @@ -0,0 +1,24 @@ +rg_agenda_nanotech_unstoppable_swarm = { + agenda_cost = @base_tradition_agenda_cost + allow = { + has_tradition = tr_rg_nanotech_adopt + } + potential = { + has_machine_age_dlc = yes + OR = { + is_individual_machine = yes + is_machine_empire = yes + } + NOR = { + has_cybernetic_ascension = yes + has_country_flag = modularity_traditions_unlocked + has_country_flag = virtuality_traditions_unlocked + } + + } + modifier = { + shipsize_nanite_swarmer_build_speed_mult = 0.20 + ship_nanite_swarmer_cost_mult = -0.15 + } + finish_modifier = agenda_nanotech_unstoppable_swarm_finish +} \ No newline at end of file diff --git a/common/scripted_effects/RG_gray_leader_init_effects.txt b/common/scripted_effects/RG_gray_leader_init_effects.txt index d90e40b..ed84773 100644 --- a/common/scripted_effects/RG_gray_leader_init_effects.txt +++ b/common/scripted_effects/RG_gray_leader_init_effects.txt @@ -33,18 +33,33 @@ rg_gray_govener_init = { } if = { limit = { - OR = { - has_global_flag = has_wsg_mod - has_global_flag = kdc_event_mod_active - } + OR = { + has_global_flag = has_wsg_mod + has_global_flag = kdc_event_mod_active + } } set_leader_flag = "gray_leader" set_leader_flag = gray_leader - add_trait_no_notify = leader_trait_governor_gray - add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_official_governor - add_trait_no_notify = trait_ruler_architectural_sense_3 - add_trait_no_notify = leader_trait_distribution_lines_2 + add_trait = { + trait = leader_trait_governor_gray + show_message = no + } + add_trait = { + trait = RG_leader_trait_ruler_gray + show_message = no + } + add_trait = { + trait = subclass_official_governor + show_message = no + } + add_trait = { + trait = trait_ruler_architectural_sense_3 + show_message = no + } + add_trait = { + trait = leader_trait_distribution_lines_2 + show_message = no + } if = { limit = { owner = { @@ -53,15 +68,33 @@ rg_gray_govener_init = { } } remove_trait = leader_trait_governor_gray - add_trait_no_notify = leader_trait_governor_gray_weak + add_trait = { + trait = leader_trait_governor_gray_weak + show_message = no + } } } else = { - add_trait_no_notify = RG_leader_trait_governor_gray - add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_official_governor - add_trait_no_notify = trait_ruler_architectural_sense_3 - add_trait_no_notify = leader_trait_distribution_lines_2 + add_trait = { + trait = RG_leader_trait_governor_gray + show_message = no + } + add_trait = { + trait = RG_leader_trait_ruler_gray + show_message = no + } + add_trait = { + trait = subclass_official_governor + show_message = no + } + add_trait = { + trait = trait_ruler_architectural_sense_3 + show_message = no + } + add_trait = { + trait = leader_trait_distribution_lines_2 + show_message = no + } } } } @@ -92,11 +125,16 @@ rg_gray_govener_init = { } if = { limit = { - owner = { has_country_flag = married_gray } + owner = { + has_country_flag = married_gray + } } set_leader_flag = married } - set_variable = { which = affection value = owner.wg_gray_affection } + set_variable = { + which = affection + value = owner.wg_gray_affection + } } # if = { # limit = { @@ -113,7 +151,6 @@ rg_gray_govener_init = { rg_set_gray_portrait = yes } } - } rg_gray_commander_init = { @@ -151,14 +188,17 @@ rg_gray_commander_init = { } if = { limit = { - OR = { - has_global_flag = has_wsg_mod - has_global_flag = kdc_event_mod_active - } + OR = { + has_global_flag = has_wsg_mod + has_global_flag = kdc_event_mod_active + } } set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader set_leader_flag = gray_leader - add_trait_no_notify = gray_admiral + add_trait = { + trait = gray_admiral + show_message = no + } if = { limit = { owner = { @@ -167,19 +207,40 @@ rg_gray_commander_init = { } } remove_trait = gray_admiral - add_trait_no_notify = leader_trait_admiral_gray_weak + add_trait = { + trait = leader_trait_admiral_gray_weak + show_message = no + } # 缺少特质leader_trait_admiral_gray_weak将导致KDC故事包远星之歌起源研究纳米星球特殊项目无法完成 } } set_leader_flag = rg_gray_leader - add_trait_no_notify = RG_leader_trait_admiral_gray - add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray + add_trait = { + trait = RG_leader_trait_admiral_gray + show_message = no + } + add_trait = { + trait = RG_leader_trait_admiral_nanorebuild_gray + show_message = no + } # add_trait_no_notify = RG_leader_trait_general_gray_skill # 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成 - add_trait_no_notify = subclass_commander_councilor - add_trait_no_notify = leader_trait_carrier_specialization - add_trait_no_notify = leader_trait_juryrigger_2 - add_trait_no_notify = leader_trait_reinforcer_2 + add_trait = { + trait = subclass_commander_councilor + show_message = no + } + add_trait = { + trait = leader_trait_carrier_specialization + show_message = no + } + add_trait = { + trait = leader_trait_juryrigger_2 + show_message = no + } + add_trait = { + trait = leader_trait_reinforcer_2 + show_message = no + } } } last_created_leader = { @@ -209,11 +270,16 @@ rg_gray_commander_init = { } if = { limit = { - owner = { has_country_flag = married_gray } + owner = { + has_country_flag = married_gray + } } set_leader_flag = married } - set_variable = { which = affection value = owner.wg_gray_affection } + set_variable = { + which = affection + value = owner.wg_gray_affection + } } # add_trait_no_notify = leader_trait_admiral_wg_gray_affection # if = { @@ -234,6 +300,7 @@ rg_gray_commander_init = { RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes RG_leader_trait_general_tempest_incoming_counter_init_effect = yes } + # # rg_gray_admiral_init = { # event_target:rg_gray_country = { @@ -457,7 +524,6 @@ rg_gray_commander_init = { # } # # } - rg_gray_scientist_init = { event_target:rg_gray_country = { create_leader = { @@ -530,11 +596,16 @@ rg_gray_scientist_init = { } if = { limit = { - owner = { has_country_flag = married_gray } + owner = { + has_country_flag = married_gray + } } set_leader_flag = married } - set_variable = { which = affection value = owner.wg_gray_affection } + set_variable = { + which = affection + value = owner.wg_gray_affection + } } # add_trait_no_notify = leader_trait_admiral_wg_gray_affection # if = { @@ -552,7 +623,6 @@ rg_gray_scientist_init = { rg_set_gray_portrait = yes } } - } rg_gray_country_leader_init = { @@ -593,18 +663,48 @@ rg_gray_country_leader_init = { # 暂时和小灰网络断开连接 # set_leader_flag = "gray_leader" # set_leader_flag = gray_leader - add_trait_no_notify = leader_trait_governor_gray - add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_official_governor - add_trait_no_notify = trait_ruler_architectural_sense_3 - add_trait_no_notify = leader_trait_distribution_lines_2 + add_trait = { + trait = leader_trait_governor_gray + show_message = no + } + add_trait = { + trait = RG_leader_trait_ruler_gray + show_message = no + } + add_trait = { + trait = subclass_official_governor + show_message = no + } + add_trait = { + trait = trait_ruler_architectural_sense_3 + show_message = no + } + add_trait = { + trait = leader_trait_distribution_lines_2 + show_message = no + } } else = { - add_trait_no_notify = RG_leader_trait_governor_gray - add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_official_governor - add_trait_no_notify = trait_ruler_architectural_sense_3 - add_trait_no_notify = leader_trait_distribution_lines_2 + add_trait = { + trait = RG_leader_trait_governor_gray + show_message = no + } + add_trait = { + trait = RG_leader_trait_ruler_gray + show_message = no + } + add_trait = { + trait = subclass_official_governor + show_message = no + } + add_trait = { + trait = trait_ruler_architectural_sense_3 + show_message = no + } + add_trait = { + trait = leader_trait_distribution_lines_2 + show_message = no + } } } } @@ -629,4 +729,4 @@ rg_gray_leader_experience_jar = { rg_save_gray_leader_level_effect = yes } } -} \ No newline at end of file +} diff --git a/common/situations/rg_gray_situations.txt b/common/situations/rg_gray_situations.txt index d741804..3dab036 100644 --- a/common/situations/rg_gray_situations.txt +++ b/common/situations/rg_gray_situations.txt @@ -11,7 +11,7 @@ situation_rg_gray_mod1 = { } } } - destroy_situation = this + destroy_situation = this } on_start = { diff --git a/common/traditions/RG_nanotech_tradition.txt b/common/traditions/RG_nanotech_tradition.txt index c37de5e..1755826 100644 --- a/common/traditions/RG_nanotech_tradition.txt +++ b/common/traditions/RG_nanotech_tradition.txt @@ -14,7 +14,7 @@ tr_rg_nanotech_adopt = { } } custom_tooltip = tr_rg_nanotech_adopt_modifier_desc - unlocks_agenda = agenda_nanotech_unstoppable_swarm + unlocks_agenda = rg_agenda_nanotech_unstoppable_swarm #Unlocks nanolab 1 and Starbase building } diff --git a/events/RG_story_event.txt b/events/RG_story_event.txt index 692aab2..f69e631 100644 --- a/events/RG_story_event.txt +++ b/events/RG_story_event.txt @@ -634,795 +634,4 @@ country_event = { id = rg_story.21 } } -} - -country_event = { - id = rg_story.21 - title = "rg_story.21.title" - is_triggered_only = yes - trigger = { - } - picture = GFX_evt_space_dragon - show_sound = evn_fc_observation - desc = { - text = "rg_story.21.desc" - } - option = { - name = rg_story.21.a - default_hide_option = yes - } -} - -# 龙噶了把所有卡住的的模拟龙扫描事件中止 -country_event = { - id = rg_story.22 - hide_window = yes - is_triggered_only = yes - trigger = { - from = { - is_country_type = guardian_dragon - NOR = { - has_country_flag = rubricator_dragon_country - has_country_flag = here_be_the_dragon - } - } - #fromfromfrom = { - # has_fleet_flag = dragon_fleet - #} - } - immediate = { - every_country = { - limit = { - has_special_project = RG_FAKE_DRAGON_SCAN_PROJECT - } - abort_special_project = { - type = RG_FAKE_DRAGON_SCAN_PROJECT - } - } - } -} - -# 开始改造 -country_event = { - id = rg_story.23 - title = rg_story.23.title - desc = rg_story.23.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.23.a - default_hide_option = yes - } - option = { - name = rg_story.23.b - allow = { - resource_stockpile_compare = { - resource = energy - value >= 1500 - } - resource_stockpile_compare = { - resource = alloys - value >= 1500 - } - } - add_resource = { - energy = -1500 - alloys = -1500 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_flag = situation_rg_gray_mod1_stage_1_booster - } - } -} - -country_event = { - id = rg_story.24 - title = rg_story.24.title - desc = rg_story.24.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.24.a - default_hide_option = yes - } - option = { - name = rg_story.24.b - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_flag = situation_rg_gray_mod1_stage_2_booster - } - } -} - -country_event = { - id = rg_story.25 - title = rg_story.25.title - desc = rg_story.25.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.25.a - default_hide_option = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_flag = situation_rg_gray_mod1_stage_3_booster - } - } - option = { - name = rg_story.25.b - allow = { - resource_stockpile_compare = { - resource = energy - value >= 5000 - } - resource_stockpile_compare = { - resource = alloys - value >= 5000 - } - } - add_resource = { - energy = -5000 - alloys = -5000 - } - rg_create_gray_mod1_testship_1 = yes - } -} - -country_event = { - id = rg_story.26 - title = rg_story.26.title - desc = rg_story.26.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.26.a - default_hide_option = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_flag = situation_rg_gray_mod1_stage_4_booster - } - } - option = { - name = rg_story.26.b - add_resource = { - energy = -5000 - alloys = -5000 - } - rg_create_gray_planetkiller_testship_1 = yes - } -} - -country_event = { - id = rg_story.27 - title = rg_story.27.title - desc = rg_story.27.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.27.a - default_hide_option = yes - - } - option = { - name = rg_story.27.b - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_flag = situation_rg_gray_mod1_stage_5_booster - } - } -} - -country_event = { - id = rg_story.28 - title = rg_story.28.title - desc = rg_story.28.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - enable_special_project = { - name = RG_GRAY_MOD1 - location = event_target:gray_owner_capital_starbase - owner = event_target:gray_owner - } - } - option = { - name = rg_story.28.a - default_hide_option = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod1 - } - set_situation_locked = yes - set_situation_flag = locked - set_situation_flag = rg_stage6_locked - set_situation_flag = situation_rg_gray_mod1_stage_6_booster - } - } -} - -country_event = { - id = rg_story.29 - title = rg_story.29.title - desc = rg_story.29.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_2 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.29.a - default_hide_option = yes - } -} - -country_event = { - id = rg_story.30 - title = rg_story.30.title - desc = rg_story.30.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.30.a - default_hide_option = yes - } - option = { - name = rg_story.30.b - enable_special_project = { - name = rg_gray_mod2_stage1_project - # location = event_target:gray_owner_capital_starbase - owner = event_target:gray_owner - } - } -} - -country_event = { - id = rg_story.31 - title = rg_story.31.title - desc = rg_story.31.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.31.a - default_hide_option = yes - } - option = { - name = rg_story.31.b - allow = { - resource_stockpile_compare = { - resource = nanites - value >= 150 - } - } - add_resource = { - nanites = -150 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_2_booster - } - } -} - -country_event = { - id = rg_story.32 - title = rg_story.32.title - desc = rg_story.32.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.32.a - default_hide_option = yes - } -} - -country_event = { - id = rg_story.33 - title = rg_story.33.title - desc = rg_story.33.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.33.a - default_hide_option = yes - } - option = { - name = rg_story.33.b - enable_special_project = { - name = rg_gray_mod2_stage4_project - # location = event_target:gray_owner_capital_starbase - owner = event_target:gray_owner - } - } -} - -country_event = { - id = rg_story.34 - title = rg_story.34.title - desc = rg_story.34.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.34.a - default_hide_option = yes - } - option = { - name = rg_story.34.b - allow = { - resource_stockpile_compare = { - resource = alloys - value >= 1500 - } - resource_stockpile_compare = { - resource = energy - value >= 1500 - } - } - add_resource = { - alloys = -1500 - } - add_resource = { - energy = -1500 - } - rg_create_gray_mod1_testship_2 = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_5_booster - } - } -} - -country_event = { - id = rg_story.35 - title = rg_story.35.title - desc = rg_story.35.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.35.a - default_hide_option = yes - } - option = { - name = rg_story.35.b - allow = { - resource_stockpile_compare = { - resource = alloys - value >= 1500 - } - resource_stockpile_compare = { - resource = energy - value >= 1500 - } - } - add_resource = { - alloys = -1500 - } - add_resource = { - energy = -1500 - } - rg_create_gray_mod1_testship_2 = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_6_booster - } - } -} - -country_event = { - id = rg_story.36 - title = rg_story.36.title - desc = rg_story.36.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.36.a - default_hide_option = yes - } - option = { - name = rg_story.36.b - allow = { - resource_stockpile_compare = { - resource = energy - value >= 4000 - } - resource_stockpile_compare = { - resource = minerals - value >= 1500 - } - } - add_resource = { - alloys = -1500 - } - add_resource = { - energy = -1500 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_7_booster - } - } -} - -country_event = { - id = rg_story.37 - title = rg_story.37.title - desc = rg_story.37.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.37.a - default_hide_option = yes - } - option = { - name = rg_story.37.b - allow = { - resource_stockpile_compare = { - resource = consumer_goods - value >= 3000 - } - } - add_resource = { - consumer_goods = -3000 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_8_booster - } - } -} - -country_event = { - id = rg_story.38 - title = rg_story.38.title - desc = rg_story.38.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.38.a - default_hide_option = yes - } - option = { - name = rg_story.38.b - allow = { - resource_stockpile_compare = { - resource = alloys - value >= 1500 - } - resource_stockpile_compare = { - resource = energy - value >= 1500 - } - } - add_resource = { - alloys = -1500 - } - add_resource = { - energy = -1500 - } - rg_create_gray_mod1_testship_2 = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_9_booster - } - } -} - -country_event = { - id = rg_story.39 - title = rg_story.39.title - desc = rg_story.39.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.39.a - default_hide_option = yes - } - option = { - name = rg_story.39.b - allow = { - resource_stockpile_compare = { - resource = alloys - value >= 3000 - } - } - add_resource = { - alloys = -3000 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_10_booster - } - } -} - -country_event = { - id = rg_story.40 - title = rg_story.40.title - desc = rg_story.40.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.40.a - default_hide_option = yes - } - option = { - name = rg_story.40.b - allow = { - resource_stockpile_compare = { - resource = nanites - value >= 500 - } - } - add_resource = { - alloys = -500 - } - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_flag = situation_rg_gray_mod2_stage_11_booster - } - } -} - -country_event = { - id = rg_story.41 - title = rg_story.41.title - desc = rg_story.41.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - enable_special_project = { - name = RG_GRAY_MOD2 - location = event_target:gray_owner_capital_starbase - owner = event_target:gray_owner - } - } - option = { - name = rg_story.41.a - default_hide_option = yes - random_situation = { - limit = { - is_situation_type = situation_rg_gray_mod2 - } - set_situation_locked = yes - set_situation_flag = locked - set_situation_flag = rg_stage6_locked - } - } -} - -country_event = { - id = rg_story.42 - title = rg_story.42.title - desc = rg_story.42.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - } - option = { - name = rg_story.42.a - default_hide_option = yes - } -} - -country_event = { - id = rg_story.43 - title = rg_story.43.title - desc = rg_story.43.desc - picture = GFX_evt_gray_goo_ships - show_sound = event_radio_chatter - is_triggered_only = yes - trigger = { - NOR = { - has_country_flag = rg_gray_level_1 - has_country_flag = rg_gray_level_3 - } - } - immediate = { - enable_special_project = { - name = RG_GRAY_MOD3 - location = event_target:gray_owner_capital_starbase - owner = event_target:gray_owner - } - } - option = { - name = rg_story.43.a - default_hide_option = yes - } } \ No newline at end of file diff --git a/events/RG_story_event2.txt b/events/RG_story_event2.txt new file mode 100644 index 0000000..6f62763 --- /dev/null +++ b/events/RG_story_event2.txt @@ -0,0 +1,792 @@ +namespace = rg_story + +country_event = { + id = rg_story.21 + title = "rg_story.21.title" + is_triggered_only = yes + trigger = { + } + picture = GFX_evt_space_dragon + show_sound = evn_fc_observation + desc = { + text = "rg_story.21.desc" + } + option = { + name = rg_story.21.a + default_hide_option = yes + } +} + +# 龙噶了把所有卡住的的模拟龙扫描事件中止 +country_event = { + id = rg_story.22 + hide_window = yes + is_triggered_only = yes + trigger = { + from = { + is_country_type = guardian_dragon + NOR = { + has_country_flag = rubricator_dragon_country + has_country_flag = here_be_the_dragon + } + } + #fromfromfrom = { + # has_fleet_flag = dragon_fleet + #} + } + immediate = { + every_country = { + limit = { + has_special_project = RG_FAKE_DRAGON_SCAN_PROJECT + } + abort_special_project = { + type = RG_FAKE_DRAGON_SCAN_PROJECT + } + } + } +} + +# 开始改造 +country_event = { + id = rg_story.23 + title = rg_story.23.title + desc = rg_story.23.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.23.a + default_hide_option = yes + } + option = { + name = rg_story.23.b + allow = { + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + } + add_resource = { + energy = -1500 + alloys = -1500 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_flag = situation_rg_gray_mod1_stage_1_booster + } + } +} + +country_event = { + id = rg_story.24 + title = rg_story.24.title + desc = rg_story.24.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.24.a + default_hide_option = yes + } + option = { + name = rg_story.24.b + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_flag = situation_rg_gray_mod1_stage_2_booster + } + } +} + +country_event = { + id = rg_story.25 + title = rg_story.25.title + desc = rg_story.25.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.25.a + default_hide_option = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_flag = situation_rg_gray_mod1_stage_3_booster + } + } + option = { + name = rg_story.25.b + allow = { + resource_stockpile_compare = { + resource = energy + value >= 5000 + } + resource_stockpile_compare = { + resource = alloys + value >= 5000 + } + } + add_resource = { + energy = -5000 + alloys = -5000 + } + rg_create_gray_mod1_testship_1 = yes + } +} + +country_event = { + id = rg_story.26 + title = rg_story.26.title + desc = rg_story.26.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.26.a + default_hide_option = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_flag = situation_rg_gray_mod1_stage_4_booster + } + } + option = { + name = rg_story.26.b + add_resource = { + energy = -5000 + alloys = -5000 + } + rg_create_gray_planetkiller_testship_1 = yes + } +} + +country_event = { + id = rg_story.27 + title = rg_story.27.title + desc = rg_story.27.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.27.a + default_hide_option = yes + + } + option = { + name = rg_story.27.b + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_flag = situation_rg_gray_mod1_stage_5_booster + } + } +} + +country_event = { + id = rg_story.28 + title = rg_story.28.title + desc = rg_story.28.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + enable_special_project = { + name = RG_GRAY_MOD1 + location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } + } + option = { + name = rg_story.28.a + default_hide_option = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod1 + } + set_situation_locked = yes + set_situation_flag = locked + set_situation_flag = rg_stage6_locked + set_situation_flag = situation_rg_gray_mod1_stage_6_booster + } + } +} + +country_event = { + id = rg_story.29 + title = rg_story.29.title + desc = rg_story.29.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_2 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.29.a + default_hide_option = yes + } +} + +country_event = { + id = rg_story.30 + title = rg_story.30.title + desc = rg_story.30.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.30.a + default_hide_option = yes + } + option = { + name = rg_story.30.b + enable_special_project = { + name = rg_gray_mod2_stage1_project + # location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } + } +} + +country_event = { + id = rg_story.31 + title = rg_story.31.title + desc = rg_story.31.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.31.a + default_hide_option = yes + } + option = { + name = rg_story.31.b + allow = { + resource_stockpile_compare = { + resource = nanites + value >= 150 + } + } + add_resource = { + nanites = -150 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_2_booster + } + } +} + +country_event = { + id = rg_story.32 + title = rg_story.32.title + desc = rg_story.32.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.32.a + default_hide_option = yes + } +} + +country_event = { + id = rg_story.33 + title = rg_story.33.title + desc = rg_story.33.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.33.a + default_hide_option = yes + } + option = { + name = rg_story.33.b + enable_special_project = { + name = rg_gray_mod2_stage4_project + # location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } + } +} + +country_event = { + id = rg_story.34 + title = rg_story.34.title + desc = rg_story.34.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.34.a + default_hide_option = yes + } + option = { + name = rg_story.34.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + } + add_resource = { + alloys = -1500 + } + add_resource = { + energy = -1500 + } + rg_create_gray_mod1_testship_2 = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_5_booster + } + } +} + +country_event = { + id = rg_story.35 + title = rg_story.35.title + desc = rg_story.35.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.35.a + default_hide_option = yes + } + option = { + name = rg_story.35.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + } + add_resource = { + alloys = -1500 + } + add_resource = { + energy = -1500 + } + rg_create_gray_mod1_testship_2 = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_6_booster + } + } +} + +country_event = { + id = rg_story.36 + title = rg_story.36.title + desc = rg_story.36.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.36.a + default_hide_option = yes + } + option = { + name = rg_story.36.b + allow = { + resource_stockpile_compare = { + resource = energy + value >= 4000 + } + resource_stockpile_compare = { + resource = minerals + value >= 1500 + } + } + add_resource = { + alloys = -1500 + } + add_resource = { + energy = -1500 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_7_booster + } + } +} + +country_event = { + id = rg_story.37 + title = rg_story.37.title + desc = rg_story.37.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.37.a + default_hide_option = yes + } + option = { + name = rg_story.37.b + allow = { + resource_stockpile_compare = { + resource = consumer_goods + value >= 3000 + } + } + add_resource = { + consumer_goods = -3000 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_8_booster + } + } +} + +country_event = { + id = rg_story.38 + title = rg_story.38.title + desc = rg_story.38.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.38.a + default_hide_option = yes + } + option = { + name = rg_story.38.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + } + add_resource = { + alloys = -1500 + } + add_resource = { + energy = -1500 + } + rg_create_gray_mod1_testship_2 = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_9_booster + } + } +} + +country_event = { + id = rg_story.39 + title = rg_story.39.title + desc = rg_story.39.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.39.a + default_hide_option = yes + } + option = { + name = rg_story.39.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 3000 + } + } + add_resource = { + alloys = -3000 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_10_booster + } + } +} + +country_event = { + id = rg_story.40 + title = rg_story.40.title + desc = rg_story.40.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.40.a + default_hide_option = yes + } + option = { + name = rg_story.40.b + allow = { + resource_stockpile_compare = { + resource = nanites + value >= 500 + } + } + add_resource = { + alloys = -500 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_11_booster + } + } +} + +country_event = { + id = rg_story.41 + title = rg_story.41.title + desc = rg_story.41.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + enable_special_project = { + name = RG_GRAY_MOD2 + location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } + } + option = { + name = rg_story.41.a + default_hide_option = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_locked = yes + set_situation_flag = locked + set_situation_flag = rg_stage6_locked + } + } +} + +country_event = { + id = rg_story.42 + title = rg_story.42.title + desc = rg_story.42.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + } + option = { + name = rg_story.42.a + default_hide_option = yes + } +} + +country_event = { + id = rg_story.43 + title = rg_story.43.title + desc = rg_story.43.desc + picture = GFX_evt_gray_goo_ships + show_sound = event_radio_chatter + is_triggered_only = yes + trigger = { + NOR = { + has_country_flag = rg_gray_level_1 + has_country_flag = rg_gray_level_3 + } + } + immediate = { + enable_special_project = { + name = RG_GRAY_MOD3 + location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } + } + option = { + name = rg_story.43.a + default_hide_option = yes + } +} \ No newline at end of file