Requirement: Player Has Trait

opedoh16

Chieftain
Joined
Apr 23, 2017
Messages
4
I'm trying to create a trait similar to the Papal Primacy Belief, which provides stacking bonuses from every city-state you have influence with. Papal Primacy atributes its trait modifier to all parent city state types:
Code:
<Row TraitType="MINOR_CIV_SCIENTIFIC_TRAIT" ModifierId="MINOR_CIV_SCIENTIFIC_SMALL_INFLUENCE_BONUS_PAPAL_PRIMACY"/>
And then its bonuses to all players:
Code:
<ModifierId>MINOR_CIV_SCIENTIFIC_SMALL_INFLUENCE_BONUS_PAPAL_PRIMACY</ModifierId>
<ModifierType>MODIFIER_ALL_PLAYERS_ATTACH_MODIFIER</ModifierType>
<SubjectRequirementSetId>PLAYER_HAS_SMALL_INFLUENCE_AND_PAPAL_PRIMACY</SubjectRequirementSetId>
With a Requeriment Set that, between other things, checks if the player has the actual Papal Primacy Belief:
Code:
<RequirementId>REQUIRES_PLAYER_HAS_PAPAL_PRIMACY</RequirementId>
<RequirementType>REQUIREMENT_PLAYER_FOUNDED_RELIGION_WITH_BELIEF</RequirementType>

Most of those can be replicated easily, except for the "REQUIREMENT_PLAYER_FOUNDED_RELIGION_WITH_BELIEF". How would I be able to replicate this requirement for a Leader/Civilization trait?
 
Unfortunately, I do not believe we are able to edit or add new requirement types with the tools we have.

Requirement Types, Collections, Effects, and Requirement Set Types are all hard coded, and we can only use what we have.

upload_2018-1-9_20-6-26.png
 
So you want your trait to read "Type bonuses from City-States [you have influence with] are 50% more powerful."
 
Back
Top Bottom