comparison testdata/xml-race-factory/single-unit-with-invalid-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 </equipmentSlots>
19 <unitEquipment>
20 <unitEquipmentItem id="equip1" equipmentSlot="slot2"/>
21 </unitEquipment>
22 </unit>
23 </units>
24 <equipment>
25 <equipmentItem id="equip1" name="sword" cost="1"/>
26 </equipment>
27 </race>