<?xml version="1.0" encoding="utf-8" ?>
<elements>
	<info>
		<update version="0.0.2">
			<file name="Doll.xml" url="https://raw.githubusercontent.com/aurorabuilder/elements/master/supplements/eberron-rising-from-the-last-war/races/doll.xml" />
		</update>
	</info>	
	<element name="Doll" type="Race" source="Custom" id="ID_CUSTOM">
		<description>
			<p>Living Dolls are doll-like constructs, animated using mechanical or magical means.</p>
			<p class="indent">Although they were created, dolls are living humanoids. Resting, healing magic, and the Medicine skill all provide the same benefits to warforged that they do to other humanoids.</p>
			<h4>DOLL TRAITS</h4>
			<p>Your doll character has the following traits. A few of the traits give you a choice; consider how your choice reflects the purpose for which your character was built.</p>
			<p class="indent"><strong><em>Ability Score Increase.</em></strong> Your Constitution score increases by 1.</p>
			<p class="indent"><strong><em>Age.</em></strong> You do not age. Given time, the magical energies that sustain you will heal most wounds you take at approximately the same rate as a mortal, and your hit dice function as normal. You are immune to magical aging effects.</p>
			 <p class="indent"><strong><em>Darkvision.</em></strong> Through the magical energy animating you, you are able to perceive with greater clarity that which lurks in the darkness. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can’t discern color in darkness, only shades of gray. </p>
			 <p class="indent"><strong><em>Living Constuct</em></strong> You have been created as an artificial lifeform. You are immune to disease. You do not need to eat or breathe, but you can ingest food and drink if you wish.</p>
			 <p class="indent"><strong><em>Restless.</em></strong> As an construct, you very rarely tire. You treat exhaustion as if it was one level less. In addition, instead of sleeping, you enter an inactive state for 4 hours each day. You are fully aware of your surroundings and notice approaching enemies and other events as normal, you may choose to dream in this state, if you do, you are counted as unconscious. Magic cannot put you to sleep.</p>
			 <p class="indent"><strong><em>Bloodless.</em></strong> You are immune to poison damage and the poisoned condition, and are also immune to disease.</p>
			<p class="indent"><strong><em>Size.</em></strong> Your size is Medium, though this may depend on design.</p>
			<p class="indent"><strong><em>Speed.</em></strong> Your base walking speed is 30 feet.</p>
		</description>		
		<sheet display="false" />
		<rules>
			<stat name="constitution" value="1" />
			<stat name="dexterity" value="1" />
			<grant type="Size" id="ID_SIZE_MEDIUM" />
			<stat name="innate speed" value="30" bonus="base" />
			<grant type="Vision" id="ID_VISION_DARKVISION" />
			<grant type="Racial Trait" id="ID_RACIAL_TRAIT_LIVING_CONSTRUCT" />
			<grant type="Racial Trait" id="ID_RACIAL_TRAIT_DOLL_RESTLESS" />
			<grant type="Racial Trait" id="ID_RACIAL_TRAIT_DOLL_BLOODLESS" />
			<grant type="Language" id="ID_LANGUAGE_COMMON" />
			<select type="Language" name="Language, Doll" supports="Standard||Exotic" />
			<select type="Sub Race" name="Doll Subrace" supports="Doll" />
		</rules>
	</element>

	<element name="Living Construct" type="Racial Trait" source="Custom" id="ID_RACIAL_TRAIT_LIVING_CONSTRUCT">
        <description>
            <p>You have been created as an artificial lifeform. You are immune to disease. You do not need to eat or breathe, but you can ingest food and drink if you wish.</p>
        </description>
        <sheet>
            <description>You are immune to disease. You do not need to eat or breathe. Additionally, you have two creature types: humanoid and undead. You can be affected by a spell or ability if it works on either of your creature types.</description>
        </sheet>
    </element>

    <element name="Restless" type="Racial Trait" source="Custom" id="ID_RACIAL_TRAIT_DOLL_RESTLESS">
        <description>
            <p>As an construct, you very rarely tire. You treat exhaustion as if it was one level less. In addition, instead of sleeping, you enter an inactive state for 4 hours each day. You are fully aware of your surroundings and notice approaching enemies and other events as normal, you may choose to dream in this state, if you do, you are counted as unconscious. Magic cannot put you to sleep.</p>
        </description>
        <sheet>
            <description>You treat exhaustion as if it was one level less. In addition, instead of sleeping, you enter an inactive state for 4 hours each day. You are fully aware of your surroundings and notice approaching enemies and other events as normal, you may choose to dream in this state, if you do, you are counted as unconscious. Magic cannot put you to sleep.</description>
        </sheet>
    </element>

   <element name="Bloodless" type="Racial Trait" source="Custom" id="ID_RACIAL_TRAIT_DOLL_BLOODLESS">
        <description>
            <p>You are immune to poison damage and the poisoned condition.</p>
        </description>
        <sheet>
            <description>You are immune to poison damage and the poisoned condition.</description>
        </sheet>
        <rules>
            <grant type="Condition" id="ID_INTERNAL_CONDITION_DAMAGE_IMMUNITY_POISON" />
        </rules>
    </element>
</elements>