comparison testdata/xml-race-factory/single-unit-with-valid-equipment-slot-reference.racex @ 63:a9163f8dfba1

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Move invalid equipment slot data file to sub-folder * Add test for valid equipment slot (currently null-refs and fails)
author IBBoard <dev@ibboard.co.uk>
date Sat, 03 Jul 2010 19:54:42 +0000
parents
children
comparison
equal deleted inserted replaced
62:ef8950a5f4cb 63:a9163f8dfba1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="nonexistant">
3 <units>
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
5 <stats>
6 <stat name="M">4</stat>
7 <stat name="WS">6</stat>
8 <stat name="BS">6</stat>
9 <stat name="S">4</stat>
10 <stat name="T">4</stat>
11 <stat name="W">3</stat>
12 <stat name="I">6</stat>
13 <stat name="A">4</stat>
14 <stat name="Ld">9</stat>
15 </stats>
16 <equipmentSlots>
17 <equipmentSlot name="slot1">
18 <maxLimit>
19 <core:absoluteLimit limit="1" />
20 </maxLimit>
21 </equipmentSlot>
22 </equipmentSlots>
23 <unitEquipment>
24 <unitEquipmentItem id="equip1" equipmentSlot="slot1"/>
25 </unitEquipment>
26 </unit>
27 </units>
28 <equipment>
29 <equipmentItem id="equip1" name="sword" cost="1"/>
30 </equipment>
31 </race>