Applying Poundmaker's trader plot ability to other units?

SaucyJ

Chieftain
Joined
Jan 14, 2016
Messages
40
So the Cree have a trait where their traders automatically claim any plot within 3 tiles of a Cree city that they travel over. I traced this ability as follows:

<TraitType>TRAIT_CIVILIZATION_CREE_TRADE_GAIN_TILES</TraitType> from the Expansion1_Civilization xml, to

<ModifierId>TRAIT_TRADE_GAIN_TILES_EN_ROUTE</ModifierId> (which is set to 3 tiles) from the same xml, to

<ModifierType>MODIFIER_PLAYER_TRADE_GAIN_TILES_EN_ROUTE</ModifierType> from the same xml, to

<CollectionType>COLLECTION_OWNER</CollectionType> and
<EffectType>EFFECT_ADJUST_PLAYER_TRADE_GAIN_TILES_EN_ROUTE</EffectType> from the Expansion1_Modifiers.xml

However, nowhere in any of the above xmls, or in any of the expansion unit xmls, or actually in any of the expansion xmls whatsoever, link this ability to trader units specifically, and I couldn't trace the EffectType tag to any other xml either.

So my question is this: how is the game determining which units to apply this ability to, and is there any way to change or add to this ability to allow other units to claim tiles by moving into them?
 
EFFECT_ADJUST_PLAYER_TRADE_GAIN_TILES_EN_ROUTE will be defined and implemented directly within the Expansion 1 DLL to which we have no access. This is almost certainly where the game is being instructed to implement the effect for trade units.
 
Back
Top Bottom