Skip to content

Commit

Permalink
add colony buildings to upkeep cost calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffthemedio committed Feb 3, 2023
1 parent b2a7e0d commit b69ff1c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions default/scripting/species/common/influence.macros
Expand Up @@ -23,6 +23,18 @@ BASE_INFLUENCE_COSTS
OwnedBy empire = Source.Owner
(LocalCandidate.OrderedColonizePlanetID != -1)
] +
Statistic Count condition = And [
Building
OwnedBy empire = Source.Owner
Building name = [
"SP_SUPER_TEST" "SP_ABADDONI" "SP_BANFORO" "SP_CHATO" "SP_CRAY"
"SP_DERTHREAN" "SP_EAXAW" "SP_EGASSEM" "SP_ETTY" "SP_FULVER"
"SP_FURTHEST" "SP_GEORGE" "SP_GYSACHE" "SP_HAPPY" "SP_HHHOH"
"SP_HUMAN" "SP_KILANDOW" "SP_KOBUNTURA" "SP_LAENFA" "SP_MISIORLA"
"SP_MUURSH" "SP_PHINNERT" "SP_SCYLIOR" "SP_SETINON" "SP_SILEXIAN"
"SP_SLY" "SP_SSLITH" "SP_TAEGHIRUS" "SP_TRITH" "SP_REPLICON"
"SP_UGMORS" ]
] +
((NamedReal name = "OUTPOST_RELATIVE_ADMIN_COUNT" value = 0.25) *
(Statistic Count condition = And [
Planet
Expand Down

0 comments on commit b69ff1c

Please sign in to comment.