Question regarding traits

decster584

Chieftain
Joined
Aug 8, 2013
Messages
16
Hi there,

New to these forums so sorry if I'm posting in the wrong board - please move if necessary.

I'm creating a new civ and I've managed to get as far as the leader, all the text strings etc. But I want to create a new trait and I'm struggling to find the right way to do this.

The long and short of it is I want to make a trait so that for every +1 faith a civ has they also get +1 science. The closest I can figure from the schema is that it may be something like this:

<Trait_ExtraYieldThresholds>
<Row>
<TraitType>TRAIT_SCIENTIFIC_BELIEF</TraitType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>1</Yield>
</Row>
</Trait_ExtraYieldThresholds>
<Trait_YieldChanges>
<Row>
<TraitType>TRAIT_SCIENTIFIC_BELIEF</TraitType>
<YieldType>YIELD_SCIENCE</YieldType>
<Yield>1</Yield>
</Row>
</Trait_YieldChanges>

But I could be on completely the wrong track here! Is what I want to do possible without modding the core code?

Any help much appreciated. Thanks.
 
Top Bottom