StellarisMods/Better Wonder Sphere/common/megastructures/bws_megastructures.txt

227 lines
4.2 KiB
Text
Raw Normal View History

2024-06-14 12:23:17 -04:00
#Disco Sphere
dyson_sphere_disco = {
entity = "dyson_sphere_phase_05_entity"
construction_entity = "dyson_sphere_part_4_entity"
portrait = "GFX_megastructure_dyson_sphere_background"
build_time = 360
resources = {
category = megastructures
cost = {
rare_crystals = 2500
unity = 3000
}
produces = {
unity = 500
energy = 4000
}
}
upgrade_from = {
dyson_sphere_5
}
potential = {
has_nemesis = yes
has_country_flag = can_build_disco_sphere
}
possible = {
from = {
has_nemesis = yes
has_country_flag = can_build_disco_sphere
}
}
country_modifier = {
planet_amenities_mult = 0.3
}
on_build_start = {
set_star_flag = dyson_sphere_construction
}
on_build_cancel = {
remove_star_flag = dyson_sphere_construction
}
on_build_complete = {
remove_star_flag = dyson_sphere_construction
set_star_flag = mega_art_installation_built
fromfrom = {
create_ambient_object = {
location = this
type = kaleidoscope_happy
entity_scale_to_size = yes
scale = 0.50
}
create_ambient_object = {
location = this
type = kaleidoscope_neutral
entity_scale_to_size = yes
scale = 0.30
}
last_created_ambient_object = {
set_location = {
target = prev
angle = 45
}
}
create_ambient_object = {
location = this
type = kaleidoscope_angry
entity_scale_to_size = yes
scale = 0.20
}
last_created_ambient_object = {
set_location = {
target = prev
angle = 90
}
}
}
from = {
remove_country_flag = can_build_disco_sphere
remove_country_flag = built_dyson_sphere
remove_country_flag = built_dyson_sphere_contingency
country_event = { id = situation.2049 }
}
}
}
dyson_sphere_disco_restored = {
entity = "dyson_sphere_phase_05_entity"
construction_entity = "dyson_sphere_part_4_entity"
portrait = "GFX_megastructure_dyson_sphere_background"
build_time = 360
resources = {
category = megastructures
cost = {
rare_crystals = 2500
unity = 3000
}
produces = {
unity = 500
energy = 4000
}
}
upgrade_from = {
dyson_sphere_restored
}
potential = {
has_nemesis = yes
has_country_flag = can_build_disco_sphere
}
possible = {
from = {
has_nemesis = yes
has_country_flag = can_build_disco_sphere
}
custom_tooltip = {
fail_text = "requires_no_arc_furnace"
system_has_arc_furnace = no
}
custom_tooltip = {
fail_text = "requires_no_arc_furnace_construction"
if = {
limit = {
system_has_arc_furnace = no
}
NOT = {
solar_system = {
has_star_flag = arc_furnace_construction
}
}
}
}
custom_tooltip = {
fail_text = "requires_no_colonies"
NOT = {
any_system_planet = {
is_colony = yes
is_artificial = no
exists = owner
owner = {
is_primitive = no
}
}
}
}
custom_tooltip = {
fail_text = "blocked_by_pre_ftl_policy"
if = {
limit = {
any_system_planet = {
exists = owner
owner = {
is_primitive = yes
}
}
}
from = {
has_policy_flag = interference_aggressive
}
}
}
}
country_modifier = {
planet_amenities_mult = 0.3
}
on_build_start = {
set_star_flag = dyson_sphere_construction
}
on_build_cancel = {
remove_star_flag = dyson_sphere_construction
}
on_build_complete = {
remove_star_flag = dyson_sphere_construction
set_star_flag = mega_art_installation_built
fromfrom = {
create_ambient_object = {
location = this
type = kaleidoscope_happy
entity_scale_to_size = yes
scale = 0.50
}
create_ambient_object = {
location = this
type = kaleidoscope_neutral
entity_scale_to_size = yes
scale = 0.30
}
last_created_ambient_object = {
set_location = {
target = prev
angle = 45
}
}
create_ambient_object = {
location = this
type = kaleidoscope_angry
entity_scale_to_size = yes
scale = 0.20
}
last_created_ambient_object = {
set_location = {
target = prev
angle = 90
}
}
}
from = {
remove_country_flag = can_build_disco_sphere
remove_country_flag = built_dyson_sphere
remove_country_flag = built_dyson_sphere_contingency
country_event = { id = situation.2049 }
}
}
}