population growth not working well in planetaryimprovements.xml

population growth not working well in planetaryimprovements.xml

I'm trying to make a set of planetary improvements in planetimprovements.xml that affect +population growth for the planet it's built on and that planet alone but it's not working very well. I
 gives +pop growth (same as aphrodisiac), but unless 
 is set (rather than Normal or something), the bonus does nothing.   It doesn't show up in the F6 screen or the planet details window.  Flipping through turns even with it set to very large AbilityAmount's vrs not having it built has equal population growth on either side regardless of approval.  Tested starting with 5B and 100M populations but no change.

There are events in events.xml (like Population01Event) that indicate there is  population bonus and growth changes (like MidevilHippies), but I was unable to find an entry in the planet details after searching several of my past games.  It looks like this might not actually be doing anything currently.  I'm playing on 1.1 currently.

does not work at all
    

works correctly
    
3,928 views 3 replies
Reply #1 Top
changing angle brackets to []'s

I'm trying to make a set of planetary improvements in planetimprovements.xml that affect +population growth for the planet it's built on and that planet alone but it's not working very well. I [AbilityType]5[/AbilityType] gives +pop growth (same as aphrodisiac), but unless [S_Type]TradeGood[/S_Type] is set (rather than Normal or something), the bonus does nothing. It doesn't show up in the F6 screen or the planet details window. Flipping through turns even with it set to very large AbilityAmount's vrs not having it built has equal population growth on either side regardless of approval. Tested starting with 5B and 100M populations but no change.

There are events in events.xml (like Population01Event) that indicate there is population bonus and growth changes (like MidevilHippies), but I was unable to find an entry in the planet details after searching several of my past games. It looks like this might not actually be doing anything currently. I'm playing on 1.1 currently.


does not work at all
[Improvement]
[S_Name]Soylent Cloning Vats[/S_Name]
[S_QueryGraphicName]aphrodisiac.png[/S_QueryGraphicName]
[S_InternalName]EnhFertility4[/S_InternalName]
[ManufactureBonus]0[/ManufactureBonus]
[MoraleBonus]0[/MoraleBonus]
[EconomicBonus]0[/EconomicBonus]
[PrestigeBonus]0[/PrestigeBonus]
[PlanetaryQualityBonus]0[/PlanetaryQualityBonus]
[StarshipQualityBonus]0[/StarshipQualityBonus]
[ResearchBonus]0[/ResearchBonus]
[S_Type]Normal[/S_Type]
[AbilityType]5[/AbilityType]
[AbilityAmount]50[/AbilityAmount]
[SpecialID]4[/SpecialID]
[Cost]500[/Cost]
[S_BriefDescription]Increases birthrate.[/S_BriefDescription]
[S_Description]This genetically-created spice will increase our population growth rate by an estimated 50%.[/S_Description]
[Maintenance]0[/Maintenance]
[Industry]0[/Industry]
[Employment]20[/Employment]
[Food]0[/Food]
[S_IconName]aphrodisiac.png[/S_IconName]
[/Improvement]

works correctly
[Improvement]
[S_Name]Soylent Cloning Vats[/S_Name]
[S_QueryGraphicName]aphrodisiac.png[/S_QueryGraphicName]
[S_InternalName]EnhFertility4[/S_InternalName]
[ManufactureBonus]0[/ManufactureBonus]
[MoraleBonus]0[/MoraleBonus]
[EconomicBonus]0[/EconomicBonus]
[PrestigeBonus]0[/PrestigeBonus]
[PlanetaryQualityBonus]0[/PlanetaryQualityBonus]
[StarshipQualityBonus]0[/StarshipQualityBonus]
[ResearchBonus]0[/ResearchBonus]
[S_Type]TradeGood[/S_Type]
[AbilityType]5[/AbilityType]
[AbilityAmount]50[/AbilityAmount]
[SpecialID]4[/SpecialID]
[Cost]500[/Cost]
[S_BriefDescription]Increases birthrate.[/S_BriefDescription]
[S_Description]This genetically-created spice will increase our population growth rate by an estimated 50%.[/S_Description]
[Maintenance]0[/Maintenance]
[Industry]0[/Industry]
[Employment]20[/Employment]
[Food]0[/Food]
[S_IconName]aphrodisiac.png[/S_IconName]
[/Improvement]
the only difference between the two entries is one is a tradegood and the other is normal.
Reply #2 Top
You have to realize that when you set [AbilityType]5[/AbilityType], it adds to your empire abilities, and not just on that one planet. With that said, I'm pretty sure that the only way to add to your empire abilities is through a trade goods. It's essentially the minable resources (that you build starbases on) on a planet.
Reply #3 Top
You have to realize that when you set [AbilityType]5[/AbilityType], it adds to your empire abilities, and not just on that one planet. With that said, I'm pretty sure that the only way to add to your empire abilities is through a trade goods. It's essentially the minable resources (that you build starbases on) on a planet.


There are a couple problems regardless though. When the planetary improvement has abilitytype set to 5 but it's set as s_type normal instead of s_type TradeGood, it still shows the building as adding to popgrowth when you look at it, but it has no effect (that I can tell) on population growth. The second problem is the fact that events.xml has entries that indicate affect population growth on a single planet, but don't actually seem to affect it in the planet details window (that I can tell).

If it affects it and it doesn't show up in planet details, that's a bug. If it does not affect anything, but still occurs as an event, that's a bug since some of the events would have no actual affect . If it affects it and it's just not showing up, then giving us the ability to make planetary improvements that affect it in the same way would be nice .