MariMisawa
Civ VII Enjoyer
I am brand new to Civilization modding, and I'm trying my hand at creating a custom leader. This part of the ability is supposed to grant the player a Codex when they raze a settlement (there's also sections for Relics and Artifacts in later ages) but it doesn't seem to work. Anyone have any idea as to how I could fix it?
<Modifier id="OLGA_MOD_GAIN_CODEX" collection="COLLECTION_OWNER" effect="EFFECT_GRANT_GREAT_WORK" run-once="false" permanent="true">
<SubjectRequirements>
<Requirement type="REQUIREMENT_CITY_RAZED"/>
<Requirement type="REQUIREMENT_IS_AGE_COUNT"/>
</SubjectRequirements>
<Argument name="Amount">1</Argument>
<Argument name="ObjectType">GREATWORKOBJECT_WRITING</Argument>
<Argument name="Tooltip">LOC_TRAIT_LEADER_OLGA_ABILITY_NAME</Argument>
<Argument name="AgeCount">1</Argument>
</Modifier>