<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="productionPoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
  <storeData>
    <name>
		<de>Hefe Produktion</de>
		<en>Yeast Production</en>
		<fr>Production de levure</fr>
		<ru>Производство дрожжей</ru>
    </name>
    <functions>
      <function>
        <de>Produziert aus Melasse und Wasser Hefe, Paletten und Pappe werden zur Produktion benötigt.</de>
        <en>Yeast is produced from molasses and water. Pallets and cardboard are needed for production.</en>
        <fr>La levure est produite à partir de mélasse et d'eau. Des palettes et du carton sont nécessaires pour la production.</fr>
		<ru>Дрожжи производятся из мелассы и воды. Для производства требуются поддоны и картон.</ru>
      </function>
    </functions>
    <image>store/store_yeastProduction.png</image>
    <price>65500</price>
    <lifetime>1000</lifetime>
    <rotation>0</rotation>
    <brand>NONE</brand>
    <species>placeable</species>
    <category>productionPoints</category>
    <brush>
      <type>placeable</type>
      <category>production</category>
      <tab>factories</tab>
    </brush>
        <vertexBufferMemoryUsage>1421312</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>237824</indexBufferMemoryUsage>
        <textureMemoryUsage>16449536</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
  </storeData>

  <base>
    <filename>i3d/yeastProduktion.i3d</filename>
    <canBeRenamed>true</canBeRenamed>
  </base>
  
  <placement useRandomYRotation="false" useManualYRotation="true" >
    <testAreas>
      <testArea startNode="testArea1Start" endNode="testArea1End" />
    </testAreas>

    <sounds>
      <place template="smallImp" />
    </sounds>
  </placement>

  <clearAreas>
    <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
  </clearAreas>

  <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30" >
    <levelAreas>
      <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="gravel"/>
    </levelAreas>
  </leveling>

  <indoorAreas>
    <indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
	<!-- <indoorArea startNode="indoorArea2Start" widthNode="indoorArea2Width" heightNode="indoorArea2Height" /> -->
  </indoorAreas>

  <tipOcclusionUpdateAreas>
    <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
  </tipOcclusionUpdateAreas>

  <ai>
    <updateAreas>
      <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </updateAreas>
	<splines>
		<spline node="aiSpline1" />
		<spline node="aiSpline2" />
    </splines>
  </ai>

  <infoTrigger triggerNode="infoTrigger"/>

  <triggerMarkers>
    <triggerMarker node="unloadTriggerMarker1" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
	<triggerMarker node="unloadTriggerMarker2" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
    <triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
    <triggerMarker node="loadingTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="LOAD" adjustToGround="true" />
  </triggerMarkers>

  <hotspots>
    <hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker1" teleportNode="teleportNode" />
  </hotspots>

  <animatedObjects>
    <animatedObject saveId="yeastLight01" >
      <animation duration="0.5">
		<part node="1|0|0|0|1|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="1|0|0|0|2|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="1|0|0|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
    </animatedObject>
	<animatedObject saveId="yeastLight02" >
      <animation duration="0.5">
		<part node="10|1|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="10|2|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
		<part node="10|3|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="10|4|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
		<part node="10|5|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="10|6|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="10|0|1" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
    </animatedObject>
	<animatedObject saveId="yeastLight03" >
      <animation duration="0.5">
        <part node="8|1|1|0">
          <keyFrame time="0.00" rotation="-51 0 0" />
          <keyFrame time="1" rotation="90 0 0" />
        </part>
        <part node="10|7|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="10|8|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
        <part node="10|9|0">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="8|1|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
    </animatedObject>
    <animatedObject saveId="yeastBillboard01" >
      <animation duration="0.5">
        <part node="8|2|1|0">
          <keyFrame time="0.00" rotation="-51 0 0" />
          <keyFrame time="1" rotation="90 0 0" />
        </part>
        <part node="9">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="8|2|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnBillboard" negText="action_turnOffBillboard" />
    </animatedObject>
    <animatedObject saveId="yeastMarker01" >
      <animation duration="0.5">
        <part node="8|3|1|0">
          <keyFrame time="0.00" rotation="-51 0 0" />
          <keyFrame time="1" rotation="90 0 0" />
        </part>
        <part node="5">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="8|3|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnMarking" negText="action_turnOffMarking" />
    </animatedObject>
    <animatedObject saveId="yeastWarnings=1" >
      <animation duration="0.5">
        <part node="8|4|1|0">
          <keyFrame time="0.00" rotation="-51 0 0" />
          <keyFrame time="1" rotation="90 0 0" />
        </part>
        <part node="4">
          <keyFrame time="0.0" visibility="false"/>
          <keyFrame time="1.0" visibility="true"/>
        </part>
      </animation>
      <controls triggerNode="8|4|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnWARNING" negText="action_turnOffWARNING" />
    </animatedObject>
	<animatedObject saveId="yeastDoor01" >
		<animation duration="2">
			<part node="1|0|0|1|0|0">
				<keyFrame time="0.0" rotation="0 0 0"/>
				<keyFrame time="1" rotation="0 155 0"/>
			</part>
			<part node="1|0|0|1|0|1">
				<keyFrame time="0.0" rotation="0 0 0"/>
				<keyFrame time="1" rotation="0 -155 0"/>
			</part>
		</animation>
		<controls triggerNode="1|0|0|1|0|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
		<sounds>
			<moving file="$data/sounds/prefab/gate/woodSlideDoorLoop.wav" loops="0" linkNode="1|0|0|1|0|2" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
			<posEnd file="$data/sounds/prefab/gate/woodDoorOpenBarn.wav" linkNode="1|0|0|1|0|2" volume="0.8" radius="25" innerRadius="3" />
			<negEnd file="$data/sounds/prefab/gate/woodDoorCloseBarn.wav" linkNode="1|0|0|1|0|2" volume="0.8" radius="25" innerRadius="3" />
		</sounds>
    </animatedObject>
  </animatedObjects>

  <productionPoint>
    <productions sharedThroughputCapacity="true">
      <production id="yeat" name="%s" params="$l10n_newfillType04" cyclesPerHour="1" costsPerActiveHour="10">
        <inputs>
          <input fillType="WATER" amount="900" />
		  <input fillType="MOLASSES" amount="100" />
		  <input fillType="EMPTYPALLET" amount="100" />
		  <input fillType="CARDBOARD" amount="100" />
        </inputs>
        <outputs>
          <output fillType="YEAST" amount="1200" />
        </outputs>
      </production>
    </productions>

    <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="true">
      <unloadTrigger exactFillRootNode="unloadTrigger1" fillTypes="WATER MOLASSES" aiNode="aiUnloadingNode1"/>
	  <unloadTrigger exactFillRootNode="unloadTrigger2" fillTypes="EMPTYPALLET CARDBOARD" aiNode="aiUnloadingNode2"/>
    </sellingStation>
	
	<palletSpawner node="palletSpawner">
	 <pallets>
        <pallet filename="xml/yeastPallet.xml"/>
      </pallets>
      <spawnPlaces>
        <spawnPlace startNode="spawnPlace1Start" />
		<spawnPlace startNode="spawnPlace2Start" />
		<spawnPlace startNode="spawnPlace3Start" />
		<spawnPlace startNode="spawnPlace4Start" />
      </spawnPlaces>
    </palletSpawner>

    <storage isExtension="false" fillLevelSyncThreshold="100">
      <capacity fillType="WATER" 		capacity="900000" />
      <capacity fillType="MOLASSES"  	capacity="100000" />
	  <capacity fillType="EMPTYPALLET"  capacity="100000" />
	  <capacity fillType="CARDBOARD"  	capacity="100000" />
	  <capacity fillType="YEAST"  		capacity="1200000" />
    </storage>

    <playerTrigger node="playerTrigger" />
  </productionPoint>

  <i3dMappings>
    <i3dMapping id="clearArea1Start" node="0>0|0|0" />
    <i3dMapping id="clearArea1Width" node="0>0|0|0|0" />
    <i3dMapping id="clearArea1Height" node="0>0|0|0|1" />

    <i3dMapping id="levelArea1Start" node="0>0|1|0" />
    <i3dMapping id="levelArea1Width" node="0>0|1|0|0" />
    <i3dMapping id="levelArea1Height" node="0>0|1|0|1" />
	
	<i3dMapping id="indoorArea1Start" node="0>0|2|0" />
    <i3dMapping id="indoorArea1Width" node="0>0|2|0|0" />
    <i3dMapping id="indoorArea1Height" node="0>0|2|0|1" />
	
	<i3dMapping id="indoorArea2Start" node="0>0|2|1" />
    <i3dMapping id="indoorArea2Width" node="0>0|2|1|0" />
    <i3dMapping id="indoorArea2Height" node="0>0|2|1|1" />
	
	<i3dMapping id="testArea1Start" node="0>0|3|0" />
    <i3dMapping id="testArea1End" node="0>0|3|0|0" />

    <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>0|4|0" />
    <i3dMapping id="tipOcclusionUpdateArea1End" node="0>0|4|0|0" />
	
    <i3dMapping id="unloadTriggerMarker1" node="0>2|0|3" />
	<i3dMapping id="unloadTriggerMarker2" node="0>2|1|3" />
	
    <i3dMapping id="unloadTrigger1" node="0>2|0|0" />
	<i3dMapping id="unloadTrigger2" node="0>2|1|0" />
	
    <i3dMapping id="aiUnloadingNode1" node="0>2|0|2" />
	<i3dMapping id="aiUnloadingNode2" node="0>2|1|2" />
	 
    <i3dMapping id="teleportNode" node="0>6|0" />

    <i3dMapping id="playerTrigger" node="0>6|0" />
    <i3dMapping id="playerTriggerMarker" node="0>6|0|0" />

    <i3dMapping id="infoTrigger" node="0>7" />

    <i3dMapping id="sellingStation" node="0>2|0|0" />
	
	<i3dMapping id="loadingTriggerMarker" node="0>3|0|4" />
	
	<i3dMapping id="aiSpline2" node="0>2|0|1" />
	<i3dMapping id="aiSpline1" node="0>2|1|1" />
	
	<i3dMapping id="palletSpawner" node="0>3|0" />
    <i3dMapping id="spawnPlace1Start" node="0>3|0|0" />
    <i3dMapping id="spawnPlace1End" node="0>3|0|0|0" />
	<i3dMapping id="spawnPlace2Start" node="0>3|0|1" />
    <i3dMapping id="spawnPlace2End" node="0>3|0|1|0" />
	<i3dMapping id="spawnPlace3Start" node="0>3|0|2" />
    <i3dMapping id="spawnPlace3End" node="0>3|0|2|0" />
	<i3dMapping id="spawnPlace4Start" node="0>3|0|3" />
    <i3dMapping id="spawnPlace4End" node="0>3|0|3|0" />
  </i3dMappings>
</placeable>
