trystero49
Prince
- Joined
- Apr 30, 2012
- Messages
- 515
I am look at making a civ that gives + Faith and + Culture for every specialist in the city. I have modeled my code after the code from the Korea trait.
The database.log files doesn't give any irregularities, and I've looked at the database file with mySQL viewer, and everything appears to be in order, but nothing happens in game. I have linked the trait to my leader as well. I am really confused. Does this table not work, or something?
Code:
<Trait_SpecialistYieldChanges>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_CITIZEN</SpecialistType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_ARTIST</SpecialistType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_SCIENTIST</SpecialistType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_MERCHANT</SpecialistType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_CITIZEN</SpecialistType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_ARTIST</SpecialistType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_SCIENTIST</SpecialistType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_MERCHANT</SpecialistType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_UNIVERSAL_PRIESTHOOD</TraitType>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<YieldType>YIELD_CULTURE</YieldType>
<Yield>2</Yield>
</Row>
</Trait_SpecialistYieldChanges>
The database.log files doesn't give any irregularities, and I've looked at the database file with mySQL viewer, and everything appears to be in order, but nothing happens in game. I have linked the trait to my leader as well. I am really confused. Does this table not work, or something?