view testdata/extended-data.racex @ 88:31fd34f7d7cf

Re #253: Allow multiple data files in a single zip * Update Mock factory to work properly
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Feb 2011 20:15:38 +0000
parents f6bbd77b5473
children 3561878cdb66
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">req data</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>