From 4c3bd989aa6c4523dd4510bd6e5ae6f5038f3baa Mon Sep 17 00:00:00 2001 From: "FA507RM-KALOSPA\\Kalo" Date: Tue, 14 May 2024 09:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/on_actions/RG_on_actions.txt | 9 ++++ common/script_values/rg_script_values.txt | 14 ++++++ events/RG_machine_event.txt | 58 ++++++++++++++++++++++- 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 common/script_values/rg_script_values.txt diff --git a/common/on_actions/RG_on_actions.txt b/common/on_actions/RG_on_actions.txt index 516fd22..eefdbf4 100644 --- a/common/on_actions/RG_on_actions.txt +++ b/common/on_actions/RG_on_actions.txt @@ -176,3 +176,12 @@ on_space_battle_lost = { rg_skill.15 } } + +on_pop_assembled = { + events = { + crisis.2055 + crisis.2312 + necroids.250 #makes zombie pops + cyber.7 # Limited Cybernetic pops + } +} \ No newline at end of file diff --git a/common/script_values/rg_script_values.txt b/common/script_values/rg_script_values.txt new file mode 100644 index 0000000..22a388b --- /dev/null +++ b/common/script_values/rg_script_values.txt @@ -0,0 +1,14 @@ +rg_count_maid = { + base = 0 + complex_trigger_modifier = { + trigger = count_traits + trigger_scope = pop + parameters = { + limit = { + has_trait = rg_machine_maid_trait + } + } + mode = add + } + # max = 20 +} diff --git a/events/RG_machine_event.txt b/events/RG_machine_event.txt index 4c7bc63..ba10799 100644 --- a/events/RG_machine_event.txt +++ b/events/RG_machine_event.txt @@ -35,4 +35,60 @@ country_event = { } } } -} \ No newline at end of file +} + +# country_event = { +# id = rg_maid.2 +# hide_window = yes +# is_triggered_only = yes +# immediate = { +# every_playable_country = { +# limit = { +# any_owned_species = { +# has_trait = rg_machine_maid_trait +# } +# } +# triggered_planet_modifier = { +# potential = { +# can_assemble_budding_pop = yes +# } +# planet_pop_assembly_organic_add = @plantoid_budding_rate +# mult = value:budding_multiplier +# } +# } +# capital_scope = { +# while = { +# count = 5 +# create_pop = { +# species = event_target:rg_maid_species +# } +# } +# } +# } +# } + +# planet_event = { #Braiiiins +# id = rg_maid.3 +# is_triggered_only = yes +# hide_window = yes +# +# trigger = { +# fromfrom = { +# is_organic_species = yes +# NOT = { has_trait = trait_zombie } +# } +# owner = { has_valid_civic = civic_permanent_employment } +# has_building = building_posthumous_employment_center +# } +# +# immediate = { +# fromfrom = { +# make_pop_zombie = yes +# } +# } +# after = { +# fromfrom = { +# clear_pop_category = yes #To make sure that the zombie pop does not spawn as a non worker strata +# } +# } +# } \ No newline at end of file