• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

SarcFa

Private
48 Badges
Nov 27, 2015
16
20
  • Crusader Kings II
  • Crusader Kings III
  • Europa Universalis IV
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Mare Nostrum
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:
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"
}
}
}
}
}
Screenshots of it working as intended without inefficient planet management at first:
26D571870EBC7BB30C62A8C1C1077B6DE6D8E994

5563506ED654BBCC6519AF788DF9740598B36F80
Screenshot of it hitting me with inefficient planet management after a while:
11F42AC5FC8B43C68DBD29995FE6AFA1CC33F84C

211DB0AEE07A839DD76AAE54DAD00FBDF40C836E

Any help would be appreciated.