Prison, Resort and Thrall Habitats

If you liked this item, please rate it up on Steam Workshop page.

Author: FrozenParagon

Last revision: 3 Jan, 2023 at 05:44 UTC (1)

File size: 81.92 KB

On Steam Workshop

Description:

"If you have researched the normal thrall world and penal colony techs it will now be possible to convert habitats into thrall worlds and penal colonies." -Pilgrim

And now also Resorts
Changed the influence cost to unity (but i’m not updating the thumb due to apathy)
Original mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=2544459828
Now Compat with Penal Colony: Enhanced
https://steamcommunity.com/sharedfiles/filedetails/?id=2686810902

So i’ve been working on a mod that turns several megastructures into specialized habitats that use the mega’s ship model and they basically replace the functionality of this mod for me so while this mod seems to be fully operational I’m considering it final and moving on.

# Penal Colony decision_prison_habitat = { owned_planets_only = yes icon = decision_penal_colony prerequisites = { "tech_penal_colonies" } resources = { category = decisions cost = { unity = 1000 } } potential = { is_capital = no is_planet_class = pc_habitat # has_planet_flag = advanced_habitat_2 NOT = { has_modifier = resort_colony } NOT = { has_modifier = slave_colony } owner = { is_regular_empire = yes } # is_artificial = no NOT = { owner = { any_owned_planet = { has_modifier = penal_colony } } } } allow = { planet_size >= 4 } effect = { add_modifier = { modifier = penal_colony days = -1 } hidden_effect = { validate_planet_buildings_and_districts = yes } } ai_weight = { weight = 0 } } # Resort Habitat decision_resort_habitat = { owned_planets_only = yes prerequisites = { "tech_resort_colonies" } resources = { category = decisions cost = { unity = 1000 } } potential = { is_capital = no is_planet_class = pc_habitat NOT = { has_modifier = penal_colony } NOT = { has_modifier = slave_colony } NOT = { is_planet_class = pc_city } owner = { is_regular_empire = yes } # is_artificial = no } allow = { # planet_size >= 15 custom_tooltip = { fail_text = decision_resort_colony_no_districts num_districts = { type = any value < 1 } num_buildings = { type = any value < 2 } } custom_tooltip = { fail_text = no_upgraded_capital_tooltip has_upgraded_capital = no } custom_tooltip = { fail_text = decision_resort_colony_only_one NOT = { owner = { any_owned_planet = { has_modifier = resort_colony } } } } } effect = { add_modifier = { modifier = resort_colony days = -1 } hidden_effect = { remove_building = building_colony_shelter add_building = building_resort_capital } hidden_effect = { validate_planet_buildings_and_districts = yes } } ai_weight = { weight = 0 } } # Thrall-World decision_slave_habitat = { owned_planets_only = yes icon = decision_slave_colony prerequisites = { "tech_slave_colonies" } resources = { category = decisions cost = { unity = 1000 } } potential = { is_capital = no is_planet_class = pc_habitat NOT = { is_planet_class = pc_city } NOT = { has_modifier = resort_colony } NOT = { has_modifier = penal_colony } NOT = { has_modifier = slave_colony } owner = { is_regular_empire = yes } # is_artificial = no } allow = { custom_tooltip = { fail_text = decision_slave_colony_must_have_slave any_owned_pop = { has_citizenship_type = { type = citizenship_slavery } } } custom_tooltip = { fail_text = decision_resort_colony_no_districts num_districts = { type = any value < 1 } num_buildings = { type = any value < 2 } } } effect = { custom_tooltip = decision_slave_colony_effects add_modifier = { modifier = slave_colony days = -1 } hidden_effect = { validate_planet_buildings_and_districts = yes } } ai_weight = { weight = 0 } }

[discord.gg]

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.