rattatatouille
Warlord
- Joined
- Jan 26, 2018
- Messages
- 140
I'm currently making a mod where Universities grant +1 Science to Rainforest tiles in its city (a la Civ V). Here's my code:
Is there anything I should correct to make this work?
Code:
<Modifiers>
<Row>
<ModifierId>UNIVERSITY_ADD_SCIENCE_RAINFOREST</ModifierId>
<ModifierType>MODIFIER_CITY_PLOT_YIELDS_ADJUST_PLOT_YIELD</ModifierType>
<SubjectRequirementSetId>RTT_REQUIRES_PLOT_HAS_TAG_UNIVERSITY_FEATURE</SubjectRequirementSetId>
</Row>
</Modifiers>
<ModifierArguments>
<Row>
<ModifierId>UNIVERSITY_ADD_SCIENCE_RAINFOREST</ModifierId>
<Name>Amount</Name>
<Value>1</Value>
</Row>
<Row>
<ModifierId>UNIVERSITY_ADD_SCIENCE_RAINFOREST</ModifierId>
<Name>YieldType</Name>
<Value>YIELD_SCIENCE</Value>
</Row>
</ModifierArguments>
<Requirements>
<Row>
<RequirementId>RTT_REQUIRES_PLOT_HAS_TAG_UNIVERSITY_FEATURE</RequirementId>
<RequirementType>REQUIRES_PLOT_HAS_JUNGLE</RequirementType>
</Row>
</Requirements>
<BuildingModifiers>
<Row>
<BuildingType>BUILDING_UNIVERSITY</BuildingType>
<ModifierId>UNIVERSITY_ADD_SCIENCE_RAINFOREST</ModifierId>
</Row>
</BuildingModifiers>
Is there anything I should correct to make this work?