<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<?xml-stylesheet type="text/xsl" href="./styles/heroscribe.iconpack.en.xsl"?>
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="./styles/howto-v1.0.0.xsd">
	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>

		<title lang="en">Dark World© Icon Pack by Derfel Link</title>

		<description lang="en">Treasure Chest.</description>
		
		<author-notes lang="en">*If you wish to install multiple icons packs onto the same HeroScribe installation, we recommend adding the All-in-One Icon Pack to a fresh install of HeroScribe.*
		Derfel Link would like to thank Yon. The miniature this icon is based on are copyright 1992 Waddingtons. All rights reserved. Any reference to existing copyrighted material is done without profit, and is not intended as a challenge to the rights of the copyright owner.</author-notes>

		<instructions-by lang="en">drathe. Adapted from phpBB ModX.</instructions-by>

		<author-group>
			<author>
				<username>Derfel Link</username>
				<email>derfel@heroscribe.org</email>
				<homepage>http://www.heroscribe.org/</homepage>
      		<contributions-group>
      		  <contributions status="current" position="Created Icon: Treasure Chest"/>
      		</contributions-group>
			</author>
		</author-group>

		<mod-version>1.0.0</mod-version>

		<installation>
			<target-version>1.0pre1</target-version>
		</installation>

		<history>
			<entry>
				<date>2012-07-19</date>
				<rev-version>1.0.0</rev-version>
				<changelog lang="en">
					<change>Icon Pack released</change>
				</changelog>
			</entry>
		</history>
	</header>

	<action-group>

		<copy>
			<file from="Icon Pack\Icons\Raster\Europe\DarkWorld\*all .png files" to="HeroScribe folder\Icons\Raster\Europe\DarkWorld\*all .png files" />
			<file from="Icon Pack\Icons\Raster\USA\DarkWorld\*all .png files" to="HeroScribe folder\Icons\Raster\USA\DarkWorld\*all .png files" />
			<file from="Icon Pack\Icons\Sample\Europe\DarkWorld\*all .png files" to="HeroScribe folder\Icons\Sample\Europe\DarkWorld\*all .png files" />
			<file from="Icon Pack\Icons\Sample\USA\DarkWorld\*all .png files" to="HeroScribe folder\Icons\Sample\USA\DarkWorld\*all .png files" />
			<file from="Icon Pack\Icons\Vector\Europe\DarkWorld\*all .eps.gz files" to="HeroScribe folder\Icons\Vector\Europe\DarkWorld\*all .eps.gz files" />
			<file from="Icon Pack\Icons\Vector\USA\DarkWorld\*all .eps.gz files" to="HeroScribe folder\Icons\Vector\USA\DarkWorld\*all .eps.gz files" />
			<file from="Icon Pack\Readme.html" to="HeroScribe folder" />
			<file from="Icon Pack\Objects.html" to="HeroScribe folder *Skip this step if you've installed previous Icon Packs. Follow this step only if this is your first Icon Pack install." />
			<file from="Icon Pack\Objects.xml" to="HeroScribe folder *Skip this step if you've installed previous Icon Packs and continue to the instructions below. Follow this step only if this is your first Icon Pack install, now you're finished and ready to go, ingore the instructions below*" />
		</copy>

		<open src="Objects.xml">
			<edit>
				<comment lang="en">Follow the steps below by using a text editor such as Notepad++ to open and edit the .xml file. When adding new code, ensure you paste the new code on a new line.</comment>
				<find><![CDATA[<kind id="various" name="Various" />]]></find>
				<action type="after-add"><![CDATA[<kind id="darkworld" name="Dark World" />
]]></action>
			</edit>
			<edit>
				<find><![CDATA[
</objectList>]]></find>
				<action type="before-add"><![CDATA[<object name="Treasure Chest (Dark World's)" id="DarkWorldTreasureChest" width="2" height="1" kind="darkworld" zorder="-5.0">
<icon region="Europe" path="Europe/DarkWorld/DarkWorld.TreasureChest_EU" original="false"/>
<icon region="USA" path="USA/DarkWorld/DarkWorld.TreasureChest_US" original="false"/>
<note>
There is not this version of Treasure Chest icon in any official HeroQuest release. This one was created by Derfel Link.
The miniature this icon is based on is copyright 1992 Waddingtons. All rights reserved.
Any reference to existing copyrighted material is done without profit, and is not intended as a challenge to the rights of any copyright owner.
</note>
</object>

]]></action>
			</edit>
		</open>
		<open src="Objects.html">
			<edit>
				<comment lang="en">At roughly line 13, you will see the beginning of the categories section. In that line there is a section with (totalling 141 objects). The number of objects may differ depending on the number of Icon Packs you may have already added to HeroScribe. The number of objects will need to be changed depending on the number of icons you are adding to HeroScribe from this Icon Pack. Increase the total by the number of icons included in this Icon Pack.</comment>
				<find><![CDATA[<a href="#kind_various">Various</a> (24)]]></find>
				<action type="after-add"><![CDATA[ - 
<a href="#kind_darkworld">Dark World</a> (1)
]]></action>
			</edit>
			<edit>
				<find><![CDATA[<tr><td align="left"><i><a name="object_WanderingMonster">Wandering Monster</a></i> <tt><br><b>WanderingMonster</b><br>Width 1, Height 1<br>ZOrder -5.0</tt></td>
<td align="center"><img src="Icons/Sample/Europe/NonOriginal/TheFrozenHorror.WanderingMonster_EU.png" alt="European Wandering Monster"><br>&nbsp;<tt>non original</tt>&nbsp;</td>
<td align="center"><img src="Icons/Sample/USA/TheFrozenHorror/TheFrozenHorror.WanderingMonster_US.png" alt="American Wandering Monster"><br>&nbsp;</td></tr>

</table>
<hr>

]]></find>
				<action type="after-add"><![CDATA[<table align="center" border="1">

<tr><td colspan="3" align="center"><b><a name="kind_darkworld" href="#categories">Dark World</a></b></td></tr>

<tr><td>Description</td><td align="center">Europe</td><td align="center">USA</td></tr>

<tr><td align="left"><i><a name="object_DarkWorldTreasureChest">Treasure Chest (Dark World's)</a></i> <tt><i>(<a href="#note_DarkWorldTreasureChest">note</a>)</i><br><b>DarkWorldTreasureChest</b><br>Width 2, Height 1<br>ZOrder -5.0</tt></td>
<td align="center"><img src="Icons/Sample/Europe/DarkWorld/DarkWorld.TreasureChest_EU.png" alt="European Treasure Chest (Dark World's)"><br>&nbsp;<tt>non original</tt>&nbsp;</td>
<td align="center"><img src="Icons/Sample/USA/DarkWorld/DarkWorld.TreasureChest_US.png" alt="American Treasure Chest (Dark World's)"><br>&nbsp;<tt>non original</tt>&nbsp;</td></tr>

</table>
<hr>

]]></action>
			</edit>
			<edit>
				<comment lang="en">This install file refers only to the code found in the original HeroScribe package which lists this section of the code alphabetically by monster name. If you have already installed one or more Icon Pack(s), you may wish to rearrange each line in your file once you've completed the below changes so that the monster names will list alphabetically.</comment>
				<find><![CDATA[<h4><a name="note_DwarvenForge" href="#object_DwarvenForge">Dwarven Forge / Weapons Forge</a></h4><p>"Dwarven Forge" is the european name, "Weapons Forge" is the american one.</p><hr>
]]></find>
				<action type="after-add"><![CDATA[
<h4><a name="note_DarkWorldTreasureChest" href="#object_DarkWorldTreasureChest">Treasure Chest (Dark World's)</a></h4><p>There is not this version of Treasure Chest icon in any official HeroQuest release. This one was created by Derfel Link.<br>The miniature this icon is based on is copyright 1992 Waddingtons. All rights reserved.<br>Any reference to existing copyrighted material is done without profit, and is not intended as a challenge to the rights of any copyright owner.</p><hr>
]]></action>
			</edit>
		</open>

	</action-group>
</mod>
