[MOD] Starbase that produces income - HELP! (Please)

Hello,

 

Quick question!  I am trying to create a simple mod, where a new starbase module can be built that produces income without the need to be near a planet.  Here is a XML excerpt. 

 

    <Stats>
      <EffectType>Income</EffectType>
      <Scope>Global</Scope>
      <Target>
        <TargetType>Faction</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>10</Value>
   </Stats>

 

The game will not recognize "income" as a valid field input option for <EffectType>.  I have tried FactionIncome, NetIncome, GrossIncome, FactionNetIncome, and FactionGrossIncome.  Does anyone know what I need to insert into <EffectType> in order to increase total faction income?

Preferably in a way that lists this income in the government tab as actual income (as oppose to negative maintenance which i got to work quite easily).

 

Thanks

TheTraviler

 

18,668 views 3 replies
Reply #1 Top

Look in schemas for the correct value.

<EffectType> is a enum string, and you can find all the values that it can have in the /enum/statstype.xsd under the StatType element.

I think you are looking for one of the folowing values:

ColonyGrossIncome

ColonyNetIncome

CreditsPerTurn

GrossCreditsPerTurn

 

Regards

  OokamiChan

+1 Loading…
Reply #2 Top

CreditsPerTurn is the one you'll need.

Reply #3 Top

Thank you guys!

 

Quoting ookami8, reply 1

<EffectType> is a enum string, and you can find all the values that it can have in the /enum/statstype.xsd

 

This is very helpful to know.  Thank you!