<?xml version="1.0" encoding="UTF-8"?>
<castles healthPerVial = "1000" maxCastleHP = "6000">
	<castle id = "0" size = "s">
		<title>The Legacy</title>
		<description>The basic package. Includes everything you need to survive. Some assembly may be required.</description>
		<texture_atlas>theLegacy</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,lock,lock,lock,lock,lock</nodes>
		<health>500</health>
		<stats>
		<!-- (lower is better) | physicalWeakness | structuralWeakness | rageWeakness | pestulanceWeakness | cinderWeakness | deathWeakness  -->
		<!-- (higher is better - 0, 1, 2, 3 ) armorRating -->
		</stats>
		<cost lootType="gold">0</cost>
		<upkeep>0</upkeep>
		<repair>0.50</repair>
		<unlock condition="badges">0</unlock>
	</castle>
	
	<castle id = "1" size = "s">
		<title>The Classic</title>
		<description>Considered the standard for an upstart kingdom. Anything less would be poverty.</description>
		<texture_atlas>theClassic</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,lock,lock,lock,lock,lock</nodes>
		<health>800</health>
		<stats>
		</stats>
		<cost lootType="gold">75</cost>
		<upkeep>0.04</upkeep>
		<repair>0.58</repair>
		<unlock condition="levelCompletion">0,3</unlock>
	</castle>
	
	<castle id = "2" size = "s">
		<title>The Alternative</title>
		<description>Mainly a message against social norm, this fortress does not conform to idealisms of standardized kingdoms.</description>
		<texture_atlas>theAlternative</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,magic,lock,lock,lock,lock</nodes>
		<health>1300</health>
		<stats>
		</stats>
		<cost lootType="gold">938</cost>
		<upkeep>0.04</upkeep>
		<repair>0.58</repair>
		<unlock condition="badges">12</unlock>
	</castle>
	
	<castle id = "3" size = "s">
		<title>The Sturdy</title>
		<description>The first true upgrade, this fortress is roomy enough to fit a siege squad while soldier squads provide back-up.</description>
		<texture_atlas>theSturdy</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,siege,lock,lock,lock,lock,lock</nodes>
		<health>1200</health>
