diff --git a/common/fallen_empires/RG_fallen_empire.txt b/common/fallen_empires/RG_fallen_empire.txt new file mode 100644 index 0000000..11b84ce --- /dev/null +++ b/common/fallen_empires/RG_fallen_empire.txt @@ -0,0 +1,104 @@ +# Machine +rg_fallen_gray_empire = { + graphical_culture = "fallen_machine_empire_01" + initializer = "rg_fallen_gray_empire" + + weight_modifier = { + base = 1000000 + } + + possible = { + host_has_dlc = "Synthetic Dawn Story Pack" + } + + create_country_effect = { + create_species = { + name = 纳米构造体 + class = RG_MACHINE + portrait = "rg_machine_maid" + traits = { + trait = trait_machine_unit + trait = rg_machine_maid_trait + trait = trait_robot_mass_produced + trait = ramdom_trait + } + extra_trait_points = 3 + allow_negative_traits = no + namelist = MACHINE3 + effect = { + save_event_target_as = rg_fallen_maid_species + } + } + create_country = { + name = 德萨努-纳迪沙协议 + type = fallen_empire + flag = { + icon = { + category = "special" + file = "gray_goo.dds" + } + background = { + category = "backgrounds" + file = "sinus.dds" + } + colors = { + "grey" + "dark_grey" + "null" + "null" + } + } + ignore_initial_colony_error = yes + authority = auth_machine_intelligence + civics = { + civic = civic_machine_remnants + civic = civic_custodian_directives + } + species = last_created_species + ethos = { + ethic = ethic_gestalt_consciousness + } + origin = "origin_fallen_empire" + effect = { + set_country_flag = rg_fallen_empire_machine + add_resource = { + minerals = 10000 + energy = 10000 + food = 1000 + influence = 500 + } + if = { + limit = { host_has_dlc = "Apocalypse" } + give_technology = { + tech = tech_colossus + message = no + } + } + # must initialize global designs here + add_global_ship_design = "NAME_Gray_Omega" + add_global_ship_design = "NAME_Gray_Alpha" + add_global_ship_design = "NAME_Gray_Beta" + add_global_ship_design = "NAME_Gray_Gamma" + add_global_ship_design = "NAME_Gray_Theta" + add_global_ship_design = "NAME_Gray_Tau" + add_global_ship_design = "NAME_Gray_Sigma" + add_global_ship_design = "NAME_Gray_FE_Starbase" + if = { + limit = { + NOT = { + exist = event_target:rg_gray_country_leader + } + } + rg_gray_country_leader_init = yes + set_leader = last_created_leader + } + else = { + set_leader = last_created_leader + } + ruler = { + add_skill = 9 + } + } + } + } +} \ No newline at end of file diff --git a/common/global_ship_designs/RG_fallen_empire_ship_designs.txt b/common/global_ship_designs/RG_fallen_empire_ship_designs.txt new file mode 100644 index 0000000..f841dee --- /dev/null +++ b/common/global_ship_designs/RG_fallen_empire_ship_designs.txt @@ -0,0 +1,591 @@ +############################# +### Fallen Machine Empire ### +############################# + +# Planet Destroyer +ship_design = { + name = "NAME_Gray_Omega" + ship_size = colossus + section = { + template = "SHIP_COLOSSUS_SECTION" + slot = "ship" + + component = { + slot = "PLANET_KILLER_GUN_01" + template = "RG_PLANET_KILLER" + } + component = { + slot = "LARGE_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_4" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_5" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_6" + template = "LARGE_GRAY_MIX_ARMOR" + } + } + required_component="SENSOR_4" + required_component="JUMP_DRIVE_1" + required_component="COLOSSUS_DARK_MATTER_REACTOR" + required_component="COLOSSUS_SHIP_THRUSTER_5" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Massive Ship +ship_design = { + name = "NAME_Gray_Alpha" + ship_size = massive_ship_fallen_empire + section = { + template = "fallen_empire_massive_warship_key" + slot = "mid" + + component = { + slot = "TITANIC_01" + template = "GRAY_BEAM_STATIC_EX" + } + component = { + slot = "STRIKE_CRAFT_01" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "STRIKE_CRAFT_02" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "STRIKE_CRAFT_03" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "STRIKE_CRAFT_04" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "LARGE_GUN_01" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_02" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_03" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_04" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_05" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_06" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_07" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_08" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_01" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_02" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_03" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_04" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_4" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_5" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_6" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_7" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_8" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_9" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_10" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_11" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_12" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_13" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_14" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_15" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_16" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_17" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_18" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_19" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_20" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "AUX_UTILITY_1" + template = "SHIELD_BOOSTER" + } + component = { + slot = "AUX_UTILITY_2" + template = "SHIELD_BOOSTER" + } + component = { + slot = "AUX_UTILITY_3" + template = "SHIELD_BOOSTER" + } + } + required_component="SENSOR_4" + required_component="JUMP_DRIVE_1" + required_component="COMBAT_COMPUTER_ARTILLERY_SAPIENT" + required_component="TITAN_DARK_MATTER_REACTOR" + required_component="TITAN_SHIP_THRUSTER_5" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Large Ship +ship_design = { + name = "NAME_Gray_Beta" + ship_size = large_ship_fallen_empire + section = { + template = "fallen_empire_large_warship_key" + slot = "mid" + + component = { + slot = "STRIKE_CRAFT_01" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "STRIKE_CRAFT_02" + template = "RG_FIGHTER_HANGAR_BEAM" + } + component = { + slot = "EXTRA_LARGE_01" + template = "GRAY_BEAM_STATIC_X" + } + component = { + slot = "LARGE_GUN_01" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_02" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_01" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_02" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_03" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_04" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_4" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_5" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_6" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_7" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_8" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "AUX_UTILITY_1" + template = "SHIELD_BOOSTER" + } + component = { + slot = "AUX_UTILITY_2" + template = "SHIELD_BOOSTER" + } + } + required_component="SENSOR_4" + required_component="JUMP_DRIVE_1" + required_component="COMBAT_COMPUTER_LINE_SAPIENT" + required_component="BATTLESHIP_DARK_MATTER_REACTOR" + required_component="BATTLESHIP_SHIP_THRUSTER_5" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Small Ship +ship_design = { + name = "NAME_Gray_Gamma" + ship_size = small_ship_fallen_empire + section = { + template = "fallen_empire_warship_small_key" + slot = "mid" + + component = { + slot = "LARGE_GUN_01" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_01" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_02" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_03" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_04" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "PD_01" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "PD_02" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "PD_03" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "PD_04" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "MEDIUM_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "MEDIUM_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "MEDIUM_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "MEDIUM_UTILITY_4" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "MEDIUM_UTILITY_5" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "MEDIUM_UTILITY_6" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "AUX_UTILITY_1" + template = "SHIELD_BOOSTER" + } + } + required_component="SENSOR_4" + required_component="JUMP_DRIVE_1" + required_component="COMBAT_COMPUTER_PICKET_SAPIENT" + required_component="DESTROYER_DARK_MATTER_REACTOR" + required_component="DESTROYER_SHIP_THRUSTER_5" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Defense Platform +ship_design = { + name = "NAME_Gray_Sigma" + ship_size = military_station_small_fallen_empire + section = { + template = "fallen_empire_station_small_key" + slot = "mid" + + component = { + slot = "LARGE_GUN_01" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_02" + template = "LARGE_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_01" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_02" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_03" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_04" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_05" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "PD_01" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "PD_02" + template = "RG_FLAK_BATTERY" + } + component = { + slot = "LARGE_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_4" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_5" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "LARGE_UTILITY_6" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "AUX_UTILITY_1" + template = "SHIELD_BOOSTER" + } + component = { + slot = "AUX_UTILITY_2" + template = "SHIELD_BOOSTER" + } + } + required_component="SENSOR_4" + required_component="COMBAT_COMPUTER_PLATFORM_SAPIENT" + required_component="PLATFORM_DARK_MATTER_REACTOR" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Construction Ship +ship_design = { + name = "NAME_Gray_Theta" + ship_size = constructor + section = { + template = "DEFAULT_CONSTRUCTION_SECTION" + slot = "mid" + + component = { + slot = "SMALL_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "SMALL_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + } + required_component="JUMP_DRIVE_1" + required_component="SHIP_THRUSTER_5" + required_component="SENSOR_4" + required_component="CORVETTE_DARK_MATTER_REACTOR" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + + +# Colony Ship +ship_design = { + name = "NAME_Gray_Tau" + ship_size = colonizer + section = { + template = "DEFAULT_COLONIZATION_SECTION" + slot = "mid" + + component = { + slot = "SMALL_UTILITY_1" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "SMALL_UTILITY_2" + template = "LARGE_GRAY_MIX_ARMOR" + } + component = { + slot = "SMALL_UTILITY_3" + template = "LARGE_GRAY_MIX_ARMOR" + } + } + required_component="JUMP_DRIVE_1" + required_component="SHIP_THRUSTER_5" + required_component="SENSOR_4" + required_component="CORVETTE_DARK_MATTER_REACTOR" + + # For special buildable + is_special_buildable = yes + allow_buildable_trigger = is_fallen_empire_machine +} + +# Awakened Fallen Empire Starbase +ship_design = { + name = "NAME_Gray_FE_Starbase" + ship_size = starbase_fe_outpost + section = { + template = "station_generic_01_key" + slot = "mid" + + component = { + slot = "SMALL_GUN_01" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_02" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "SMALL_GUN_03" + template = "SMALL_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_01" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "MEDIUM_GUN_02" + template = "MEDIUM_GRAY_WEAPON_LANCE" + } + component = { + slot = "LARGE_GUN_01" + template = "LARGE_GRAY_WEAPON_LANCE" + } + } + required_component="SENSOR_2" +} diff --git a/common/scripted_effects/RG_fallen_empire_effects.txt b/common/scripted_effects/RG_fallen_empire_effects.txt new file mode 100644 index 0000000..3e63512 --- /dev/null +++ b/common/scripted_effects/RG_fallen_empire_effects.txt @@ -0,0 +1,177 @@ +rg_create_fallen_empire_reinforcements = { + create_fleet = { + effect = { + set_owner = prev.owner + while = { + count = 4 + create_fallen_empire_large_ship = yes + } + while = { + count = 8 + create_fallen_empire_small_ship = yes + } + random_list = { + 25 = { + set_location = { + target = prev + distance = 30 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 45 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 60 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 75 + angle = random + } + } + } + } + } +} + +rg_create_fallen_empire_fleet = { + owner = { + create_leader = { + class = commander + species = owner_main_species + name = random + skill = 10 + leader_age_min = 25 + leader_age_max = 45 + } + } + create_fleet = { + effect = { + set_owner = prev.owner + while = { + count = 8 + create_fallen_empire_large_ship = yes + } + while = { + count = 18 + create_fallen_empire_small_ship = yes + } + random_list = { + 25 = { + set_location = { + target = prev + distance = 30 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 45 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 60 + angle = random + } + } + 25 = { + set_location = { + target = prev + distance = 75 + angle = random + } + } + } + } + } + last_created_fleet = { assign_leader = last_created_leader } +} + +rg_create_fallen_empire_starting_navy = { + create_fallen_empire_fleet = yes + create_fallen_empire_fleet = yes + random = { + chance = 33 + create_fallen_empire_fleet = yes + } + if = { + limit = { + host_has_dlc = "Apocalypse" + } + random = { + chance = 10 + create_fleet = { + effect = { + set_owner = prev.owner + create_fallen_empire_colossus = yes + set_location = { + target = prev + distance = 30 + angle = random + } + } + } + } + } + random = { + chance = 25 + create_fleet = { + effect = { + set_owner = prev.owner + create_fallen_empire_titan = yes + set_location = { + target = prev + distance = 20 + angle = random + } + } + } + } + create_fleet = { + effect = { + set_owner = prev.owner + create_fallen_empire_construction_ship = yes + set_location = { + target = prev + distance = 60 + angle = random + } + } + } + create_fleet = { + effect = { + set_owner = prev.owner + create_fallen_empire_construction_ship = yes + set_location = { + target = prev + distance = 80 + angle = random + } + } + } + create_fleet = { + effect = { + set_owner = prev.owner + create_fallen_empire_construction_ship = yes + set_location = { + target = prev + distance = 100 + angle = random + } + } + } +} \ No newline at end of file diff --git a/common/solar_system_initializers/RG_fallen_empire_initializers.txt b/common/solar_system_initializers/RG_fallen_empire_initializers.txt new file mode 100644 index 0000000..4371967 --- /dev/null +++ b/common/solar_system_initializers/RG_fallen_empire_initializers.txt @@ -0,0 +1,236 @@ +# Home System - Machine +rg_fallen_machine = { + usage = fallen_empire_init + name = 芬里尔III + class = "rl_standard_stars" + + flags = { ring_world_built } + + init_effect = { + spawn_megastructure = { + type = "ring_world_ruined" + orbit_angle = -90 + orbit_distance = 45 + } + + create_fe_citadel = yes + } + + planet = { + class = star + orbit_distance = 0 + orbit_angle = 0 + } + + change_orbit = 45 + + planet = { + class = "pc_ringworld_tech" + name = 外环 + orbit_angle = -30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_seam" + name = 泡芙碗 + orbit_angle = 30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_habitable" + name = 菠萝包工厂 + orbit_angle = 30 + orbit_distance = 0 + deposit_blockers = none + modifiers = none + + init_effect = { + + create_cluster = { + id = fe_mach_cluster + radius = 80 + center = this.solar_system + } + + set_planet_flag = fallen_empire_world + prevent_anomaly = yes + set_owner = root + set_controller = root + set_capital = yes + + add_building = building_ancient_control_center + add_building = building_nourishment_center + add_building = building_nourishment_center + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + add_building = building_ancient_cryo_chamber + + while = { + count = 5 + add_district = district_rw_science + } + while = { + count = 5 + add_district = district_rw_nexus + } + while = { + count = 105 + create_pop = { + species = owner_main_species + } + } + create_fallen_empire_starting_navy = yes + + while = { + count = 40 + create_army = { + name = random + owner = root + species = root + type = "gray_army" + } + } + } + } + + planet = { + class = "pc_ringworld_tech" + name = 中环 + orbit_angle = 30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_seam" + name = 长面包机 + orbit_angle = 30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_habitable" + name = 可颂工厂 + orbit_angle = 30 + orbit_distance = 0 + deposit_blockers = none + modifiers = none + + init_effect = { + set_planet_flag = fallen_empire_world + prevent_anomaly = yes + set_owner = ROOT + + add_building = building_ancient_control_center + add_building = building_dimensional_fabricator + add_building = building_dimensional_fabricator + add_building = building_dimensional_fabricator + add_building = building_dimensional_fabricator + add_building = building_dimensional_fabricator + add_building = building_nano_forge + add_building = building_nano_forge + add_building = building_nano_forge + add_building = building_nano_forge + add_building = building_nano_forge + + while = { + count = 5 + add_district = district_rw_nexus + } + while = { + count = 50 + create_pop = { + species = owner_main_species + } + } + while = { + count = 20 + create_army = { + name = random + owner = root + species = root + type = "gray_army" + } + } + } + } + + planet = { + class = "pc_ringworld_tech" + name = 内环 + orbit_angle = 30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_seam" + name = 蔗糖核心 + orbit_angle = 30 + orbit_distance = 0 + } + + planet = { + class = "pc_ringworld_habitable" + name = 霜糖工厂 + orbit_angle = 30 + orbit_distance = 0 + deposit_blockers = none + modifiers = none + + init_effect = { + set_planet_flag = fallen_empire_world + prevent_anomaly = yes + set_owner = ROOT + + add_building = building_ancient_control_center + add_building = building_class_4_singularity + add_building = building_class_4_singularity + add_building = building_class_4_singularity + add_building = building_class_4_singularity + + while = { + count = 5 + add_district = district_rw_generator + } + while = { + count = 22 + create_pop = { + species = owner_main_species + } + } + while = { + count = 10 + create_army = { + name = random + owner = root + species = root + type = "gray_army" + } + } + } + } + + neighbor_system = { + distance = { min = 0 max = 50 } + initializer = "fallen_machine_2" + } + neighbor_system = { + distance = { min = 0 max = 50 } + initializer = "fallen_machine_3" + } + neighbor_system = { + distance = { min = 0 max = 50 } + initializer = "fallen_machine_4" + } + neighbor_system = { + distance = { min = 0 max = 50 } + initializer = "fallen_machine_5" + } +} \ No newline at end of file diff --git a/common/species_archetypes/RG_species_archetypes.txt b/common/species_archetypes/RG_species_archetypes.txt new file mode 100644 index 0000000..0495106 --- /dev/null +++ b/common/species_archetypes/RG_species_archetypes.txt @@ -0,0 +1,21 @@ +# species_trait_points: base number of species trait points available for this species class +# species_max_traits: maximum number of traits that species of this class can have (doesn't count those with cost == 0) + +#EXAMPLE OF MODDED SPECIES ARCHETYPE +#Will be able to use traits valid for BIOLOGICAL, ROBOT and BIOLOGICAL2 +#Has the exact same trait points as BIOLOGICAL +#BIOLOGICAL2 = { +# inherit_trait_points_from = BIOLOGICAL +# inherit_traits_from = { BIOLOGICAL ROBOT } + +# robotic: is this archetype's species robotic? Governs various things: +# - does the species count as robotic (for is_robotic = yes, and various hardcoded checks) +# - notably can the species grow, or is just assembled? +# uses_modifiers: should modifiers be generated for this archetype at all? +#} + +RG_MACHINE = { + species_trait_points = 10 + species_max_traits = 6 + robotic = yes +} \ No newline at end of file diff --git a/common/species_classes/rg_species_classes.txt b/common/species_classes/rg_species_classes.txt index a63f9a7..5ce75ca 100644 --- a/common/species_classes/rg_species_classes.txt +++ b/common/species_classes/rg_species_classes.txt @@ -44,9 +44,6 @@ RG_MACHINE = { leader_age_min = 2 leader_age_max = 10 - species_trait_points = 10 - species_max_traits = 6 - custom_portraits = { # use custom_portraits instead of portraits so we can put them after the custom_portraits above portraits = { "rg_machine_maid" diff --git a/events/RG_machine_event.txt b/events/RG_machine_event.txt index bbcfaee..4c7bc63 100644 --- a/events/RG_machine_event.txt +++ b/events/RG_machine_event.txt @@ -11,9 +11,7 @@ country_event = { } } create_species = { - #is_mod = yes name = 纳米构造体 - plural = root class = RG_MACHINE portrait = "rg_machine_maid" traits = { @@ -22,9 +20,7 @@ country_event = { trait = trait_robot_mass_produced } can_be_modified = yes - homeworld = root - namelist = root - gender = root + namelist = root.species effect = { save_event_target_as = rg_maid_species } diff --git a/gfx/models/portraits/mamaid01.png b/gfx/models/portraits/mamaid01.png index 903ab1d..49b4484 100644 Binary files a/gfx/models/portraits/mamaid01.png and b/gfx/models/portraits/mamaid01.png differ diff --git a/gfx/models/portraits/mamaid02.png b/gfx/models/portraits/mamaid02.png index 16331c4..7df05f5 100644 Binary files a/gfx/models/portraits/mamaid02.png and b/gfx/models/portraits/mamaid02.png differ diff --git a/gfx/models/portraits/mamaid03.png b/gfx/models/portraits/mamaid03.png index aaad710..df77ba4 100644 Binary files a/gfx/models/portraits/mamaid03.png and b/gfx/models/portraits/mamaid03.png differ diff --git a/gfx/models/portraits/mamaid04.png b/gfx/models/portraits/mamaid04.png index ed7f390..75c14e6 100644 Binary files a/gfx/models/portraits/mamaid04.png and b/gfx/models/portraits/mamaid04.png differ diff --git a/gfx/models/portraits/mamaid05.png b/gfx/models/portraits/mamaid05.png index 6e64c54..7b9fd8d 100644 Binary files a/gfx/models/portraits/mamaid05.png and b/gfx/models/portraits/mamaid05.png differ diff --git a/gfx/models/portraits/mamaid06.png b/gfx/models/portraits/mamaid06.png index cf1be25..93e0c70 100644 Binary files a/gfx/models/portraits/mamaid06.png and b/gfx/models/portraits/mamaid06.png differ diff --git a/gfx/models/portraits/mamaid07.png b/gfx/models/portraits/mamaid07.png index f53b2a3..8b25657 100644 Binary files a/gfx/models/portraits/mamaid07.png and b/gfx/models/portraits/mamaid07.png differ diff --git a/gfx/models/portraits/mamaid08.png b/gfx/models/portraits/mamaid08.png index 96949fb..7a078cd 100644 Binary files a/gfx/models/portraits/mamaid08.png and b/gfx/models/portraits/mamaid08.png differ diff --git a/gfx/models/portraits/mamaid09.png b/gfx/models/portraits/mamaid09.png index 42cf7d1..d3cb9d3 100644 Binary files a/gfx/models/portraits/mamaid09.png and b/gfx/models/portraits/mamaid09.png differ