[20:45:23][galactic_object.cpp:1877]: System Coggan with initializer FEE_fallen_8 is too big. Make sure the outer radius is smaller than 500.
Code:[20:45:23][galactic_object.cpp:1877]: System Coggan with initializer FEE_fallen_8 is too big. Make sure the outer radius is smaller than 500.
The mod seems to run fine so maybe I can just keep ignoring the errors?
Yes, you can safely ignore that particular error if the custom system is working fine.
planet_event = {
id = test.2
hide_window = no
is_triggered_only = yes
pre_triggers = {
has_ground_combat = no
is_occupied_flag = no
}
trigger = {
is_majority_species = event_target:test_species
}
<...>
random_owned_species = {
limit = {
species = {
has_trait = trait_test_trait
}
}
species = { save_global_event_target_as = test_species }
}
option = {
name = crisis.1050.g
trigger = {
owner_species = { has_trait = trait_psionic }
}
response_text = crisis.1050.g.response
}
option = {
name = crisis.1050.a
response_text = crisis.1050.a.b.response
trigger = {
OR = {
has_authority = auth_machine_intelligence
owner_species = { has_trait = trait_mechanical }
}
}
}
add_resource = {
unity = 10000
physics_research = 100000
society_research = 100000
engineering_research = 100000
}
There is:Hello ! Is there a condition that checks the admin_capacity of a given empire? Or percentage of admin_cap used? Or count over admin_cap? I've searched but am unable to find one. The closest condition I could find is empire_size, which measures empire sprawl. However, I want my trigger to be based on empire_size - admin_cap (as in how much over or under admin_cap an empire is). I am trying to write AI weighting for a set of policies that add/remove admin_cap and other benefits/maluses, and want the weights to be dependent on how much admin_cap the AI is utilizing.
I'd probably brute-force it, use something like:Way to count districts?
I'd like to write a script that destroys half the number of a specific district on a planet. Since there doesn't seem to be an iterator for districts like "every_district", the usual method of counting stuff with a variable seems like a no-go.
Does anyone know of a solution?
if = {
limit = {
num_districts = {
type = your_district
value <= 2
}
}
set_variable = {
name = your_variable
value = 1
}
}
else_if = {
limit = {
num_districts = {
type = your_district
value <= 4
}
}
set_variable = {
name = your_variable
value = 2
}
}
...etc
while = {
count = your_variable
remove_district = your_district
}
So is there an effect that you can run on a system to get sensor data of it? Essentially what I mean is make it look like a science ship has been sent to explore but not survey it.