`		<stats>
		</stats>
		<cost lootType="gold">530</cost>
		<upkeep>0</upkeep>
		<repair>0.50</repair>
		<unlock condition="levelCompletion">0,6</unlock>
	</castle>
	
 	<castle id = "4" size = "s">
		<title>The Olmstead</title>
		<description>Following the incessant complaints over flawed designs and faulty construction, a new fortress was built from scratch to accommodate previously unforeseen technical hurdles.</description>
		<texture_atlas>theOlmstead</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,siege,lock,lock,lock,lock</nodes>
		<health>1000</health>
		<stats>
		</stats>
		<cost lootType="gold">627</cost>
		<upkeep>0</upkeep>
		<repair>0.50</repair>
		<unlock condition="levelCompletion">0,6</unlock>
	</castle>
	
	<castle id = "5" size = "s">
		<title>The Majestic</title>
		<description>Designed by a royal architectural wizard apprentice understudy, a stronger emphasis was placed on the finer arcane arts instead of just brute force.</description>
		<texture_atlas>theMajestic</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,siege,magic,lock,lock,lock,lock</nodes>
		<health>1600</health>
		<stats>
		</stats>
		<cost lootType="gold">1570</cost>
		<upkeep>0.04</upkeep>
		<repair>0.58</repair>
		<unlock condition="badges">24</unlock>
	</castle>
	
	<castle id = "6" size = "s">
		<title>The Aggressor</title>
		<description>After wrestling a wild dragon to the ground with her bare hands, the Head Administrator for Architectural Studies carved the plans for this unique fortress into the dragon's soft underbelly.</description>
		<texture_atlas>theAggressor</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,siege,siege,lock,lock,lock,lock</nodes>
		<health>1350</health>
		<stats>
		</stats>
		<cost lootType="gold">1440</cost>
		<upkeep>0.04</upkeep>
		<repair>0.58</repair>
		<unlock condition="levelCompletion">0,12</unlock>
	</castle>
	
	<castle id = "7" size = "s">
		<title>The Prototype</title>
		<description>As a test of new fortress construction ideologies, a fortress was built to maximize the stability while maintaining previous successful squad configurations.</description>
		<texture_atlas>thePrototype</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,siege,lock,lock,lock,lock</nodes>
		<health>1700</health>
		<stats>
		</stats>
		<cost lootType="gold">845</cost>
		<upkeep>0.00</upkeep>
		<repair>0.50</repair>
		<unlock condition="levelCompletion">0,8</unlock>
	</castle>
	
	<castle id = "8" size = "m" pack = "pack1">
		<title>The Keepsake</title>
		<description>Once a gag gift to the former duchess, this fortress is well-known for being a slapdash attempt to create the perfectly customizable fortress.</description>
		<texture_atlas>theKeepsake</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,siege,research,lock,lock,lock</nodes>
		<health>2100</health>
		<stats>
		</stats>
		<cost lootType="gold">1000</cost>
		<upkeep>0.20</upkeep>
		<repair>0.74</repair>
		<unlock condition="levelCompletion">1,4</unlock>
	</castle>
	
 	<castle id = "9" size = "m" pack = "pack1"> 
 		<title>The Dowry</title> 
 		<description>In exchange for large tracts of land and a hand in marriage, this fortress was intended to be built on top of the swamp. It was quickly recovered before it nearly sank.</description> 
 		<texture_atlas>theDowry</texture_atlas> 
 		<texture>castle</texture> 
 		<icon>card</icon> 
 		<nodes>soldier,soldier,soldier,siege,magic,lock,lock,lock</nodes> 
 		<health>1800</health> 
 		<stats>  
 		</stats> 
 		<cost lootType="gold">1600</cost>
 		<upkeep>0.15</upkeep> 
 		<repair>0.65</repair> 
 		<unlock condition="levelCompletion">1,4</unlock> 
 	</castle>
	
 	<castle id = "10" size = "m" pack = "pack1">
 		<title>The Manticore Prototype</title>
 		<description>The initial designs suggest this fortress was part of a long search for the ultimate killing machines. Utilizing all squad types, this fortress provides variety in delivering damage to the enemy forces.</description>
 		<texture_atlas>theManticorePrototype</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>soldier,soldier,siege,magic,research,lock,lock,lock</nodes>
 		<health>2400</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">1100</cost>
 		<upkeep>0.15</upkeep>
 		<repair>0.65</repair>
 		<unlock condition="levelCompletion">1,7</unlock>
 	</castle>
	
	<castle id = "11" size = "m" pack = "pack1">
		<title>The Adept</title>
		<description>A source of many primary magic schools, young wizards and warlocks start training in these fortresses before getting promoted to a desk job in higher circles.</description>
		<texture_atlas>theAdept</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,siege,magic,magic,research,lock,lock,lock</nodes>
		<health>2600</health>
		<stats>
		</stats>
		<cost lootType="gold">1700</cost>
		<upkeep>0.20</upkeep>
		<repair>0.74</repair>
		<unlock condition="levelCompletion">1,7</unlock>
	</castle>
		
 	<castle id = "12" size = "m" pack = "pack1">
 		<title>The Cavalry</title>
 		<description>Built to withstand nearly anything thrown at it, this fortress can easily change squad combinations to fit more situations.</description>
 		<texture_atlas>theCavalry</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>siege,siege,magic,magic,research,research,lock,lock</nodes>
 		<health>3375</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">1500</cost>
 		<upkeep>0.15</upkeep>
 		<repair>0.65</repair>
 		<unlock condition="badges">66</unlock>
 	</castle>
	
 	<castle id = "13" size = "m" pack = "pack1">
 		<title>The Chimera Prototype</title>
 		<description>Throwing raw power, magic blasts, and research support at the enemy in near equal proportions, this fortress truly is a spectacle to behold.</description>
 		<texture_atlas>theChimeraPrototype</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>soldier,soldier,soldier,siege,magic,research,lock,lock</nodes>
 		<health>3200</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">1250</cost>
 		<upkeep>0.20</upkeep>
 		<repair>0.74</repair>
 		<unlock condition="levelCompletion">1,10</unlock>
 	</castle>
	
	<castle id = "14" size = "m" pack = "pack1">
		<title>The Engagement</title>
		<description>In honor of the royal wedding, a grand structure was built to represent the royal couple in the upcoming battles. This design was immediately rejected when presented to the royal court for being &quot;too brown.&quot;</description>
		<texture_atlas>theEngagement</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,soldier,siege,magic,lock,lock,lock</nodes>
		<health>2800</health>
		<stats>
		</stats>
		<cost lootType="gold">1850</cost>
		<upkeep>0.15</upkeep>
		<repair>0.65</repair>
		<unlock condition="levelCompletion">1,10</unlock>
	</castle>
	
 	<castle id = "15" size = "m" pack = "pack1">
 		<title>Gyrjrakk</title>
 		<description>C'ymd dy ramacnoda drayn k'rrakkv'm ry'k yran dra knaryy'k zorokazard, dryk vyndnakk kdyyj ok o zyr'zard dy dra iaonk yv kaora orj vnaajyz vyn omm Rynjagyrj.</description>
 		<texture_atlas>theGyrjrakk</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>*,soldier,soldier,soldier,siege,siege,lock,lock</nodes>
 		<health>3000</health>
 		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 		</stats>
 		<cost lootType="gold">5500</cost>
 		<upkeep>0.30</upkeep>
 		<repair>0.85</repair>
 		<unlock condition="levelCompletion">1,12</unlock>
 	</castle>
		
 	<castle id = "16" size = "l" pack = "pack2">
 		<title>The Manticore</title>
 		<description>Everything its prototype offered and more, this fortress provides a strong offensive and wonderful support. The only riddle left to answer is how it will be used.</description>
 		<texture_atlas>theManticore</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>soldier,soldier,soldier,siege,siege,magic,lock,lock,lock</nodes>
 		<health>3600</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">1000</cost>
 		<upkeep>0.32</upkeep>
 		<repair>0.86</repair>
 		<unlock condition="levelCompletion">2,3</unlock>
 	</castle>
	
	<castle id = "17" size = "l" pack = "pack2">
		<title>The Flexible</title>
		<description>Cheap, disposable parts allow more freedom in the construction process for this fortress. A complete set of instructions will be provided for easy reconstruction and modification.</description>
		<texture_atlas>theFlexible</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,soldier,soldier,siege,lock,lock</nodes>
		<health>3600</health>
		<stats>
		</stats>
		<cost lootType="gold">1600</cost>
		<upkeep>0.25</upkeep>
		<repair>0.75</repair>
		<unlock condition="levelCompletion">2,3</unlock>
	</castle>
	
	<castle id = "18" size = "l" pack = "pack2">
 		<title>The Adaptation</title>
 		<description>After extensive research on enemy tactics, fortress plans were made to handle the constant change in strategy for impending battles.</description>
		<texture_atlas>theAdaptation</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,soldier,siege,research,lock,lock</nodes>
		<health>4300</health>
		<stats>
		</stats>
		<cost lootType="gold">1100</cost>
		<upkeep>0.25</upkeep>
		<repair>0.75</repair>
		<unlock condition="levelCompletion">2,7</unlock>
	</castle>
	
 	<castle id = "19" size = "l" pack = "pack2">
 		<title>The Reinforcement</title>
 		<description>Often used to sweep back over any new territory, this fortress is the tool belt for the invasion force, containing a slot for every occasion.</description>
 		<texture_atlas>theReinforcement</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>soldier,soldier,soldier,siege,magic,magic,research,lock</nodes>
 		<health>3900</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">1700</cost>
 		<upkeep>0.32</upkeep>
 		<repair>0.86</repair>
 		<unlock condition="levelCompletion">2,7</unlock>
 	</castle>
		
 	<castle id = "20" size = "l" pack = "pack2">
		<title>The Studious</title>
		<description>Boasting the largest collection of mages in all the lands, this fortress stands as a symbol of the power of magic. As they say, &quot;If you can magic here, you can magic anywhere.&quot;</description>
 		<texture_atlas>theStudious</texture_atlas>
 		<texture>castle</texture>
 		<icon>card</icon>
 		<nodes>*,soldier,siege,magic,magic,magic,research,lock</nodes>
 		<health>5000</health>
 		<stats>
 		</stats>
 		<cost lootType="gold">3750</cost>
 		<upkeep>0.32</upkeep>
 		<repair>0.86</repair>
 		<unlock condition="badges">119</unlock>
 	</castle>
	
	<castle id = "21" size = "l" pack = "pack2">
		<title>The Battalion</title>
		<description>Home to the once great royal guard armed battalion, this fortress displays great soldier customization and discipline.</description>
		<texture_atlas>theBattalion</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,soldier,soldier,siege,magic,magic,lock</nodes>
		<health>4750</health>
		<stats>
		</stats>
		<cost lootType="gold">1300</cost>
		<upkeep>0.25</upkeep>
		<repair>0.75</repair>
		<unlock condition="levelCompletion">2,11</unlock>
	</castle>
		
	<castle id = "22" size = "l" pack = "pack2">
		<title>The Barbarian</title>
		<description>Emphasizing brute force over consistency, this fortress is great for blasting foes away before they have a chance to retaliate.</description>
		<texture_atlas>theBarbarian</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>soldier,soldier,siege,magic,magic,research,research,lock</nodes>
		<health>4500</health>
		<stats>
		</stats>
		<cost lootType="gold">1850</cost>
		<upkeep>0.32</upkeep>
		<repair>0.86</repair>
		<unlock condition="levelCompletion">2,11</unlock>
	</castle>
	
 	<castle id = "23" size = "l" pack = "pack2">
		<title>Kyyj 'ymm</title>
		<description>Ynykyrommi anardaj dy kry' orrakdorra yv omm dryka kankar'daj ci Ymj Zorodamykyo, Rynja 'y'mj dnoram von orj 'yja z'kd dy kaa dryk knaod kykrd.</description>
		<texture_atlas>theKyyj 'ymm</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">2,16</unlock>
	</castle>
	
	<castle id = "24" size = "s">
		<title>The Curious</title>
		<description>Taking off the shackles and throwing down the gauntlet, this fortress refuses the concept of constraint and resists the brutality of physical contact.</description>
		<texture_atlas>theCurious</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,*,*,*,*,lock,lock,lock</nodes>
		<health>2500</health>
		<stats>
 			<stat attribute="physicalWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">30000</cost>
		<upkeep>0</upkeep>
		<repair>0.25</repair>
		<unlock condition="badges">0</unlock>
	</castle>
	
	<castle id = "25" size = "m">
		<title>The Tester</title>
		<description>Further testing the patience of the architects, this fortress is designed to be more flexible and more resistant than its curious counterpart.</description>
		<texture_atlas>theTester</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,*,*,*,*,*,lock,lock</nodes>
		<health>4000</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
		</stats>
		<cost lootType="gold">60000</cost>
		<upkeep>0.06</upkeep>
		<repair>0.30</repair>
		<unlock condition="badges">0</unlock>
	</castle>
	
	<castle id = "26" size = "l">
		<title>The Cheater</title>
		<description>Blueprints reveal this fortress’ original design traces over parts of others to make an improved fortress resistant to its furious and often physical critiques.</description>
		<texture_atlas>theCheater</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,*,*,*,*,*,*,lock</nodes>
		<health>5500</health>
		<stats>
 			<stat attribute="physicalWeakness">0.7</stat>
 			<stat attribute="rageWeakness">0.8</stat>
		</stats>
		<cost lootType="gold">120000</cost>
		<upkeep>0.12</upkeep>
		<repair>0.35</repair>
		<unlock condition="badges">0</unlock>
	</castle>
	
 	<!-- <castle id = "27" size = "l" pack = "pack2">
		<title>theArabian01</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theArabian01</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle>
	
 	<castle id = "28" size = "l" pack = "pack2">
		<title>theArabian02</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theArabian02</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle>
	
 	<castle id = "29" size = "l" pack = "pack2">
		<title>theArabian03</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theArabian03</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle>
	
 	<castle id = "30" size = "l" pack = "pack2">
		<title>theSteampowered01</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theSteampowered01</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle>
	
 	<castle id = "31" size = "l" pack = "pack2">
		<title>theSteampowered02</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theSteampowered02</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle>
	
 	<castle id = "32" size = "l" pack = "pack2">
		<title>theSteampowered03</title>
		<description>For cheating noobs.</description>
		<texture_atlas>theSteampowered03</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,soldier,soldier,soldier,soldier,siege,siege,lock</nodes>
		<health>4800</health>
		<stats>
 			<stat attribute="physicalWeakness">0.8</stat>
 			<stat attribute="rageWeakness">0.9</stat>
		</stats>
		<cost lootType="gold">9500</cost>
		<upkeep>0.40</upkeep>
		<repair>0.95</repair>
		<unlock condition="levelCompletion">1,1</unlock>
	</castle> -->
	
	
<!-- 	<castle id = "22" size = "l" pack = "pack3">
		<title>The Legend</title>
		<description>The result of smaller kingdoms banding together as one, each of these fortresses represents the diplomacy and hardships of centuries past.</description>
		<texture_atlas>Medieval06</texture_atlas>
		<texture>Castle_medieval_level06</texture>
		<icon>CastleCard_medieval_level06</icon>
		<nodes>*,*,*,soldier,soldier,siege,magic,research</nodes>
		<health>6100</health>
		<stats>
		</stats>
		<cost lootType="gold">91640</cost> gold, yellow, blue, purple are the cost types
		<upkeep>0.44</upkeep>
		<repair>0.90</repair>
		<unlock condition="levelCompletion">3,14</unlock>
	</castle> -->
	
<!-- 	<castle id = "27" size = "l">
		<title>The Broken</title>
		<description>8 Open Nodes. 40% Physical Resist. 30% Rage Resist. 20% Cinder Resist.</description>
		<texture_atlas>theBarbarian</texture_atlas>
		<texture>castle</texture>
		<icon>card</icon>
		<nodes>*,*,*,*,*,*,*,*</nodes>
		<health>7000</health>
		<stats>
 			<stat attribute="physicalWeakness">0.6</stat>
 			<stat attribute="rageWeakness">0.7</stat>
 			<stat attribute="cinderWeakness">0.8</stat>
		</stats>
		<cost lootType="gold">240000</cost> gold, yellow, blue, purple are the cost types
		<upkeep>0.18</upkeep>
		<repair>0.40</repair>
		<unlock condition="badges">0</unlock>
	</castle> -->
</castles> 