Mercurial > repos > IBBoard.WarFoundry.API.Tests
view testdata/extended-data.racex @ 194:f1f4df654a91
Re #350: Add requirement to allow N of unit for specific other units
* Add tests for defining minimum amount as well as allowed amount (e.g. "2 of these allow 3 of those")
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 03 Dec 2011 19:56:58 +0000 |
parents | 3561878cdb66 |
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" 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"> <data extraAttrib="value" ext:extraAttrib="en">req data</data> <child></child> <child></child> </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>