<?xml version="1.0" encoding="utf-8"?>
<GameData>
	<Types>
		<Row Type="UNIT_PRODUCER" Kind="KIND_UNIT"/>
		<Row Type="ABILITY_SCOUT" Kind="KIND_ABILITY"/>
		<Row Type="ABILITY_PRODUCER_ENTER_FOREIGN_LANDS" Kind="KIND_ABILITY"/>
		<Row Type="ABILITY_SELFDEFENT" Kind="KIND_ABILITY"/>
	</Types>

	<Tags>
		<Row Tag="CLASS_PRODUCER" Vocabulary="ABILITY_CLASS"/>
	</Tags>

	<TypeTags>
		<Row Type="UNIT_PRODUCER" Tag="CLASS_LANDCIVILIAN"/>
		<Row Type="UNIT_PRODUCER" Tag="CLASS_PRODUCER"/>
		<Row Type="ABILITY_SCOUT" Tag="CLASS_PRODUCER"/>
		<Row Type="ABILITY_PRODUCER_ENTER_FOREIGN_LANDS" Tag="CLASS_PRODUCER"/>
		<Row Type="ABILITY_SELFDEFENT" Tag="CLASS_PRODUCER"/>
	</TypeTags>

	<UnitAiInfos>
		<Row UnitType="UNIT_PRODUCER" AiType="UNITTYPE_CIVILIAN_LEADER"/>
		<Row UnitType="UNIT_PRODUCER" AiType="UNITAI_LEADER"/>
	</UnitAiInfos>

	<UnitReplaces>
		<Row CivUniqueUnitType="UNIT_PRODUCER" ReplacesUnitType="UNIT_WARRIOR"/>
	</UnitReplaces>

	<Units>
		<Row UnitType="UNIT_PRODUCER" Cost="25" CostProgressionModel="COST_PROGRESSION_GAME_PROGRESS" CostProgressionParam1="400" BaseMoves="3" BaseSightRange="3" ZoneOfControl="False" Domain="DOMAIN_LAND" Combat="0" FormationClass="FORMATION_CLASS_LAND_COMBAT" Name="LOC_UNIT_PRODUCER_NAME" Description="LOC_UNIT_PRODUCER_DESCRIPTION" TraitType="TRAIT_CIVILIZATION_UNIT_PRODUCER" CanCapture="False" PurchaseYield="YIELD_GOLD"  SpreadCharges="2" CanRetreatWhenCaptured="True"/>
	</Units>

	<UnitAbilities>
		<Row UnitAbilityType="ABILITY_SCOUT" Name="LOC_ABILITY_SCOUT_NAME" Description="LOC_ABILITY_SCOUT_DESCRIPTION"/>
		<Row UnitAbilityType="ABILITY_PRODUCER_ENTER_FOREIGN_LANDS" Name="LOC_ABILITY_PRODUCER_ENTER_FOREIGN_LANDS_NAME" Description="LOC_ABILITY_PRODUCER_ENTER_FOREIGN_LANDS_DESCRIPTION"/>
		<Row UnitAbilityType="ABILITY_SELFDEFENT" Name="LOC_ABILITY_SELFDEFENT_NAME" Description="LOC_ABILITY_SELFDEFENT_DESCRIPTION"/>
	</UnitAbilities>
	
	<UnitAbilityModifiers>
		<Row>
			<UnitAbilityType>ABILITY_SCOUT</UnitAbilityType>
			<ModifierId>APOSTLE_BARBARIAN_CONVERSION</ModifierId>
		</Row>
		<Row>
			<UnitAbilityType>ABILITY_PRODUCER_ENTER_FOREIGN_LANDS</UnitAbilityType>
			<ModifierId>PRODUCER_ENTER_FOREIGN_LANDS</ModifierId>
		</Row>
		<Row>
			<UnitAbilityType>ABILITY_SELFDEFENT</UnitAbilityType>
			<ModifierId>CANNOT_ATTACK</ModifierId>
		</Row>
	</UnitAbilityModifiers>

	<Modifiers>
		<Row>
			<ModifierId>PRODUCER_ENTER_FOREIGN_LANDS</ModifierId>
			<ModifierType>MODIFIER_PLAYER_UNIT_ADJUST_ENTER_FOREIGN_LANDS</ModifierType>
			<SubjectRequirementSetId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC</SubjectRequirementSetId>
			<Permanent>true</Permanent>
		</Row>
	</Modifiers>

	<ModifierArguments>
		<Row>
			<ModifierId>PRODUCER_ENTER_FOREIGN_LANDS</ModifierId>
			<Name>Enter</Name>
			<Value>true</Value>
		</Row>
	</ModifierArguments>

	<RequirementSets>
		<Row>
			<RequirementSetId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC</RequirementSetId>
			<RequirementSetType>REQUIREMENTSET_TEST_ALL</RequirementSetType>
		</Row>
	</RequirementSets>

	<RequirementSetRequirements>
		<Row>
			<RequirementSetId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC</RequirementSetId>
			<RequirementId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC_REQUIRES</RequirementId>
		</Row>
	</RequirementSetRequirements>

	<Requirements>
		<Row>
			<RequirementId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC_REQUIRES</RequirementId>
			<RequirementType>REQUIREMENT_PLAYER_HAS_CIVIC</RequirementType>
		</Row>
	</Requirements>

	<RequirementArguments>
		<Row>
			<RequirementId>IMAS_HAS_DIPLOMATIC_SERVICE_CIVIC_REQUIRES</RequirementId>
			<Name>CivicType</Name>
			<Value>CIVIC_DIPLOMATIC_SERVICE</Value>
		</Row>
	</RequirementArguments>
</GameData>
