So I'm in the process of finishing up a mod where a modded prescripted empire has completely unique buildings from the others races. One of these buildings has the effect of increasing the core planet cap, however when I go over 5 planets, even though I can have more according to the UI display, eventually I get hit with inefficient planet management.
Code of building:
Screenshots of it working as intended without inefficient planet management at first:
Screenshot of it hitting me with inefficient planet management after a while:
Any help would be appreciated.
Code of building:
building_core_hive = {
base_buildtime = 500
planet_unique = yes
potential = {
any_country = { has_country_flag = noiak }
}
cost = {
minerals = 500
}
country_modifier = {
country_core_sector_planet_cap = 1
}
allow = {
custom_tooltip = {
text = "requires_building_capital_1"
planet = {
OR = {
has_building = "building_capital_1"
has_building = "building_capital_2"
has_building = "building_capital_3"
}
}
}
}
}
base_buildtime = 500
planet_unique = yes
potential = {
any_country = { has_country_flag = noiak }
}
cost = {
minerals = 500
}
country_modifier = {
country_core_sector_planet_cap = 1
}
allow = {
custom_tooltip = {
text = "requires_building_capital_1"
planet = {
OR = {
has_building = "building_capital_1"
has_building = "building_capital_2"
has_building = "building_capital_3"
}
}
}
}
}
Any help would be appreciated.