<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="rlSlaughterhouse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_sausageceh</name>
        <functions>
			<function>$l10n_function_sausageceh</function>
        </functions>
        <image>store/store_sausageceh.dds</image>
        <price>480000</price>
        <dailyUpkeep>500</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>productionPoints</category>
		<brush>
            <type>placeable</type>
            <category>RK</category>
            <tab>Abatedouro</tab>
        </brush>
        <vertexBufferMemoryUsage>1668864</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>220160</indexBufferMemoryUsage>
        <textureMemoryUsage>13041664</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>i3D/sausageceh.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<boughtWithFarmland>true</boughtWithFarmland>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>
        <sounds>
            <place template="medImp"/>
        </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" groundType="asphalt"/>
        </levelAreas>
        <paintAreas>
            <paintArea startNode="paintAreaStart01" widthNode="paintAreaWidth01" heightNode="paintAreaHeight01" groundType="asphalt"/>
        </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>

    <productionPoint>

	  <productions sharedThroughputCapacity="false">

	    <!-- 1) CORTES DE GADO: Premium + Mix -->
	    <production id="beef_split" name="$l10n_fillType_beef_split" cyclesPerHour="2.0" costsPerActiveHour="20" autoOff="true">
	      <inputs>
	        <input fillType="BEEF" amount="100" />
	      </inputs>
	      <outputs>
	        <output fillType="GURMAN" amount="30" />
	        <output fillType="MIX" amount="70" />
	      </outputs>
	    </production>

	    <!-- 2) CORTES DE FRANGO: Linguiça de frango -->
	    <production id="chicken_split" name="$l10n_fillType_chicken_split" cyclesPerHour="2.0" costsPerActiveHour="20" autoOff="true">
	      <inputs>
	        <input fillType="CHICKENMEAT" amount="100" />
	      </inputs>
	      <outputs>
	        <output fillType="CHICKENSAUSAGE" amount="100" />
	      </outputs>
	    </production>

	    <!-- 3) CORTES DE PORCO: Bacon (20%) + Toscana (80%) -->
	    <production id="pig_split" name="$l10n_fillType_pig_split" cyclesPerHour="2.0" costsPerActiveHour="20" autoOff="true">
	      <inputs>
	        <input fillType="PORK" amount="100" />
	      </inputs>
	      <outputs>
	        <output fillType="BACON" amount="20" />
	        <output fillType="TOSCANASAUSAGE" amount="80" />
	      </outputs>
	    </production>

	  </productions>

	  <storage isExtension="false" fillLevelSyncThreshold="5">

	    <!-- Inputs -->
	    <capacity fillType="BEEF"         capacity="40000" />
	    <capacity fillType="PORK"         capacity="40000" />
	    <capacity fillType="CHICKENMEAT"  capacity="40000" />

	    <!-- Outputs -->
	    <capacity fillType="CHICKENSAUSAGE"  capacity="40000" />
	    <capacity fillType="TOSCANASAUSAGE"  capacity="40000" />
	    <capacity fillType="BACON"           capacity="20000" />
	    <capacity fillType="GURMAN"          capacity="20000" />
	    <capacity fillType="MIX"             capacity="40000" />

	  </storage>

	  <sellingStation node="sellingStation" appearsOnStats="true" allowMissions="false" supportsExtension="false" hideFromPricesMenu="true">
	    <palletTrigger triggerNode="palletTrigger" aiNode="unloadTriggerAINode"
	      fillTypes="BEEF PORK CHICKENMEAT"/>
	  </sellingStation>

	  <palletSpawner node="palletSpawner">
	    <spawnPlaces>
	      <spawnPlace startNode="palletAreaStart01" endNode="palletAreaEnd01"/>
	      <spawnPlace startNode="palletAreaStart02" endNode="palletAreaEnd02"/>
	      <spawnPlace startNode="palletAreaStart03" endNode="palletAreaEnd03"/>
	      <spawnPlace startNode="palletAreaStart04" endNode="palletAreaEnd04"/>
	      <spawnPlace startNode="palletAreaStart05" endNode="palletAreaEnd05"/>
	      <spawnPlace startNode="palletAreaStart06" endNode="palletAreaEnd06"/>
	    </spawnPlaces>
	  </palletSpawner>

	  <playerTrigger node="playerTrigger" />

	  <sounds>
	    <idle   file="$data/placeables/brandless/productionPointsGeneric/paperFactory/sounds/paperFactoryIdle.wav" linkNode="0>" loops="0" innerRadius="7" outerRadius="40" supportsReverb="false">
	      <volume indoor="0.4" outdoor="1.8"/>
	    </idle>
	    <active file="$data/placeables/brandless/productionPointsGeneric/paperFactory/sounds/paperFactoryWork.wav" linkNode="0>" loops="0" innerRadius="7" outerRadius="40" supportsReverb="false">
	      <volume indoor="0.4" outdoor="1.8"/>
	    </active>
	  </sounds>

	</productionPoint>


    <hotspots>
		<hotspot type="PRODUCTION_POINT" linkNode="playerTrigger" teleportNode="playerTriggerMarker"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="warningStripes01"/>
        <triggerMarker node="warningStripes02"/>
		<triggerMarker node="warningStripes03"/>
        <triggerMarker node="playerTriggerMarker" adjustToGround="true" filename="$data/shared/assets/marker/markerIconWrench.i3d"/>
        <triggerMarker node="unloadTriggerMarker" adjustToGround="true" filename="$data/shared/assets/marker/markerIconUnload.i3d"/>
    </triggerMarkers>
	
    <i3dMappings>
	    <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="levelAreaStart01" node="0>1|0" />
        <i3dMapping id="levelAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight01" node="0>1|0|1" />
        <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="indoorAreaStart01" node="0>3|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>3|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>3|0|1" />
        <i3dMapping id="testAreaStart01" node="0>4|0" />
        <i3dMapping id="testAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>5|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>5|0|0" />
		
		<i3dMapping id="sellingStation" node="0>8" />
		
        <i3dMapping id="exactFillRootNode" node="0>8|0" />
		<i3dMapping id="unloadTriggerAINode" node="0>8|3" /> 
		<i3dMapping id="palletTrigger" node="0>8|1" />
		
		<i3dMapping id="exactFillRootNodeWater" node="0>8|4" />
		<i3dMapping id="unloadTriggerAINodeWater" node="0>8|6" /> 
		
        <i3dMapping id="unloadTriggerMarker" node="0>8|2" />
		<i3dMapping id="unloadTriggerMarkerWater" node="0>8|5" />
		
        <i3dMapping id="warningStripes01" node="0>9|0" />
        <i3dMapping id="warningStripes02" node="0>9|1" />
		<i3dMapping id="warningStripes03" node="0>9|2" />
		
        <i3dMapping id="playerTrigger" node="0>10|0" />
        <i3dMapping id="playerTriggerMarker" node="0>10|1" />
		
        <i3dMapping id="palletSpawner" node="0>11" />
        <i3dMapping id="palletAreaStart01" node="0>11|0" />
        <i3dMapping id="palletAreaEnd01" node="0>11|0|0" />
        <i3dMapping id="palletAreaStart02" node="0>11|1" />
        <i3dMapping id="palletAreaEnd02" node="0>11|1|0" />
		<i3dMapping id="palletAreaStart03" node="0>11|2" />
        <i3dMapping id="palletAreaEnd03" node="0>11|2|0" />
		<i3dMapping id="palletAreaStart04" node="0>11|3" />
        <i3dMapping id="palletAreaEnd04" node="0>11|3|0" />
		<i3dMapping id="palletAreaStart05" node="0>11|4" />
        <i3dMapping id="palletAreaEnd05" node="0>11|4|0" />
		<i3dMapping id="palletAreaStart06" node="0>11|5" />
        <i3dMapping id="palletAreaEnd06" node="0>11|5|0" />
	</i3dMappings>
</placeable>
