view testdata/xml-system-factory/valid-categories.systemx @ 155:3725fd449c77

Re #353: Handle unloaded units being referenced outside factory * Add mock factory and use it in tests All tests now pass (including tests that started failing because of unit loading order - triggered by requirement changes)
author IBBoard <dev@ibboard.co.uk>
date Mon, 04 Jul 2011 20:03:47 +0000
parents a2095a3685fc
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<system xmlns="http://ibboard.co.uk/warfoundry/system" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" id="default" name="Default Game System" warn="false">
	<categories>
		<cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" />
		<cats:cat id="cat2" name="Regiments" minPercentage="25" maxPercentage="100" />
		<cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" />
		<cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" />
		<cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" />
	</categories>
	<sysStatsList defaultStats="defaultStats">
		<sysStats id="defaultStats">
			<sysStat name="M"/>
			<sysStat name="WS"/>
			<sysStat name="BS"/>
			<sysStat name="S"/>
			<sysStat name="T"/>
			<sysStat name="W"/>
			<sysStat name="I"/>
			<sysStat name="A"/>
			<sysStat name="Ld"/>
		</sysStats>
	</sysStatsList>
</system>