bm: add "Void Machines" civic, machine version of "Void Hive"

This commit is contained in:
Mateusz Słodkowicz 2024-06-08 15:18:11 +02:00
parent 1b23807244
commit 48ff08f2c6
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
7 changed files with 173 additions and 2 deletions

View File

@ -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
}
}

View File

@ -0,0 +1,5 @@
on_monthly_pulse_country = {
events = {
bm.1
}
}

View File

@ -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
}
}
}

View File

@ -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
}
}
}
}

View File

@ -15,3 +15,6 @@
trait_pc_materus_machine_preference: "$trait_pc_machine_preference$" trait_pc_materus_machine_preference: "$trait_pc_machine_preference$"
trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" 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."

View File

@ -15,3 +15,7 @@
trait_pc_materus_machine_preference: "$trait_pc_machine_preference$" trait_pc_materus_machine_preference: "$trait_pc_machine_preference$"
trait_pc_materus_machine_preference_desc: "$trait_pc_machine_preference_desc$" 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ę."