diff --git a/common/decisions/staggered-habitats-decisions.txt b/common/decisions/staggered-habitats-decisions.txt index f336587..98e7d3c 100644 --- a/common/decisions/staggered-habitats-decisions.txt +++ b/common/decisions/staggered-habitats-decisions.txt @@ -107,4 +107,31 @@ decision_fully_enlarge_hab = { ai_weight = { weight = 0 } +} + + +# Fix for if voidborn doesn't work due to mod conflict +decision_remove_inefficiency_with_voidborn = { + owned_planets_only = yes + + resources = { + category = decisions + } + + potential = { + is_habitat = yes + has_modifier = staggered_habitat_no_voidborn + owner = { + has_ascension_perk = ap_voidborn + } + } + + effect = { + remove_modifier = staggered_habitat_no_voidborn + } + + # AI will always do it if it didn't happen immiedately. + ai_weight = { + weight = 100 + } } \ No newline at end of file diff --git a/localisation/english/staggered-habitats_l_english.yml b/localisation/english/staggered-habitats_l_english.yml index 9faeb89..1b9a178 100644 --- a/localisation/english/staggered-habitats_l_english.yml +++ b/localisation/english/staggered-habitats_l_english.yml @@ -14,4 +14,7 @@ decision_enlarge_hab_desc:0 "Enlarge the habitat such that it can support an additional district" decision_fully_enlarge_hab:0 "Fully Construct Habitat" - decision_fully_enlarge_hab_desc:0 "The time for slow expansion is over, enlarge this habitat as far as our engineering abilities will let us" \ No newline at end of file + decision_fully_enlarge_hab_desc:0 "The time for slow expansion is over, enlarge this habitat as far as our engineering abilities will let us" + + decision_remove_inefficiency_with_voidborn:0 "Remove §Y$staggered_habitat_no_voidborn$§! penalty" + decision_remove_inefficiency_with_voidborn_desc:0 "This should have been removed automatically with the Voidborn Ascension Perk. There may be a mod conflict. This decision will fix it (remember to run on all your staggered habs)" \ No newline at end of file