blazekid87
Warlord
If you want to ADD a resource requirement use a code like:
<Unit_ResourceQuantityRequirements>
To CHANGE the current requirement:
<Unit_ResourceQuantityRequirements>
The difference is the first code adds onto the existing prequisites while leaving the original. And the second code overwrites the original one with the one you want. Hope this helps.
And I believe AIStopTrading is simply the Era in which you want the AI to no longer need this resource and stop trading it.
Spoiler :
<Unit_ResourceQuantityRequirements>
<Row>
<Unit_ResourceQuantityRequirements><UnitType>UNIT_MUSKETMAN</UnitType>
<ResourceType>RESOURCE_GUNPOWDER</ResourceType>
</Row><ResourceType>RESOURCE_GUNPOWDER</ResourceType>
To CHANGE the current requirement:
Spoiler :
<Unit_ResourceQuantityRequirements>
<Update>
<Where UnitType="UNIT_CANNON" Where ResourceType="RESOURCE_IRON" />
<Set ResourceType="RESOURCE_GUNPOWDER" />
</Update><Set ResourceType="RESOURCE_GUNPOWDER" />
The difference is the first code adds onto the existing prequisites while leaving the original. And the second code overwrites the original one with the one you want. Hope this helps.
And I believe AIStopTrading is simply the Era in which you want the AI to no longer need this resource and stop trading it.