<?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 params="$l10n_shopItem_woodSellingStation|Wood-Mizer LT15">%s (%s)</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>$data/placeables/brandless/productionPointsGeneric/sawmillPlaceable/store_sawmillPlaceable.png</image>
        <price>150000</price>
        <lifetime>10000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <dailyUpkeep>100</dailyUpkeep>
        <species>PLACEABLE</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>

    </storeData>

    <base>
        <filename>$data/placeables/brandless/productionPointsGeneric/sawmillPlaceable/sawmillPlaceable.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <canBeDeleted>false</canBeDeleted>
        <boughtWithFarmland>true</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"/>
        <clearArea startNode="clearAreaStart02" widthNode="clearAreaWidth02" heightNode="clearAreaHeight02"/>
    </clearAreas>

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

        <paintAreas>
             <paintArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
             <paintArea startNode="levelAreaStart02" widthNode="levelAreaWidth02" heightNode="levelAreaHeight02" groundType="asphalt"/>
        </paintAreas>
    </leveling>

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

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

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

    <infoTrigger triggerNode="infoTrigger" />

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="powerSwitch01" filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
    </dynamicallyLoadedParts>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_01" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_02" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_03" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_04" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_05" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="light150_06" groupIndex="1"/>

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

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

    <productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="boards" name="%s (%s)" params="$l10n_fillType_boards|$l10n_fillType_wood" cyclesPerHour="1" costsPerActiveHour="2">
                <inputs>
                    <input fillType="WOOD" amount="208" />
                </inputs>
                <outputs>
                    <output fillType="BOARDS"    amount="205" />
                    <output fillType="WOODCHIPS" amount="60" />
                </outputs>
            </production>

            <production id="planks" name="%s (%s)" params="$l10n_fillType_planks|$l10n_fillType_wood" cyclesPerHour="1" costsPerActiveHour="2">
                <inputs>
                    <input fillType="WOOD" amount="208" />
                </inputs>
                <outputs>
                    <output fillType="PLANKS"    amount="138" />
                    <output fillType="WOODCHIPS" amount="60" />
                </outputs>
            </production>

            <production id="woodBeam" name="%s (%s)" params="$l10n_fillType_woodBeam|$l10n_fillType_wood" cyclesPerHour="1" costsPerActiveHour="2">
                <inputs>
                    <input fillType="WOOD" amount="208" />
                </inputs>
                <outputs>
                    <output fillType="WOODBEAM"  amount="125" />
                    <output fillType="WOODCHIPS" amount="91" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50" >
            <capacity fillType="WOOD"       capacity="50000" />
            <capacity fillType="BOARDS"     capacity="50000" />
            <capacity fillType="PLANKS"     capacity="33000" />
            <capacity fillType="WOODBEAM"   capacity="22000" />
            <capacity fillType="WOODCHIPS"  capacity="90000" />
        </storage>

        <effectNodes>
        </effectNodes>

        <sellingStation node="sellingStation" supportsExtension="false" incomeName="soldWood">
            <woodTrigger fillTypes="WOOD" triggerNode="woodTrigger" activationTriggerNode="woodActivationTrigger"/>
        </sellingStation>

        <loadingStation node="loadingStation" supportsExtension="false">
            <loadTrigger fillTypes="WOODCHIPS" triggerNode="loadTrigger" fillLitersPerSecond="2000" dischargeNode="dischargeNode"/>
        </loadingStation>

        <palletSpawner>
            <spawnPlaces>
                <spawnPlace startNode="spawnSpaceWoodbeamsStart01" endNode="spawnSpaceWoodbeamsEnd01" fillTypes="WOODBEAM"/>
                <spawnPlace startNode="spawnSpaceWoodbeamsStart02" endNode="spawnSpaceWoodbeamsEnd02" fillTypes="WOODBEAM"/>
                <spawnPlace startNode="spawnSpaceWoodbeamsStart03" endNode="spawnSpaceWoodbeamsEnd03" fillTypes="WOODBEAM"/>
                <spawnPlace startNode="spawnSpaceWoodbeamsStart04" endNode="spawnSpaceWoodbeamsEnd04" fillTypes="WOODBEAM"/>

                <spawnPlace startNode="spawnSpacePlanksStart01"    endNode="spawnSpacePlanksEnd01"    fillTypes="PLANKS"/>
                <spawnPlace startNode="spawnSpacePlanksStart02"    endNode="spawnSpacePlanksEnd02"    fillTypes="PLANKS"/>
                <spawnPlace startNode="spawnSpacePlanksStart03"    endNode="spawnSpacePlanksEnd03"    fillTypes="PLANKS"/>
                <spawnPlace startNode="spawnSpacePlanksStart04"    endNode="spawnSpacePlanksEnd04"    fillTypes="PLANKS"/>

                <spawnPlace startNode="spawnSpaceBoardsStart01"    endNode="spawnSpaceBoardsEnd01"    fillTypes="BOARDS"/>
                <spawnPlace startNode="spawnSpaceBoardsStart02"    endNode="spawnSpaceBoardsEnd02"    fillTypes="BOARDS"/>
                <spawnPlace startNode="spawnSpaceBoardsStart03"    endNode="spawnSpaceBoardsEnd03"    fillTypes="BOARDS"/>
                <spawnPlace startNode="spawnSpaceBoardsStart04"    endNode="spawnSpaceBoardsEnd04"    fillTypes="BOARDS"/>
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle file="$data/placeables/brandless/productionPointsGeneric/sawmillPlaceable/sounds/sawIdle.wav"  linkNodeOffset="-2 0 11" loops="0" pitchScale="0.8" innerRadius="5" outerRadius="40">
                <volume indoor="0.15" outdoor="0.6"/>
            </idle>
            <active file="$data/placeables/brandless/productionPointsGeneric/sawmillPlaceable/sounds/sawWork.wav" linkNodeOffset="-2 0 11" loops="0" innerRadius="5" outerRadius="50">
                <volume indoor="0.6" outdoor="1.6"/>
                <lowpassCutoffFrequency indoor="1000" outdoor="20000" />
                <lowpassGain indoor="0.5" outdoor="1" />
            </active>
        </sounds>
    </productionPoint>

    <triggerMarkers>
        <triggerMarker node="woodActivationTriggerMarker" adjustToGround="false" filename="$data/shared/assets/marker/markerIconExclamationMark.i3d" />
        <triggerMarker node="playerTriggerMarker"         adjustToGround="true"  filename="$data/shared/assets/marker/markerIconWrench.i3d" />
        <triggerMarker node="woodTrigger"                 adjustToGround="true"  filename="$data/shared/assets/marker/markerIconUnload.i3d" />
        <triggerMarker node="warningStripes_woodChips"    adjustToGround="true"/>
        <triggerMarker node="warningStripes_palletSpawnAreaWoodbeams" />
        <triggerMarker node="warningStripes_palletSpawnAreaPlanks" />
        <triggerMarker node="warningStripes_palletSpawnAreaBoards" />
        <triggerMarker node="warningStripes_woodTrigger" />
    </triggerMarkers>

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

    <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="clearAreaStart02" node="0>0|1" />
        <i3dMapping id="clearAreaWidth02" node="0>0|1|0" />
        <i3dMapping id="clearAreaHeight02" node="0>0|1|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="levelAreaStart02" node="0>1|1" />
        <i3dMapping id="levelAreaWidth02" node="0>1|1|0" />
        <i3dMapping id="levelAreaHeight02" node="0>1|1|1" />
        <i3dMapping id="indoorAreaStart01" node="0>2|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>2|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart02" node="0>2|1" />
        <i3dMapping id="indoorAreaWidth02" node="0>2|1|0" />
        <i3dMapping id="indoorAreaHeight02" node="0>2|1|1" />
        <i3dMapping id="testAreaStart01" node="0>3|0" />
        <i3dMapping id="testAreaEnd01" node="0>3|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="sellingStation" node="0>5" />
        <i3dMapping id="woodTrigger" node="0>5|0" />
        <i3dMapping id="woodActivationTrigger" node="0>5|1" />
        <i3dMapping id="woodActivationTriggerMarker" node="0>5|1|0" />
        <i3dMapping id="warningStripes_woodTrigger" node="0>5|2" />
        <i3dMapping id="warningStripes_woodChips" node="0>5|3|0" />
        <i3dMapping id="loadTrigger" node="0>5|3|1" />
        <i3dMapping id="dischargeNode" node="0>5|3|2" />
        <i3dMapping id="playerTrigger" node="0>6|0" />
        <i3dMapping id="playerTriggerMarker" node="0>6|0|0" />
        <i3dMapping id="teleportNode" node="0>6|1" />
        <i3dMapping id="palletSpawner" node="0>6|2" />
        <i3dMapping id="prefabWall" node="0>6|2|0" />
        <i3dMapping id="warningStripes_palletSpawnAreaPrefabWall" node="0>6|2|0|0" />
        <i3dMapping id="woodbeams" node="0>6|2|1" />
        <i3dMapping id="spawnSpaceWoodbeamsStart01" node="0>6|2|1|0" />
        <i3dMapping id="spawnSpaceWoodbeamsEnd01" node="0>6|2|1|0|0" />
        <i3dMapping id="spawnSpaceWoodbeamsStart02" node="0>6|2|1|1" />
        <i3dMapping id="spawnSpaceWoodbeamsEnd02" node="0>6|2|1|1|0" />
        <i3dMapping id="spawnSpaceWoodbeamsStart03" node="0>6|2|1|2" />
        <i3dMapping id="spawnSpaceWoodbeamsEnd03" node="0>6|2|1|2|0" />
        <i3dMapping id="spawnSpaceWoodbeamsStart04" node="0>6|2|1|3" />
        <i3dMapping id="spawnSpaceWoodbeamsEnd04" node="0>6|2|1|3|0" />
        <i3dMapping id="warningStripes_palletSpawnAreaWoodbeams" node="0>6|2|1|4" />
        <i3dMapping id="planks" node="0>6|2|2" />
        <i3dMapping id="spawnSpacePlanksStart01" node="0>6|2|2|0" />
        <i3dMapping id="spawnSpacePlanksEnd01" node="0>6|2|2|0|0" />
        <i3dMapping id="spawnSpacePlanksStart02" node="0>6|2|2|1" />
        <i3dMapping id="spawnSpacePlanksEnd02" node="0>6|2|2|1|0" />
        <i3dMapping id="spawnSpacePlanksStart03" node="0>6|2|2|2" />
        <i3dMapping id="spawnSpacePlanksEnd03" node="0>6|2|2|2|0" />
        <i3dMapping id="spawnSpacePlanksStart04" node="0>6|2|2|3" />
        <i3dMapping id="spawnSpacePlanksEnd04" node="0>6|2|2|3|0" />
        <i3dMapping id="warningStripes_palletSpawnAreaPlanks" node="0>6|2|2|4" />
        <i3dMapping id="boards" node="0>6|2|3" />
        <i3dMapping id="spawnSpaceBoardsStart01" node="0>6|2|3|0" />
        <i3dMapping id="spawnSpaceBoardsEnd01" node="0>6|2|3|0|0" />
        <i3dMapping id="spawnSpaceBoardsStart02" node="0>6|2|3|1" />
        <i3dMapping id="spawnSpaceBoardsEnd02" node="0>6|2|3|1|0" />
        <i3dMapping id="spawnSpaceBoardsStart03" node="0>6|2|3|2" />
        <i3dMapping id="spawnSpaceBoardsEnd03" node="0>6|2|3|2|0" />
        <i3dMapping id="spawnSpaceBoardsStart04" node="0>6|2|3|3" />
        <i3dMapping id="spawnSpaceBoardsEnd04" node="0>6|2|3|3|0" />
        <i3dMapping id="warningStripes_palletSpawnAreaBoards" node="0>6|2|3|4" />
        <i3dMapping id="infoTrigger" node="0>6|3" />
        <i3dMapping id="realLightsLow" node="0>7|0|0" />
        <i3dMapping id="realLightsHigh" node="0>7|0|1" />
        <i3dMapping id="light150_01" node="0>7|1|0" />
        <i3dMapping id="light150_02" node="0>7|1|1" />
        <i3dMapping id="light150_03" node="0>7|1|2" />
        <i3dMapping id="light150_04" node="0>7|1|3" />
        <i3dMapping id="light150_05" node="0>7|1|4" />
        <i3dMapping id="light150_06" node="0>7|1|5" />
        <i3dMapping id="powerSwitch01" node="0>7|2|0" />
        <i3dMapping id="lightTrigger" node="0>7|3" />
    </i3dMappings>
</placeable>
