From: <ele...@us...> - 2012-05-04 22:04:01
|
Revision: 4877 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=4877&view=rev Author: eleazzaar Date: 2012-05-04 22:03:54 +0000 (Fri, 04 May 2012) Log Message: ----------- accounting lables for homeworld and homeworld supply population bonus. Now the homeworld gets the population bonus no matter its foci. Modified Paths: -------------- trunk/FreeOrion/default/buildings.txt trunk/FreeOrion/default/eng_stringtable.txt Modified: trunk/FreeOrion/default/buildings.txt =================================================================== --- trunk/FreeOrion/default/buildings.txt 2012-05-04 21:56:33 UTC (rev 4876) +++ trunk/FreeOrion/default/buildings.txt 2012-05-04 22:03:54 UTC (rev 4877) @@ -7,10 +7,9 @@ tags = "ANTIQUATED" location = Not All effectsgroups = [ - EffectsGroup + EffectsGroup // These bonuses given to anyone scope = And [ Planet - Homeworld name = Source.Planet.Species OwnedBy TheEmpire Source.Owner Contains Source ] @@ -19,11 +18,22 @@ SetTargetMining Value + Target.Population * 0.5 SetTargetIndustry Value + Target.Population * 1.0 ] -// The following is supposed to effect only planets of the same species as the one that has the cultural archive. Currently does not work. - EffectsGroup + + EffectsGroup // This is for homeworlds. The right species gets the population bonus on the homeworld no matter the focus scope = And [ Planet + Homeworld name = Source.Planet.Species OwnedBy TheEmpire Source.Owner + Contains Source + ] + stackinggroup = "HOMEWORLD_STACK" + accountinglabel = "HOMEWORLD_BONUS" + effects = SetTargetPopulation Value + 3 + + EffectsGroup // This is for homeworlds. These bonuses given to connected planets whose homeworld this is If the focus is growth + scope = And [ + Planet + OwnedBy TheEmpire Source.Owner ResourceSupplyConnected empire = Source.Owner condition = Source Number low = 1 condition = And [ Contains Source @@ -33,6 +43,7 @@ ] activation = Focus "FOCUS_GROWTH" stackinggroup = "HOMEWORLD_STACK" + accountinglabel = "HOMEWORLD_SUPPLY" effects = SetTargetPopulation Value + 3 EffectsGroup Modified: trunk/FreeOrion/default/eng_stringtable.txt =================================================================== --- trunk/FreeOrion/default/eng_stringtable.txt 2012-05-04 21:56:33 UTC (rev 4876) +++ trunk/FreeOrion/default/eng_stringtable.txt 2012-05-04 22:03:54 UTC (rev 4877) @@ -7747,7 +7747,13 @@ NO_STAR '''No star''' +HOMEWORLD_SUPPLY +'''Homeworld Supply''' +HOMEWORLD_BONUS +'''Homeworld''' + + ############################################################# #### T A G S #### ############################################################# |