全部格式化

This commit is contained in:
FA507RM-KALOSPA\Kalo
2023-06-08 13:11:05 +08:00
parent e2bf84088f
commit d4a22820b3
62 changed files with 26646 additions and 9216 deletions

View File

@@ -3,12 +3,14 @@ RG_orbital_ring = {
construction_entity = "orbital_ring_construction_entity"
portrait = "GFX_megastructure_construction_background"
place_entity_on_planet_plane = yes
entity_offset = { x = 0 y = 0 }
entity_offset = {
x = 0
y = 0
}
scales_with_planet = yes
show_galactic_map_icon = no
show_in_outliner = no
build_time = 720
resources = {
category = megastructures
cost = {
@@ -17,9 +19,9 @@ RG_orbital_ring = {
}
}
construction_blocks_and_blocked_by = none
potential = { has_technology = tech_gray_noway }
potential = {
has_technology = tech_gray_noway
}
possible = {
exists = starbase
custom_tooltip = {
@@ -27,26 +29,30 @@ RG_orbital_ring = {
is_inside_border = from
}
}
placement_rules = {
planet_possible = {
custom_tooltip = {
fail_text = "requires_surveyed_planet"
is_surveyed = { # prevent leaking habitability information
is_surveyed = {
# prevent leaking habitability information
who = prev.from
status = yes
}
}
custom_tooltip = {
fail_text = "requires_no_anomaly"
NOT = { has_anomaly = yes }
NOT = {
has_anomaly = yes
}
}
custom_tooltip = {
fail_text = "requires_colonized_planet_orbital_ring"
# is_colony = yes
exists = owner
exists = controller
controller = { is_same_value = prev.owner }
controller = {
is_same_value = prev.owner
}
}
custom_tooltip = {
fail_text = "requires_not_hostile_or_primitive"
@@ -87,18 +93,18 @@ RG_orbital_ring = {
}
if = {
limit = {
from = { is_ai = yes }
from = {
is_ai = yes
}
}
num_pops >= 25
}
}
}
# root = system
# from = country
ai_weight = {
factor = 5
modifier = {
factor = 3
solar_system = {
@@ -113,33 +119,39 @@ RG_orbital_ring = {
is_same_value = owner.capital_scope.solar_system
}
}
modifier = {
factor = 0.1
any_neighbor_system = {
exists = owner
owner = { NOT = { is_same_value = from } }
owner = {
NOT = {
is_same_value = from
}
}
}
}
modifier = {
factor = 3
any_system_colony = {
num_pops >= 50
NOT = { exists = orbital_defence }
NOT = {
exists = orbital_defence
}
}
}
}
on_build_start = {}
on_build_cancel = {}
on_build_start = {
}
on_build_cancel = {
}
on_build_complete = {
fromfrom.planet = {
set_planet_flag = has_megastructure
save_event_target_as = orbital_ring_planet
if = {
limit = { has_orbital_station = yes }
limit = {
has_orbital_station = yes
}
orbital_station = {
dismantle = yes
}
@@ -149,25 +161,32 @@ RG_orbital_ring = {
owner = FROM
#module = <starbase_module>
#building = <starbase_building>
effect = { }
effect = {
}
}
}
remove_megastructure = fromfrom
from = {
country_event = { id = tutorial.2121 }
country_event = {
id = tutorial.2121
}
}
}
}
orbital_ring_ruined = {
entity = "orbital_ring_01_destroyed_entity"
entity = "orbital_ring_01_destroyed_entity"
construction_entity = "orbital_ring_construction_entity"
portrait = "GFX_megastructure_construction_background"
place_entity_on_planet_plane = yes
entity_offset = { x = 0 y = 0 }
entity_offset = {
x = 0
y = 0
}
scales_with_planet = yes
potential = { always = no }
potential = {
always = no
}
is_ruined_orbital_ring = yes
}
@@ -176,12 +195,14 @@ orbital_ring_restored = {
construction_entity = "orbital_ring_construction_entity"
portrait = "GFX_megastructure_construction_background"
place_entity_on_planet_plane = yes
entity_offset = { x = 0 y = 0 }
entity_offset = {
x = 0
y = 0
}
scales_with_planet = yes
show_galactic_map_icon = no
show_in_outliner = no
build_time = 720
resources = {
category = megastructures
cost = {
@@ -189,11 +210,13 @@ orbital_ring_restored = {
influence = 50
}
}
upgrade_from = { orbital_ring_ruined }
upgrade_from = {
orbital_ring_ruined
}
possible = {
from = { has_technology = tech_orbital_ring_tier_1 }
from = {
has_technology = tech_orbital_ring_tier_1
}
custom_tooltip = {
fail_text = "requires_outpost"
exists = starbase
@@ -206,7 +229,9 @@ orbital_ring_restored = {
fail_text = "requires_no_anomaly"
any_system_planet = {
has_planet_flag = ruined_orbital_ring_planet
NOT = { has_anomaly = yes }
NOT = {
has_anomaly = yes
}
}
}
custom_tooltip = {
@@ -216,34 +241,41 @@ orbital_ring_restored = {
is_colony = yes
exists = owner
exists = controller
owner = { is_same_value = from }
controller = { is_same_value = from }
owner = {
is_same_value = from
}
controller = {
is_same_value = from
}
}
}
}
on_build_start = {}
on_build_cancel = {}
on_build_start = {
}
on_build_cancel = {
}
on_build_complete = {
random_system_planet = {
limit = { has_planet_flag = ruined_orbital_ring_planet }
limit = {
has_planet_flag = ruined_orbital_ring_planet
}
set_planet_flag = has_megastructure
save_event_target_as = orbital_ring_planet
if = {
limit = { has_orbital_station = yes }
limit = {
has_orbital_station = yes
}
orbital_station = {
dismantle = yes
}
}
create_starbase = {
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
owner = FROM
#module = <starbase_module>
#building = <starbase_building>
effect = { }
effect = {
}
}
}
every_system_ambient_object = {
@@ -262,7 +294,9 @@ orbital_ring_restored = {
}
remove_megastructure = fromfrom
from = {
country_event = { id = tutorial.2121 }
country_event = {
id = tutorial.2121
}
}
}
}
}