<?xml version="1.0" encoding="utf-8" ?>
<Defs>

	<DesignatorDropdownGroupDef>
		<defName>MURWallLights</defName>
	</DesignatorDropdownGroupDef>

	<ThingDef Abstract="True" Name="MURWallLightBase" ParentName="BuildingBase">
		<thingCategories>
			<li>BuildingsFurniture</li>
		</thingCategories>
		<thingClass>MURWallLight.WallLight</thingClass>
		<graphicData>
			<texPath>Things/Building/MURNewWallLight</texPath>
			<graphicClass>Graphic_Multi</graphicClass>
			<drawSize>2,2</drawSize>
		</graphicData>
		<minifiedDef>MinifiedThing</minifiedDef>
		<altitudeLayer>Item</altitudeLayer>
		<passability>Standable</passability>
		<statBases>
			<MaxHitPoints>10</MaxHitPoints>
			<WorkToBuild>100</WorkToBuild>
			<Flammability>0</Flammability>
			<Mass>2</Mass>
		</statBases>
		<size>(1,1)</size>
		<uiOrder>2995</uiOrder>
		<placeWorkers>
			<li>MURWallLight.PlaceWorker_WallLight</li>
		</placeWorkers>
		<costList>
			<Steel>5</Steel>
		</costList>
		<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
		<comps>
			<li Class="CompProperties_Flickable"/>
			<li Class="MURWallLight.CompProperties_WallFixture"/>
			<li>
				<compClass>CompColorable</compClass>
			</li>
		</comps>
		<building>
			<isEdifice>false</isEdifice>
			<canPlaceOverWall>true</canPlaceOverWall>
		</building>
		<tickerType>Never</tickerType>
		<designationCategory>Furniture</designationCategory>
		<rotatable>true</rotatable>
		<selectable>true</selectable>
		<destroyable>true</destroyable>
		<useHitPoints>false</useHitPoints>
		<tradeability>None</tradeability>
		<isAutoAttackableMapObject>false</isAutoAttackableMapObject>
		<clearBuildingArea>false</clearBuildingArea>
		<defaultPlacingRot>South</defaultPlacingRot>
		<researchPrerequisites><li>Electricity</li></researchPrerequisites>
		<techLevel>Industrial</techLevel>
	</ThingDef>

	<ThingDef Name="MURWallLight" ParentName="MURWallLightBase">
		<defName>Lighting_MURWallLight</defName>
		<label>Wall light</label>
		<uiIconPath>Things/Building/MURWallLight_UI</uiIconPath>
		<description>A light fixture designed to be mounted on a wall.</description>
		<comps>
			<li Class="CompProperties_Power">
				<compClass>CompPowerTrader</compClass>
				<basePowerConsumption>20</basePowerConsumption>
				<powerUpgrades>
					<li>
						<researchProject>ColoredLights</researchProject>
						<factor>0.5</factor>
					</li>
				</powerUpgrades>
			</li>
			<li Class="MURWallLight.CompProperties_GlowOffset">
				<glowRadius>8</glowRadius>
				<glowColor>(217,217,200,0)</glowColor>
				<colorPickerEnabled>true</colorPickerEnabled>
				<darklightToggle>true</darklightToggle>
			</li>
		</comps>
	</ThingDef>
  
	<ThingDef Name="MURWallSunLight" ParentName="MURWallLightBase">
		<defName>Lighting_MURWallSunLight</defName>
		<thingClass>MURWallLight.WallSunLight</thingClass>
		<label>Wall sun light</label>
		<uiIconPath>Things/Building/MURWallLightSun_UI</uiIconPath>
		<description>A sun light fixture for growing plants, designed to be mounted on a wall.</description>
		<tickerType>Rare</tickerType>
		<comps>
			<li Class="CompProperties_Power">
				<compClass>CompPowerTrader</compClass>
				<basePowerConsumption>650</basePowerConsumption>
			</li>
			<li Class="CompProperties_Schedule">
				<startTime>0.25</startTime>
				<endTime>0.8</endTime>
				<offMessage>Off for plant resting period.</offMessage>
			</li>
			<li Class="MURWallLight.CompProperties_GlowOffset">
				<overlightRadius>5</overlightRadius>
				<glowRadius>10</glowRadius>
				<glowColor>(226,80,515,0)</glowColor>
				<colorPickerEnabled>true</colorPickerEnabled>
			</li>
		</comps>
	</ThingDef>
	
	<ThingDef Name="MURWallLightGlowerPlaceholder">
		<defName>MURWallLight_GlowerPlaceholder</defName>
		<thingClass>ThingWithComps</thingClass>
		<label>UNUSED</label>
		<altitudeLayer>ItemImportant</altitudeLayer>
		<rotatable>false</rotatable>
		<passability>Standable</passability>
	</ThingDef>
	
</Defs>