Mercurial > repos > IBBoard.WarFoundry.API.Tests
view testdata/extended-data.racex @ 106:4dad874f4862
Re #27: Define unit requirements
* Add unit tests for multiple unit types being required
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 27 Mar 2011 19:19:04 +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>