Skip to content

Commit

Permalink
Fix for voidborn incompatability
Browse files Browse the repository at this point in the history
  • Loading branch information
draconas1 committed Feb 17, 2019
1 parent cb47a3b commit f323357
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
27 changes: 27 additions & 0 deletions common/decisions/staggered-habitats-decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
5 changes: 4 additions & 1 deletion localisation/english/staggered-habitats_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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)"

0 comments on commit f323357

Please sign in to comment.