<?xml version="1.0" encoding="utf-8" ?>

<Defs>
	<ThingDef ParentName="FurnitureBase">
		<defName>ImprovedSleepingSpot</defName>
		<label>basic mat</label>
		<description>A simple wooden mat for resting and emergencies. Not very comfortable, but quick to build.</description>
		<thingClass>Building_Bed</thingClass>
		<graphicData>
			<texPath>Things/Building/Furniture/Bed/WhoreSleepSpot</texPath>
			<graphicClass>Graphic_Multi</graphicClass>
			<drawSize>(3,4)</drawSize>
		</graphicData>
		<altitudeLayer>Building</altitudeLayer>
		<statBases>
			<WorkToBuild>60</WorkToBuild>
			<Comfort>0.75</Comfort>
			<BedRestEffectiveness>0.75</BedRestEffectiveness>
			<SurgerySuccessChanceFactor>0.8</SurgerySuccessChanceFactor>
			<ImmunityGainSpeedFactor>0.9</ImmunityGainSpeedFactor>
			<MaxHitPoints>25</MaxHitPoints>
			<Flammability>1.2</Flammability>
			<Beauty>0</Beauty>
			<Mass>6</Mass>
		</statBases>
		<scatterableOnMapGen>false</scatterableOnMapGen>
		<useHitPoints>True</useHitPoints>
		<size>(1,2)</size>
		<passability>Standable</passability>
		<drawGUIOverlay>True</drawGUIOverlay>
		<defaultPlacingRot>South</defaultPlacingRot>
		<building>
			<bed_showSleeperBody>True</bed_showSleeperBody>
			<sowTag>SupportPlantsOnly</sowTag>
			<canPlaceOverImpassablePlant>false</canPlaceOverImpassablePlant>
			<ai_chillDestination>false</ai_chillDestination>
		</building>
		<designationCategory>Furniture</designationCategory>
		<designationHotKey>Misc1</designationHotKey>
		<costStuffCount>2</costStuffCount>
		<leaveResourcesWhenKilled>True</leaveResourcesWhenKilled>
		<constructionSkillPrerequisite>1</constructionSkillPrerequisite>
		<stuffCategories>
			<li>Woody</li>
		</stuffCategories>
		<comps>
			<li Class="CompProperties_AffectedByFacilities">
				<linkableFacilities>
					<li>EndTable</li>
					<li>Dresser</li>
				</linkableFacilities>
			</li>
			<li Class="CompProperties_RoomIdentifier">
				<roomStat>Impressiveness</roomStat>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="ArtableBedBase">
		<defName>RJW_Bed</defName>
		<label>posh bed</label>
		<description>A comfy mattress and sheets on a frame for resting.</description>
		<graphicData>
			<texPath>Things/Building/Furniture/Bed/BedWhore</texPath>
			<graphicClass>Graphic_Multi</graphicClass>
			<shaderType>CutoutComplex</shaderType>
			<drawSize>(3,4)</drawSize>
			<damageData>
				<rect>(0,0.05,1,1.95)</rect>
			</damageData>
		</graphicData>
		<comps>
			<li Class="CompProperties_AffectedByFacilities">
				<linkableFacilities>
					<li>EndTable</li>
					<li>Dresser</li>
				</linkableFacilities>
			</li>
		</comps>
		<statBases>
			<MaxHitPoints>140</MaxHitPoints>
			<Flammability>0.9</Flammability>
			<Beauty>1</Beauty>
			<WorkToBuild>870</WorkToBuild>
			<Mass>50</Mass>
			<BedRestEffectiveness>1.05</BedRestEffectiveness>
			<Comfort>0.8</Comfort>
			<ImmunityGainSpeedFactor>1</ImmunityGainSpeedFactor>
			<SurgerySuccessChanceFactor>0.9</SurgerySuccessChanceFactor>
		</statBases>
		<size>(1,2)</size>
		<stuffCategories>
			<li>Metallic</li>
			<li>Woody</li>
			<li>Stony</li>
		</stuffCategories>
		<costStuffCount>50</costStuffCount>
		<building>
			<bed_showSleeperBody>False</bed_showSleeperBody>
			<bed_healPerDay>4</bed_healPerDay>
		</building>
		<fillPercent>0.4</fillPercent>
		<pathCost>60</pathCost>
		<staticSunShadowHeight>0.15</staticSunShadowHeight>
		<castEdgeShadows>True</castEdgeShadows>
		<designationHotKey>Misc2</designationHotKey>
		<passability>PassThroughOnly</passability>
		<techLevel>Medieval</techLevel>
		<researchPrerequisites>
			<li>ComplexFurniture</li>
		</researchPrerequisites>
	</ThingDef>

	<ThingDef ParentName="ArtableBedBase">
		<defName>RJW_DoubleBed</defName>
		<label>posh double bed</label>
		<description>A comfy double-wide bed for two, this model is sometimes used in brothels.</description>
		<graphicData>
			<texPath>Things/Building/Furniture/Bed/DoubleBedWhore</texPath>
			<graphicClass>Graphic_Multi</graphicClass>
			<shaderType>CutoutComplex</shaderType>
			<drawSize>(4,4)</drawSize>
			<damageData>
				<rect>(0,0.05,2,1.95)</rect>
			</damageData>
		</graphicData>
		<comps>
			<li Class="CompProperties_AffectedByFacilities">
				<linkableFacilities>
					<li>EndTable</li>
					<li>Dresser</li>
				</linkableFacilities>
			</li>
		</comps>
		<statBases>
			<MaxHitPoints>200</MaxHitPoints>
			<Flammability>1.0</Flammability>
			<WorkToBuild>1750</WorkToBuild>
			<Mass>85</Mass>
			<Comfort>0.75</Comfort>
			<Beauty>2</Beauty>
			<BedRestEffectiveness>1.05</BedRestEffectiveness>
			<ImmunityGainSpeedFactor>1</ImmunityGainSpeedFactor>
			<SurgerySuccessChanceFactor>0.8</SurgerySuccessChanceFactor>
		</statBases>
		<size>(2,2)</size>
		<stuffCategories>
			<li>Metallic</li>
			<li>Woody</li>
			<li>Stony</li>
		</stuffCategories>
		<costStuffCount>90</costStuffCount>
		<building>
			<bed_showSleeperBody>False</bed_showSleeperBody>
			<bed_healPerDay>4</bed_healPerDay>
		</building>
		<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
		<fillPercent>0.4</fillPercent>
		<pathCost>60</pathCost>
		<leaveResourcesWhenKilled>True</leaveResourcesWhenKilled>
		<staticSunShadowHeight>0.17</staticSunShadowHeight>
		<castEdgeShadows>True</castEdgeShadows>
		<designationHotKey>Misc3</designationHotKey>
		<techLevel>Medieval</techLevel>
		<researchPrerequisites>
			<li>ComplexFurniture</li>
		</researchPrerequisites>
	</ThingDef>

	<ThingDef ParentName="ArtableBedBase">
		<defName>RJW_RoyalBed</defName>
		<label>luxurious double bed</label>
		<description>An elegant gold-inlaid double bed, this model is sometimes used in high-end bordellos. Comfy and beautiful.</description>
		<thingClass>Building_Bed</thingClass>
		<graphicData>
			<texPath>Things/Building/Furniture/Bed/RoyalBedWhore</texPath>
			<graphicClass>Graphic_Multi</graphicClass>
			<shaderType>CutoutComplex</shaderType>
			<drawSize>(4,4)</drawSize>
			<damageData>
				<rect>(0,0.05,2,1.95)</rect>
			</damageData>
		</graphicData>
		<comps>
			<li Class="CompProperties_AffectedByFacilities">
				<linkableFacilities>
					<li>EndTable</li>
					<li>Dresser</li>
				</linkableFacilities>
			</li>
		</comps>
		<altitudeLayer>Building</altitudeLayer>
		<statBases>
			<MaxHitPoints>200</MaxHitPoints>
			<Flammability>1.0</Flammability>
			<WorkToBuild>25000</WorkToBuild>
			<Mass>90</Mass>
			<Beauty>50</Beauty>
			<BedRestEffectiveness>1.05</BedRestEffectiveness>
			<Comfort>1</Comfort>
			<ImmunityGainSpeedFactor>1.05</ImmunityGainSpeedFactor>
			<SurgerySuccessChanceFactor>1</SurgerySuccessChanceFactor>
		</statBases>
		<size>(2,2)</size>
		<stuffCategories>
			<li>Metallic</li>
			<li>Woody</li>
			<li>Stony</li>
		</stuffCategories>
		<costStuffCount>110</costStuffCount>
		<costList>
			<Gold>25</Gold>
		</costList>
		<building>
			<bed_showSleeperBody>False</bed_showSleeperBody>
			<bed_healPerDay>4</bed_healPerDay>
		</building>
		<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
		<fillPercent>0.4</fillPercent>
		<pathCost>60</pathCost>
		<leaveResourcesWhenKilled>True</leaveResourcesWhenKilled>
		<staticSunShadowHeight>0.17</staticSunShadowHeight>
		<castEdgeShadows>True</castEdgeShadows>
		<designationHotKey>Misc4</designationHotKey>
		<techLevel>Medieval</techLevel>
		<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
		<researchPrerequisites>
			<li>ComplexFurniture</li>
		</researchPrerequisites>
		<uiIconScale>0.90</uiIconScale>
	</ThingDef>
</Defs>