I am looking to either create a mod myself or if someone else knows how that would be fine. I want to create a mod that allows you to have more core planets based on the size of your empire EX: Per 1 planet gain 0.1 Core Cap.
I am looking at the n "Stellaris\common\defines\00_defines.lua" and I see
and in the "Stellaris\common\governments\00_governments.txt" you have
So it should be possible to set up a script that allows you to change the amount based on the amount of worlds you have. Thoughts?
I am looking at the n "Stellaris\common\defines\00_defines.lua" and I see
Code:
CORE_SECTOR_PLANET_CAP = 5, -- Too many planets in core sector will apply modifier inefficient_planet_management.
SECTOR_CAP = 2, -- Too many sectors will apply modifier inefficient_sector_management.
SECTOR_CAP_INCR = 0.25, -- 0.25 means that for every four planets an extra sector can be created.
SECTOR_SUPPORT_RESOURCE_AMOUNT = 100, -- How much resources each click will give the sector.
SECTOR_REVOKE_PLANET_COST = 25, -- Influence cost for revoking a planet from a sector
DELETE_SECTOR_COST = 100, -- Influence cost for deleting a sector
and in the "Stellaris\common\governments\00_governments.txt" you have
Code:
# Spiritualist Democracy
theocratic_republic = {
potential = {
hidden_trigger = { NOT = { is_country_type = fallen_empire } }
}
ethics = {
OR = {
has_ethic = "ethic_spiritualist"
has_ethic = "ethic_fanatic_spiritualist"
}
NOT = { has_ethic = "ethic_collectivist" }
NOT = { has_ethic = "ethic_fanatic_collectivist" }
}
modifier = {
pop_ethic_shift = -0.1
country_core_sector_planet_cap = 2
}
So it should be possible to set up a script that allows you to change the amount based on the amount of worlds you have. Thoughts?
Last edited: