view testdata/race-with-non-existant-ability.racex @ 58:c642d217036e

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Simplify "non-existant ability" unit test by removing SystemX file * Remove line number checks, since Mono exception line numbers are end of file when the exception is a missing key ** * Re-implement equipment slot check test ** previous line numbers were taken from errors saying that keyref's key definition couldn't be found, not an error saying that the keyref value didn't exist
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 Jun 2010 20:40:18 +0000
parents 82cd08385bfe
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" id="Empire" name="Empire" system="default">
	<units>
		<unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
			<stats>
				<stat name="M">4</stat>
				<stat name="WS">6</stat>
				<stat name="BS">6</stat>
				<stat name="S">4</stat>
				<stat name="T">4</stat>
				<stat name="W">3</stat>
				<stat name="I">6</stat>
				<stat name="A">4</stat>
				<stat name="Ld">9</stat>
			</stats>
			<unitAbilities>
				<unitAbility abilityID="leaderOfMen"/>
			</unitAbilities>
		</unit>
	</units>
	<equipment>
		<equipmentItem id="equip1" name="sword" cost="1"/>
		<equipmentItem id="equip2" name="shield" cost="1"/>
		<equipmentItem id="equip3" name="broadsword" cost="2" />
		<equipmentItem id="equip4" name="Standard Guns" cost="3" />
		<equipmentItem id="equip5" name="Special Guns" cost="5" />
		<equipmentItem id="equip6" name="Long Gun" cost="4" />
		<equipmentItem id="equip7" name="Big Gun" cost="8" />
		<equipmentItem id="equip8" name="Quick Gun" cost="6" />
	</equipment>
</race>