<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="trainSystem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>TrainSystem</name>
        <image>$data/store/store_empty.png</image>
        <price>1</price>
        <canBeSold>false</canBeSold>
        <showInStore>false</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>placeableMisc</category>
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/mapAlpine/trainSystem/trainSystem.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" />

    <clearAreas></clearAreas>

    <leveling></leveling>

    <indoorAreas></indoorAreas>

    <ai>
        <updateAreas></updateAreas>
    </ai>

    <hotspots>
        <hotspot type="TRAIN" linkNode="0>7|1" teleportNode="0>7|1" text="$l10n_hotspot_rentTrain" />
        <hotspot type="TRAIN" linkNode="0>8|1" teleportNode="0>8|1" text="$l10n_hotspot_rentTrain" />
        <hotspot type="TRAIN" linkNode="0>9|1" teleportNode="0>9|1" text="$l10n_hotspot_rentTrain" />
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="0>7|1"  filename="$data/shared/assets/marker/markerIcons.xml" id="EXCLAMATION_MARK" adjustToGround="true" />
        <triggerMarker node="0>8|1"  filename="$data/shared/assets/marker/markerIcons.xml" id="EXCLAMATION_MARK" adjustToGround="true" />
        <triggerMarker node="0>9|1"  filename="$data/shared/assets/marker/markerIcons.xml" id="EXCLAMATION_MARK" adjustToGround="false" />
    </triggerMarkers>

    <trainSystem>
        <rent pricePerHour="1000"/>
        <spline node="0" splineYOffset="0.155" />

        <drivingRange startNode="6|0" endNode="6|1" sellingStationId="sellingStationTrain"/>

        <train>
            <vehicle xmlFilename="$data/vehicles/train/locomotive01/locomotive01.xml" />
            <vehicle xmlFilename="$data/vehicles/train/wagonGrain/wagonGrain.xml" />
            <vehicle xmlFilename="$data/vehicles/train/wagonWoodChips/wagonWoodChips.xml" />
            <vehicle xmlFilename="$data/vehicles/train/wagonTimber/wagonTimber.xml" />
            <vehicle xmlFilename="$data/vehicles/train/wagonSugarbeets/wagonSugarbeets.xml" />
            <vehicle xmlFilename="$data/vehicles/train/wagonVehicles/wagonVehicles.xml" />
        </train>

        <railroadCallers>
            <railroadCaller triggerNode="0>7|0" />
            <railroadCaller triggerNode="0>8|0" />
            <railroadCaller triggerNode="0>9|0" />
        </railroadCallers>

        <railroadCrossings>
            <railroadCrossing rootNode="1">
                <activation startDistance="150" endDistance="150" />
                <gates>
                    <gate node="1|0|0" startRot="0 0 0"     endRot="90 0 0"     duration="3" closingOffset="1.5" />
                    <gate node="1|1|0" startRot="0 0 0"     endRot="90 0 0"     duration="3" closingOffset="1.5"/>
                </gates>
                <trafficBlockers>
                    <blocker node="1|0|1" />
                    <blocker node="1|1|1" />
                </trafficBlockers>
                <signals>
                    <signal node="1|0|2" alternatingLights="true" />
                    <signal node="1|1|2" alternatingLights="true" />
                </signals>
                <sounds>
                    <crossing template="TRAIN_CROSSING_BELL_01" linkNode="1" />
                </sounds>
            </railroadCrossing>

            <railroadCrossing rootNode="2">
                <activation startDistance="150" endDistance="150" />
                <gates>
                    <gate node="2|0|0" startRot="0 0 0"     endRot="90 0 0"     duration="3" closingOffset="1.5" />
                    <gate node="2|1|0" startRot="0 0 0"     endRot="90 0 0"     duration="3" closingOffset="1.5"/>
                </gates>
                <trafficBlockers>
                    <blocker node="2|0|1" />
                    <blocker node="2|1|1" />
                </trafficBlockers>
                <signals>
                    <signal node="2|0|2" alternatingLights="true" />
                    <signal node="2|1|2" alternatingLights="true" />
                </signals>
                <sounds>
                    <crossing template="TRAIN_CROSSING_BELL_01" linkNode="2" />
                </sounds>
            </railroadCrossing>

            <railroadCrossing rootNode="3">
                <activation startDistance="150" endDistance="150" />
                <gates>
                    <gate node="3|0|0" startRot="0 0 0"     endRot="90 0 0"  duration="3" closingOffset="1.5" />
                    <gate node="3|1|0" startRot="0 0 0"     endRot="90 0 0"  duration="3" closingOffset="1.5"/>
                </gates>
                <trafficBlockers>
                    <blocker node="3|0|1" />
                    <blocker node="3|1|1" />
                </trafficBlockers>
                <signals>
                    <signal node="3|0|2" alternatingLights="true" />
                    <signal node="3|1|2" alternatingLights="true" />
                </signals>
                <pedestrianBlockers>
                    <blocker node="3|0|3"/>
                    <blocker node="3|0|4"/>
                    <blocker node="3|1|3"/>
                    <blocker node="3|1|4"/>
                </pedestrianBlockers>
                <sounds>
                    <crossing template="TRAIN_CROSSING_BELL_01" linkNode="3" />
                </sounds>
            </railroadCrossing>

            <railroadCrossing rootNode="4">
                <activation startDistance="150" endDistance="150" />
                <gates>
                    <gate node="4|0|0" startRot="0 0 0"     endRot="90 0 0"  duration="3" closingOffset="1.5" />
                    <gate node="4|1|0" startRot="0 0 0"     endRot="90 0 0"  duration="3" closingOffset="1.5"/>
                </gates>
                <trafficBlockers>
                    <blocker node="4|0|1" />
                    <blocker node="4|1|1" />
                </trafficBlockers>
                <signals>
                    <signal node="4|0|2" alternatingLights="true" />
                    <signal node="4|1|2" alternatingLights="true" />
                </signals>
                <pedestrianBlockers>
                    <blocker node="4|0|3"/>
                    <blocker node="4|0|4"/>
                    <blocker node="4|1|3"/>
                    <blocker node="4|1|4"/>
                </pedestrianBlockers>
                <sounds>
                    <crossing template="TRAIN_CROSSING_BELL_01" linkNode="4" />
                </sounds>
            </railroadCrossing>

            <railroadCrossing rootNode="5">
                <activation startDistance="150" endDistance="150" />
                <gates>
                    <gate node="5|0|0" startRot="0 0 0"       endRot="90 0 0"    duration="3" closingOffset="1.5" />
                    <gate node="5|1|0" startRot="0 0 0"       endRot="90 0 0"    duration="3" closingOffset="1.5"/>
                </gates>
                <trafficBlockers>
                    <blocker node="5|0|1" />
                    <blocker node="5|1|1" />
                </trafficBlockers>
                <signals>
                    <signal node="5|0|2" alternatingLights="true" />
                    <signal node="5|1|2" alternatingLights="true" />
                </signals>
                <pedestrianBlockers>
                    <blocker node="5|1|3"/>
                    <blocker node="5|1|4"/>
                </pedestrianBlockers>
                <sounds>
                    <crossing template="TRAIN_CROSSING_BELL_01" linkNode="5" />
                </sounds>
            </railroadCrossing>
        </railroadCrossings>
    </trainSystem>
</placeable>
