Stellaris

Stellaris

Plentiful Traditions 4.x
Decisions syntax [2.2+]
This is from plentiful_traditions_habitat_edicts.txt (I didn't fix the other one)

Will need new localisation strings too

#renamed to specific name, will need localisation string plentiful_traditions_lebensraum_enlargement = { #name = "plentiful_traditions_lebensraum_enlargement" #cost = { influence = 100 energy = 1000 minerals = 1000 } resources = { category = decisions cost = { influence = 100 energy = 1000 minerals = 1000 } } #length = 0 potential = { OR = { num_pops > 9 any_pop = { is_robot_pop = yes } } habitable_structure = yes NOT = { is_planet_class = pc_habitat_robot } owner = { has_ascension_perk = ap_plentiful_traditions_lebensraum_enlargement } planet_size < 25 NOT = { has_modifier = modifier_plentiful_traditions_lebensraum_enlargement_cooldown } } allow = { custom_tooltip = { fail_text = plentiful_traditions_lebensraum_enlargement_not_max_size planet_size < 25 } custom_tooltip = { fail_text = plentiful_traditions_lebensraum_enlargement_full_or_robot OR = { AND = { planet_size < 13 num_pops > 11 } AND = { planet_size < 14 num_pops > 12 } AND = { planet_size < 15 num_pops > 13 } AND = { planet_size < 16 num_pops > 14 } AND = { planet_size < 17 num_pops > 15 } AND = { planet_size < 18 num_pops > 16 } AND = { planet_size < 19 num_pops > 17 } AND = { planet_size < 20 num_pops > 18 } AND = { planet_size < 21 num_pops > 19 } AND = { planet_size < 22 num_pops > 20 } AND = { planet_size < 23 num_pops > 21 } AND = { planet_size < 24 num_pops > 22 } AND = { planet_size < 25 num_pops > 23 } any_pop = { is_robot_pop = yes } } } } effect = { add_modifier = { modifier = "modifier_plentiful_traditions_lebensraum_enlargement_cooldown" days = 360 } hidden_effect = { change_planet_size = 1 } custom_tooltip = plentiful_traditions_lebensraum_enlargement_plus_one } ai_weight = { weight = 10 modifier = { factor = 0 num_pops < 10 } } } #renamed to specific name, will need localisation string plentiful_traditions_habitat_construction = { #name = "plentiful_traditions_habitat_construction" resources = { category = decisions cost = { influence = 50 } } #length = 0 potential = { is_planet_class = pc_habitat_robot owner = { has_tradition = tr_plentiful_endure_5 } planet_size < 25 NOT = { has_modifier = modifier_plentiful_traditions_habitat_construction } } allow = { custom_tooltip = { fail_text = plentiful_traditions_habitat_construction_not_max_size planet_size < 25 } custom_tooltip = { fail_text = plentiful_traditions_habitat_construction_minerals owner = { minerals > 10000 } } custom_tooltip = { fail_text = plentiful_traditions_habitat_construction_energy owner = { produced_energy > 20 } owner = { energy > 10000 } } } effect = { add_modifier = { modifier = modifier_plentiful_traditions_habitat_construction days = -1 } custom_tooltip = plentiful_traditions_habitat_construction_modifier hidden_effect = { planet_event = { id = plentiful_traditions_transformation_pedict.30 days = 360 random = 720 } } # hidden_effect = { # planet_event = { id = plentiful_traditions_transformation_pedict.31 } # } } ai_weight = { weight = 10 } }