CaptureDefeatedEnemy promotion tag

Pazyryk

Deity
Joined
Jun 13, 2008
Messages
3,584
Here's the prize ship promotion that privateers have:

Code:
		<Row>
			<Type>PROMOTION_PRIZE_SHIPS</Type>
			<Description>TXT_KEY_PROMOTION_PRIZE_SHIPS</Description>
			<Help>TXT_KEY_PROMOTION_PRIZE_SHIPS_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CaptureDefeatedEnemy>true</CaptureDefeatedEnemy>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_PRIZE_SHIPS</PediaEntry>
		</Row>

Has anyone tried CaptureDefeatedEnemy in a land unit? I'm wondering if I can use is as part of a slave army system. I'll experiment around with it at some point but I was hoping someone would save me the trouble...
 
It's PROMOTION_RECRUITMENT_OFFICER given to the Western Roman Legions
 
Great! That solves part of my slavery system: civs with certain advanced Slavery policies capturing military units (easy enough to link it to a promotion).

The other part I'm trying to figure out is how to allow only some civs (those with Slavery policy) to capture workers and settlers. I'm assuming CaptureDefeatedEnemy only works for military units (I guess I should test that). Right now I have it so that workers and settlers are captured as "slaves" (a maintenance-free worker). But I can't figure out how to limit this to only civs with a certain policy. The best I can do now is to remove the slave unit after-the-fact for civs that shouldn't get them. Any ideas would be appreciated.
 
Back
Top Bottom