Page 1 of 1

Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 5:03 am
by pheonixstorm
I have tried to look this up on what it is there for. What does the growth focus do on homeworlds for the rest of the species colonies??

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 5:56 am
by Geoff the Medio
There's a macro in species.txt:

Code: Select all

HOMEWORLD_GROWTH_FOCUS_BOOST
'''     EffectsGroup 
            scope = And [
                Planet
                OwnedBy TheEmpire Source.Owner
                ResourceSupplyConnected empire = Source.Owner condition = Source
                Number low = 1 condition = And [
                    Source
                    Planet
                    Homeworld name = RootCandidate.Species
                ]
                TargetPopulation low = 0 high = 9999
            ]
            activation = And [
                Planet
                Focus "FOCUS_GROWTH"
            ]
            stackinggroup = "HOMEWORLD_STACK"
            accountinglabel = "HOMEWORLD_SUPPLY"
            effects = SetTargetPopulation Value + 1 * Target.SizeAsDouble
'''
The meat of that is the "SetTargetPopulation Value + 1 * Target.SizeAsDouble" which increases the target population of planets, subject to the conditions in the scope.

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 8:07 am
by MatGB
And as far as I can see, really benefits colonies of that species in the empire (so worth it for a tiny homeworld that can colonise) but also overrides the homeworld bonus for other native homeworlds of the same type, and isn't as good as that. I rarely use it but can see uses on occasions.

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 7:54 pm
by Dilvish
MatGB wrote:... but also overrides the homeworld bonus for other native homeworlds of the same type, and isn't as good as that.
the main homeworld bonus should be getting processed before the homeworld-growth-focus-supply bonus, and so should not be getting overridden by the latter (the stacking group should simply be stopping the latter from applying in that case). Did you think you had actually seen the main bonus getting overridden in a game?

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 10:13 pm
by MatGB
I did, when last I tried it, I'll load up a game and do it again to see, I've developed a tendency of late to colonise Mu Ursh into lots of places for some reason ;-)

It was awhileago tho, so it may've been a display glitch.

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 10:25 pm
by MatGB
Confirmed it in my previous savegame where I knew there were multiple Mu ursh homeworlds.

Mier loses pop (and I ended turn to make sure it wasn't a display glitch, population was lost) if Wen Chiang (a tiny world) is set to growth, but Wen Chiang doesn't lose pop if Mier is set to growth (Mier is medium and tectonically unstable).

So it doesn't happen in all cases. In case it matters, Wen Chiang had been my first in game conquest, Mier a much later one.

Re: Growth focus on homeworlds??

Posted: Thu Sep 19, 2013 11:55 pm
by Dilvish
MattG, could you please test this little patch and see if it clears up the problem...

Re: Growth focus on homeworlds??

Posted: Fri Sep 20, 2013 2:21 pm
by MatGB
That appears to work, at least on the testgame I used for the above, I'll keep it applied and look out for other instances, I'm playing on high natives ATM so it should be workable.