Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate testdata/xml-race-factory/simple-requirement.racex @ 203:2b27447ae74e
Re #352: Test/fix cyclic references in unit types
* Add test case
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Jan 2012 21:01:02 +0000 |
parents | 1de37b5c8107 |
children |
rev | line source |
---|---|
147
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="default"> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <categories> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" /> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <cats:cat id="cat2" name="Regiments" minPercentage="25" maxPercentage="100" /> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" /> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 <cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" /> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 <cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" /> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 </categories> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <units> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100"> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <stats> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 <stat name="M">4</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 <stat name="WS">6</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <stat name="BS">6</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 <stat name="S">4</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 <stat name="T">4</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 <stat name="W">3</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 <stat name="I">6</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 <stat name="A">4</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 <stat name="Ld">9</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 </stats> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 <requirements> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 <requirement requirementName="RequiresAtLeastNUnits"> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 <data>Empire2</data> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 </requirement> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 </requirements> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 </unit> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 <unit id="Empire2" typeName="Minion" cat="cat1" points="0"> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 <stats> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 <stat name="M">4</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 <stat name="WS">2</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 <stat name="BS">2</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 <stat name="S">2</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 <stat name="T">2</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 <stat name="W">1</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 <stat name="I">2</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 <stat name="A">1</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 <stat name="Ld">5</stat> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 </stats> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 </unit> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 </units> |
1de37b5c8107
Re #346: Add core schema support for requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 </race> |