view testdata/extended-data.racex @ 227:d8cd6b259a9f

Re #359: Add "only contained" attribute to unit types * Test to make sure sub-units are removed from the army
author IBBoard <dev@ibboard.co.uk>
date Mon, 16 Apr 2012 20:45:45 +0100
parents 3561878cdb66
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:ext="http://ibboard.co.uk/warfoundry/missing" id="EmpireAlt" name="Empire (Extended)" system="test" extraAttrib="value" ext:extraAttrib="en">
	<categories extraAttrib="value" ext:extraAttrib="en">
		<cats:cat id="cat1" name="Cat1"  extraAttrib="value" ext:extraAttrib="en">
			<child></child>
			<child></child>
		</cats:cat>
	</categories>
	<units>
		<unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1" extraAttrib="value" ext:extraAttrib="en">
			<stats extraAttrib="value" ext:extraAttrib="en">
				<stat name="m" extraAttrib="value" ext:extraAttrib="en">4</stat>
			</stats>
			<equipmentSlots>
				<equipmentSlot name="bob" extraAttrib="value" ext:extraAttrib="en">
					<maxLimit>
						<core:unitSizeLimit extraAttrib="value" ext:extraAttrib="en">
							<child></child>
							<child></child>
						</core:unitSizeLimit>
					</maxLimit>
					<child></child>
					<child></child>
				</equipmentSlot>
			</equipmentSlots>
			<unitEquipment extraAttrib="value" ext:extraAttrib="en">
				<unitEquipmentItem id="equip1" required="true" extraAttrib="value" ext:extraAttrib="en">
					<minLimit extraAttrib="value" ext:extraAttrib="en">
						<someArbitraryLimitType/>
					</minLimit>
					<child></child>
					<child></child>
				</unitEquipmentItem>
			</unitEquipment>
			<unitAbilities>
				<unitAbility abilityID="a" extraAttrib="value" ext:extraAttrib="en">
					<child></child>
					<child></child>
				</unitAbility>
			</unitAbilities>
			<requirements>
				<requirement requirementName="" extraAttrib="value" ext:extraAttrib="en">
					<data extraAttrib="value" ext:extraAttrib="en">req data</data>
					<child></child>
					<child></child>
				</requirement>
			</requirements>
			<extraData extraAttrib="value" ext:extraAttrib="en">
				<data id="data" extraAttrib="value" ext:extraAttrib="en">data value</data>
			</extraData>
			<contains>
				<containedUnit containedID="Empire3" extraAttrib="value" ext:extraAttrib="en">
					<child></child>
					<child></child>
				</containedUnit>
			</contains>
		</unit>
		<unit id="Empire3" typeName="Swordsmen Champion" cat="cat2" points="35">
			<stats>
				<stat name="M">4</stat>
			</stats>
		</unit>
	</units>
	<equipment extraAttrib="value" ext:extraAttrib="en">
		<equipmentItem id="equip1" name="sword" cost="1" extraAttrib="value" ext:extraAttrib="en">
			<child></child>
			<child></child>
		</equipmentItem>
	</equipment>
	<abilities extraAttrib="value" ext:extraAttrib="en">
		<ability id="a" name="Ability 1" extraAttrib="value" ext:extraAttrib="en">
			<description></description>
			<child></child>
			<child></child>
		</ability>
	</abilities>
	<child></child>
	<child></child>
</race>