<?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>$l10n_shopItem_cementFactory</name>
        <image>icons/store_cementFactory.dds</image>
        <price>40000</price>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <lifetime>1000</lifetime>
        <dailyUpkeep>0</dailyUpkeep>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
        <vertexBufferMemoryUsage>789760</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>232192</indexBufferMemoryUsage>
        <textureMemoryUsage>17235968</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>placeables/cementFactory/cementFactory.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<canBeDeleted>true</canBeDeleted>
		<boughtWithFarmland>false</boughtWithFarmland>
    </base>
	

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>

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

    <clearAreas>
         <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
         <levelAreas>
             <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01"/>
         </levelAreas>

        <paintAreas>
            <paintArea startNode="paintAreaStart01" widthNode="paintAreaWidth01" heightNode="paintAreaHeight01" groundType="gravel"/>
        </paintAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart01" widthNode="indoorAreaWidth01" heightNode="indoorAreaHeight01"/>
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
    </ai>

	<infoTrigger triggerNode="infoTrigger"/>

    <hotspots>
        <hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="playerTriggerMarker" />
    </hotspots>
	
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="lightSwitch01" filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="lightSwitch02" filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
    </dynamicallyLoadedParts>
	
	<triggerMarkers>
        <triggerMarker node="warningStripes01"/>
        <triggerMarker node="warningStripes02"/>
		<triggerMarker node="warningStripes03"/>
		<triggerMarker node="warningStripesSell"/>
        <triggerMarker node="unloadTriggerMarker" adjustToGround="true" filename="$data/shared/assets/marker/markerIconUnload.i3d"/>
        <triggerMarker node="playerTriggerMarker" adjustToGround="true" filename="$data/shared/assets/marker/markerIconWrench.i3d"/>
    </triggerMarkers>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode01" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode02" groupIndex="1"/>

        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>

        <group name="$l10n_action_placeableLightShed" triggerNode="triggerLight">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>
    </lights>

    <animatedObjects>
        <animatedObject saveId="door01" >
            <animation duration="1.5">
                <part node="door01">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -160 0"/>
                </part>
            </animation>
            <controls triggerNode="triggerDoor" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving  template="woodDoorSqueaksSmall"     linkNode="door01" innerRadius="5" outerRadius="25"/>
                <posEnd  template="woodDoorOpen"  linkNode="door01"/>
                <negEnd  template="woodDoorCloseRandom" linkNode="door01"/>
            </sounds>
        </animatedObject>

        <animatedObject saveId="slideDoor" >
            <animation duration="1.5">
                <part node="slideDoorLeft">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="-2 0 0"/>
                </part>
                <part node="slideDoorRight">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="2 0 0"/>
                </part>
            </animation>
            <controls triggerNode="triggerSlideDoor" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="slideDoorLeft" template="slidingGateWoodLoop" />
                <posEnd linkNode="slideDoorLeft" template="woodDoorOpen" />
                <negEnd linkNode="slideDoorLeft" template="woodDoorClose" />
            </sounds>
        </animatedObject>
    </animatedObjects>
	
	<productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="cementBags" name="$l10n_fillType_cementBags" cyclesPerHour="1" costsPerActiveHour="1">
                <inputs>
                    <input fillType="STONE" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="CEMENT" amount="180" />
                </outputs>
            </production>
            <production id="roofPlate" name="$l10n_fillType_roofPlate" cyclesPerHour="1" costsPerActiveHour="5">
                <inputs>
                    <input fillType="STONE" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="ROOFPLATES" amount="125" />
                </outputs>
            </production>
            <production id="cementBrick" name="$l10n_fillType_cementBrick" cyclesPerHour="1" costsPerActiveHour="2">
                <inputs>
                    <input fillType="STONE" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="CEMENTBRICKS" amount="125" />
                </outputs>
            </production>

            <production id="cementBagsWoodChips" name="%s (%s)" params="$l10n_fillType_cementBags|$l10n_fillType_woodChips" cyclesPerHour="2" costsPerActiveHour="0.5">
                <inputs>
                    <input fillType="STONE"     amount="1000" />
                    <input fillType="WOODCHIPS" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="CEMENT" amount="180" />
                </outputs>
            </production>
            <production id="roofPlateWoodChips" name="%s (%s)" params="$l10n_fillType_roofPlate|$l10n_fillType_woodChips" cyclesPerHour="2" costsPerActiveHour="2.5">
                <inputs>
                    <input fillType="STONE"     amount="1000" />
                    <input fillType="WOODCHIPS" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="ROOFPLATES" amount="125" />
                </outputs>
            </production>
            <production id="cementBrickWoodChips" name="%s (%s)" params="$l10n_fillType_cementBrick|$l10n_fillType_woodChips" cyclesPerHour="2" costsPerActiveHour="1">
                <inputs>
                    <input fillType="STONE"     amount="1000" />
                    <input fillType="WOODCHIPS" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="CEMENTBRICKS" amount="125" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50">
            <capacity fillType="STONE"        capacity="240000" />
            <capacity fillType="WOODCHIPS"    capacity="240000" />
            <capacity fillType="CEMENT"       capacity="43000" />
            <capacity fillType="ROOFPLATES"   capacity="43000" />
            <capacity fillType="CEMENTBRICKS" capacity="43000" />
        </storage>

        <sellingStation node="sellingStationProducts" supportsExtension="false">
            <unloadTrigger exactFillRootNode="unloadTrigger" aiNode="unloadTriggerAINode" fillTypes="STONE WOODCHIPS" />
            <palletTrigger triggerNode="palletTrigger" aiNode="unloadTriggerAINode" fillTypes="STONE WOODCHIPS" />
            <baleTrigger triggerNode="baleTrigger" aiNode="unloadTriggerAINode" fillTypes="WOODCHIPS" />
		</sellingStation>

        <animationNodes>
            <animationNode node="roll01" rotSpeed="-40" rotAxis="3" />
            <animationNode node="roll02" rotSpeed="-60" rotAxis="3" />
        </animationNodes>
        <sounds>
           <active template="debrisCrusherWork" pitchScale="1.3" volumeScale="1.3" innerRadius="2" outerRadius="15"/>
        </sounds>
        

        <palletSpawner>
            <spawnPlaces>
                <spawnPlace startNode="palletAreaStart01" endNode="palletAreaEnd01" fillTypes="CEMENT"/>
				<spawnPlace startNode="palletAreaStart01a" endNode="palletAreaEnd01a" fillTypes="CEMENT"/>
				<spawnPlace startNode="palletAreaStart01b" endNode="palletAreaEnd01b" fillTypes="CEMENT"/>
				
				<spawnPlace startNode="palletAreaStart02" endNode="palletAreaEnd02" fillTypes="CEMENTBRICKS"/>
				<spawnPlace startNode="palletAreaStart02a" endNode="palletAreaEnd02a" fillTypes="CEMENTBRICKS"/>
				<spawnPlace startNode="palletAreaStart02b" endNode="palletAreaEnd02b" fillTypes="CEMENTBRICKS"/>
				
				<spawnPlace startNode="palletAreaStart03" endNode="palletAreaEnd03" fillTypes="ROOFPLATES"/>
				<spawnPlace startNode="palletAreaStart03a" endNode="palletAreaEnd03a" fillTypes="ROOFPLATES"/>
				<spawnPlace startNode="palletAreaStart03b" endNode="palletAreaEnd03b" fillTypes="ROOFPLATES"/>
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />
        <sounds>
            <idle   template="grainMillIdle" linkNode="0>" pitchScale="1.2"/>
            <active template="grainMillWork" linkNode="0>" pitchScale="1.2"/>
        </sounds>
    </productionPoint>

    <i3dMappings>
		<i3dMapping id="clearAreas" node="0>0"/>
		<i3dMapping id="clearAreaStart01" node="0>0|0"/>
		<i3dMapping id="clearAreaWidth01" node="0>0|0|0"/>
		<i3dMapping id="clearAreaHeight01" node="0>0|0|1"/>
		<i3dMapping id="levelAreas" node="0>1"/>
		<i3dMapping id="levelAreaStart01" node="0>1|0"/>
		<i3dMapping id="levelAreaWidth01" node="0>1|0|0"/>
		<i3dMapping id="levelAreaHeight01" node="0>1|0|1"/>
		<i3dMapping id="paintAreas" node="0>2"/>
		<i3dMapping id="paintAreaStart01" node="0>2|0"/>
		<i3dMapping id="paintAreaWidth01" node="0>2|0|0"/>
		<i3dMapping id="paintAreaHeight01" node="0>2|0|1"/>
		<i3dMapping id="indoorAreas" node="0>3"/>
		<i3dMapping id="indoorAreaStart01" node="0>3|0"/>
		<i3dMapping id="indoorAreaWidth01" node="0>3|0|0"/>
		<i3dMapping id="indoorAreaHeight01" node="0>3|0|1"/>
		<i3dMapping id="testAreas" node="0>4"/>
		<i3dMapping id="testAreaStart01" node="0>4|0"/>
		<i3dMapping id="testAreaEnd01" node="0>4|0|0"/>
		<i3dMapping id="tipOcclusionUpdateAreas" node="0>5"/>
		<i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>5|0"/>
		<i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>5|0|0"/>
		<i3dMapping id="lights" node="0>6"/>
		<i3dMapping id="realLights" node="0>6|0"/>
		<i3dMapping id="realLightsLow" node="0>6|0|0"/>
		<i3dMapping id="pointLightLow01" node="0>6|0|0|0"/>
		<i3dMapping id="pointLightLow02" node="0>6|0|0|1"/>
		<i3dMapping id="realLightsHigh" node="0>6|0|1"/>
		<i3dMapping id="spotLightHigh01" node="0>6|0|1|0"/>
		<i3dMapping id="spotLightHigh02" node="0>6|0|1|1"/>
		<i3dMapping id="linkedLights" node="0>6|1"/>
		<i3dMapping id="lightNode01" node="0>6|1|0"/>
		<i3dMapping id="lightNode02" node="0>6|1|1"/>
		<i3dMapping id="lightSwitch01" node="0>6|2"/>
		<i3dMapping id="lightSwitch02" node="0>6|3"/>
		<i3dMapping id="triggerLight" node="0>6|4"/>
		<i3dMapping id="doors" node="0>7"/>
		<i3dMapping id="door01" node="0>7|0|0"/>
		<i3dMapping id="triggerDoor" node="0>7|1"/>
		<i3dMapping id="slideGate01" node="0>7|2"/>
		<i3dMapping id="slideDoorLeft" node="0>7|2|0"/>
		<i3dMapping id="col" node="0>7|2|0|0"/>
		<i3dMapping id="slideDoorRight" node="0>7|2|1"/>
		<i3dMapping id="col_duplicateName_01" node="0>7|2|1|0"/>
		<i3dMapping id="triggerSlideDoor" node="0>7|3"/>
		<i3dMapping id="playerTrigger" node="0>10|0"/>
		<i3dMapping id="playerTriggerMarker" node="0>10|1"/>
		<i3dMapping id="palletSpawner" node="0>10|2"/>
		<i3dMapping id="cementBags" node="0>10|2|0"/>
		<i3dMapping id="warningStripesCementBags" node="0>10|2|0|0"/>
		<i3dMapping id="warningStripes01" node="0>10|2|0|0|0"/>
		<i3dMapping id="palletSpawnercementBags" node="0>10|2|0|1"/>
		<i3dMapping id="palletAreaStart01" node="0>10|2|0|1|0"/>
		<i3dMapping id="palletAreaEnd01" node="0>10|2|0|1|0|0"/>
		<i3dMapping id="palletAreaStart01a" node="0>10|2|0|1|1"/>
		<i3dMapping id="palletAreaEnd01a" node="0>10|2|0|1|1|0"/>
		<i3dMapping id="palletAreaStart01b" node="0>10|2|0|1|2"/>
		<i3dMapping id="palletAreaEnd01b" node="0>10|2|0|1|2|0"/>
		<i3dMapping id="cementBrick" node="0>10|2|1"/>
		<i3dMapping id="warningStripesCementBrick" node="0>10|2|1|0"/>
		<i3dMapping id="warningStripes02" node="0>10|2|1|0|0"/>
		<i3dMapping id="palletSpawnerCementBrick" node="0>10|2|1|1"/>
		<i3dMapping id="palletAreaStart02" node="0>10|2|1|1|0"/>
		<i3dMapping id="palletAreaEnd02" node="0>10|2|1|1|0|0"/>
		<i3dMapping id="palletAreaStart02a" node="0>10|2|1|1|1"/>
		<i3dMapping id="palletAreaEnd02a" node="0>10|2|1|1|1|0"/>
		<i3dMapping id="palletAreaStart02b" node="0>10|2|1|1|2"/>
		<i3dMapping id="palletAreaEnd02b" node="0>10|2|1|1|2|0"/>
		<i3dMapping id="warningStripesRoofPlates" node="0>10|2|2|0"/>
		<i3dMapping id="warningStripes03" node="0>10|2|2|0|0"/>
		<i3dMapping id="palletSpawnerRoofPlates" node="0>10|2|2|1"/>
		<i3dMapping id="palletAreaStart03" node="0>10|2|2|1|0"/>
		<i3dMapping id="palletAreaEnd03" node="0>10|2|2|1|0|0"/>
		<i3dMapping id="palletAreaStart03a" node="0>10|2|2|1|1"/>
		<i3dMapping id="palletAreaEnd03a" node="0>10|2|2|1|1|0"/>
		<i3dMapping id="palletAreaStart03b" node="0>10|2|2|1|2"/>
		<i3dMapping id="palletAreaEnd03b" node="0>10|2|2|1|2|0"/>
		<i3dMapping id="unloadTrigger" node="0>11|0|0"/>
		<i3dMapping id="unloadTriggerMarker" node="0>11|0|1"/>
		<i3dMapping id="unloadTriggerAINode" node="0>11|0|2"/>
		<i3dMapping id="palletTrigger" node="0>11|0|4"/>
		<i3dMapping id="warningStripesSell" node="0>11|1|0"/>
		<i3dMapping id="infoTrigger" node="0>12"/>
		<i3dMapping id="roll01" node="0>8|0|1|7|0|0|0"/>
		<i3dMapping id="roll02" node="0>8|0|1|7|0|0|1"/>
		<i3dMapping id="sellingStationProducts" node="0>11"/>
		<i3dMapping id="baleTrigger" node="0>11|0|3"/>
	</i3dMappings>
</placeable>

