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

<PropertyList>
	<path>edtf-tower.ac</path>
	
	<effect>
		<inherits-from>Effects/model-transparent</inherits-from>
		<object-name>tower_windows</object-name>
	</effect>
	
	<animation>
		<type>select</type>
		<object-name>runway_plates.34</object-name>
		<condition>
			<or>
				<less-than-equals>
					<property>environment/wind-from-heading-deg</property>
					<value>50</value>
				</less-than-equals>
				<greater-than-equals>
					<property>environment/wind-from-heading-deg</property>
					<value>230</value>
				</greater-than-equals>
			</or>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>runway_plates.16</object-name>
		<condition>
			<or>
				<greater-than>
					<property>environment/wind-from-heading-deg</property>
					<value>50</value>
				</greater-than>
				<less-than>
					<property>environment/wind-from-heading-deg</property>
					<value>230</value>
				</less-than>
			</or>
		</condition>
	</animation>
	
	<animation>
		<type>material</type> 
		<object-name>tower</object-name>
		<object-name>tower_building</object-name>
		<condition>		
			<greater-than>		
				<property>/sim/time/sun-angle-rad</property>
				<value>1.57</value>
			</greater-than>
		</condition>
		<emission>	
			<red>0.3</red>	
			<green>0.1</green>	
			<blue>0.1</blue>
		</emission>
	</animation>
	<animation>
		<type>textranslate</type> 
		<object-name>tower</object-name>
		<object-name>tower_building</object-name>
		<property>/sim/time/sun-angle-rad</property>
		<step> 1.57 </step>
		<factor>0.318471338</factor> <!-- 0.5 / 1.57 -->
		<axis> 
			<x> 0 </x> 
			<y> 1 </y> 
		</axis> 
	</animation>
</PropertyList>
