diff --git a/better_mi/common/governments/civics/~01_bm_civics.txt b/better_mi/common/governments/civics/~01_bm_civics.txt new file mode 100644 index 0000000..bc3352d --- /dev/null +++ b/better_mi/common/governments/civics/~01_bm_civics.txt @@ -0,0 +1,20 @@ +civic_bm_void_machines = { + playable = { has_lithoids = yes } + ai_playable = { has_lithoids = yes } + description = civic_tooltip_void_hive_effects + potential = { + authority = { value = auth_machine_intelligence } + } + random_weight = { + base = @civic_default_random_weight + } + ai_weight = { + base = @ai_civic_default_base_weight + } + + modifier = { + megastructures_cost_mult = -0.05 + megastructure_build_speed_mult = 0.1 + councilor_gestalt_growth_exp_gain = @gestalt_civic_node_xp_rate + } +} \ No newline at end of file diff --git a/better_mi/common/on_actions/~bm_on_actions.txt b/better_mi/common/on_actions/~bm_on_actions.txt new file mode 100644 index 0000000..5325c2e --- /dev/null +++ b/better_mi/common/on_actions/~bm_on_actions.txt @@ -0,0 +1,5 @@ +on_monthly_pulse_country = { + events = { + bm.1 + } +} \ No newline at end of file diff --git a/better_mi/common/ship_sizes/~bm_ship_sizes.txt b/better_mi/common/ship_sizes/~bm_ship_sizes.txt new file mode 100644 index 0000000..8722f9d --- /dev/null +++ b/better_mi/common/ship_sizes/~bm_ship_sizes.txt @@ -0,0 +1,93 @@ +mining_station = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + max_hitpoints = @station_civilian_hp + modifier = { + ship_armor_add = 1000 + ship_evasion_mult = -1 + } + size_multiplier = 1 + fleet_slot_size = 1 + section_slots = { "mid" = { locator = "part1" } } + num_target_locators = 0 + is_space_station = yes + build_block_radius = @build_block_radius_civilian + is_civilian = no + components_add_to_cost = no + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_space_construction" } + class = shipclass_mining_station + is_designable = no + valid_target_aggressive_stance = no + auto_upgrade = yes + + resources = { + category = station_gatherers + cost = { + minerals = 100 + } + cost = { + trigger = { + from = { + OR = { + has_valid_civic = civic_void_hive + has_valid_civic = civic_bm_void_machines + } + } + } + unity = 10 + } + upkeep = { + energy = 1 + } + } +} + +research_station = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + max_hitpoints = @station_civilian_hp + modifier = { + ship_armor_add = 1000 + ship_evasion_mult = -1 + } + size_multiplier = 1 + fleet_slot_size = 1 + section_slots = { "mid" = { locator = "part1" } } + num_target_locators = 1 + is_space_station = yes + build_block_radius = @build_block_radius_civilian + is_civilian = no + components_add_to_cost = no + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_space_construction" } + class = shipclass_research_station + is_designable = no + valid_target_aggressive_stance = no + auto_upgrade = yes + + resources = { + category = station_researchers + cost = { + minerals = 100 + } + cost = { + trigger = { + from = { + OR = { + has_valid_civic = civic_void_hive + has_valid_civic = civic_bm_void_machines + } + } + } + unity = 10 + } + upkeep = { + energy = 1 + } + } +} \ No newline at end of file diff --git a/better_mi/events/~bm_events.txt b/better_mi/events/~bm_events.txt new file mode 100644 index 0000000..0bd6238 --- /dev/null +++ b/better_mi/events/~bm_events.txt @@ -0,0 +1,46 @@ +namespace = bm +event = { + id = bm.1 + hide_window = yes + is_triggered_only = yes + + trigger = { + has_lithoids = yes + any_playable_country = { + has_valid_civic = civic_bm_void_machines + } + } + + immediate = { + every_playable_country = { + limit = { + has_valid_civic = civic_bm_void_machines + NOT = { has_country_flag = void_tactical_machine_cooldown } + } + random_system_within_border = { + limit = { + any_system_planet = { + NOT = { + has_planet_flag = has_megastructure + } + OR = { + AND = { + has_deposit_for = shipclass_mining_station + has_mining_station = no + } + AND = { + has_deposit_for = shipclass_research_station + has_research_station = no + } + } + } + } + system_event = { id = action.725 } + } + set_timed_country_flag = { + flag = void_tactical_machine_cooldown + days = 95 + } + } + } +} \ No newline at end of file diff --git a/better_mi/gfx/interface/icons/governments/civics/civic_bm_void_machines.dds b/better_mi/gfx/interface/icons/governments/civics/civic_bm_void_machines.dds new file mode 100755 index 0000000..b965dd1 Binary files /dev/null and b/better_mi/gfx/interface/icons/governments/civics/civic_bm_void_machines.dds differ diff --git a/better_mi/localisation/~materus_l_english.yml b/better_mi/localisation/~00_bm_l_english.yml similarity index 83% rename from better_mi/localisation/~materus_l_english.yml rename to better_mi/localisation/~00_bm_l_english.yml index e30e4f5..d393df5 100644 --- a/better_mi/localisation/~materus_l_english.yml +++ b/better_mi/localisation/~00_bm_l_english.yml @@ -14,4 +14,7 @@ MACHINE_CANNOT_ENSLAVE_CYBORGS: "$TRIGGER_FAIL$§YCybernetics ascended machine§! cannot enslave cyborg species." trait_pc_materus_machine_preference: "$trait_pc_machine_preference$" - trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" \ No newline at end of file + trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" + + civic_bm_void_machines: "Void Machines" + civic_bm_void_machines_desc: "This Machine Intelligence has made space yet another of its domains. Specially manufactured drones are capable of spending entire life cycles without ever entering a world's atmosphere." diff --git a/better_mi/localisation/~materus_l_polish.yml b/better_mi/localisation/~00_bm_l_polish.yml similarity index 82% rename from better_mi/localisation/~materus_l_polish.yml rename to better_mi/localisation/~00_bm_l_polish.yml index 3d4c354..597173f 100644 --- a/better_mi/localisation/~materus_l_polish.yml +++ b/better_mi/localisation/~00_bm_l_polish.yml @@ -14,4 +14,8 @@ MACHINE_CANNOT_ENSLAVE_CYBORGS: "$TRIGGER_FAIL$Nie można zniewolić cyborgów" trait_pc_materus_machine_preference: "$trait_pc_machine_preference$" - trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" \ No newline at end of file + trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" + + civic_bm_void_machines: "Maszyny pustki" + civic_bm_void_machines_desc: "Ta mechaniczna inteligencja uczyniła próżnię jednym ze swoich królestw. Specjalnie zaprojektowane drony potrafią spędzić cały cykl życiowy bez wlatywania w jakąkolwiek atmosferę." + \ No newline at end of file