//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {

   new ScriptObject(MissionInfo) {
         desc = "Follow these pipes to the other side of the world!";
         name = "Plumber\'s Portal";
         artist = "Alex Swanson";
         goldTime = "35000";
         type = "advanced";
         level = "25";
         startHelpText = "Collect the gems then speed to the finish!";
         music = "Beach Party.ogg";
   };
   new MissionArea(MissionArea) {
      area = "-360 -648 720 1296";
      flightCeiling = "300";
      flightCeilingRange = "20";
         locked = "true";
   };
   new Sky(Sky) {
      position = "336 136 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      cloudHeightPer[0] = "0";
      cloudHeightPer[1] = "0";
      cloudHeightPer[2] = "0";
      cloudSpeed1 = "0.0001";
      cloudSpeed2 = "0.0002";
      cloudSpeed3 = "0.0003";
      visibleDistance = "500";
      useSkyTextures = "1";
      renderBottomTexture = "1";
      SkySolidColor = "0.600000 0.600000 0.600000 1.000000";
      fogDistance = "300";
      fogColor = "0.600000 0.600000 0.600000 1.000000";
      fogVolume1 = "-1 2.802597e-45 1.916976e-42";
      fogVolume2 = "-1 2.802597e-45 1.891753e-42";
      fogVolume3 = "-1 2.802597e-45 1.853918e-42";
      materialList = "~/data/skies/sky_day.dml";
      windVelocity = "1 0 0";
      windEffectPrecipitation = "0";
      noRenderBans = "1";
      fogVolumeColor1 = "128.000000 128.000000 128.000000 0.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 0.000000";
   };
   new Sun() {
      direction = "0.5442171 0.6384792 -0.5442171";
      color = "1.400000 1.200000 0.400000 1.000000";
      ambient = "0.300000 0.300000 0.400000 1.000000";
   };
   new InteriorInstance() {
      position = "-0.00428712 -8.39233e-05 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/plumbing.dif";
      showTerrainInside = "0";
   };
   new StaticShape(EndPoint) {
      position = "-18 -46 -9";
      rotation = "0 0 1 180.091";
      scale = "1 1 1";
      dataBlock = "EndPad";
   };
   new StaticShape(StartPoint) {
      position = "-30 -14 4";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "StartPad";
   };
   new Trigger(Bounds) {
      position = "-35 24.4553 -20.1095";
      rotation = "1 0 0 0";
      scale = "50 78.7812 43.9769";
      dataBlock = "InBoundsTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
   };
   new InteriorInstance() {
      position = "-12.5 -2 -14";
      rotation = "0 -1 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipecap.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 6 -6";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 6 -2";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 6 1";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipecap.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 6 -6";
      rotation = "-0.5771969 -0.5771969 -0.5776569 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe3way.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "4 -2 -14";
      rotation = "0 -1 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipecap.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 10 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 2 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 -2 -6";
      rotation = "0 0.7071044 0.7071093 180";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe3way.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 -2 -6";
      rotation = "1 0 0 180";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -2 -6";
      rotation = "-0.5776563 -0.5771973 -0.5771973 119.9739";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -6 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -10 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -14 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -18 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -26 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -22 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -30 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -34 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-18 -36 -6";
      rotation = "-1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipecap.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 14 -6";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-14 18 -6";
      rotation = "-0.5776563 -0.5771973 -0.5771973 119.9739";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 18 -6";
      rotation = "0.5776569 0.5771969 -0.5771969 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-6 18 -6";
      rotation = "0.5776569 0.5771969 -0.5771969 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-2 18 -6";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-2 18 -2";
      rotation = "0 1 0 180";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 18 -2";
      rotation = "-1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 14 -2";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 10 -2";
      rotation = "1 0 0 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 6 -2";
      rotation = "0 0 1 89.99999";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipeturn.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 6 2";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 6 4";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipecap.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 -2 -14";
      rotation = "0 0 1 180";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe3way.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-10 -2 -10";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-6 -2 -14";
      rotation = "0.5776569 0.5771969 -0.5771969 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "-2 -2 -14";
      rotation = "0.5776569 0.5771969 -0.5771969 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2 -2 -14";
      rotation = "0.5776569 0.5771969 -0.5771969 119.974";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new Item() {
      position = "-13.9933 6.02492 -7.53156";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperJumpItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "0.136 -1.99217 -15.3577";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "AntiGravityItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-13.9501 5.96638 -4.7083";
      rotation = "0 1 0 180";
      scale = "1 1 1";
      dataBlock = "AntiGravityItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new InteriorInstance() {
      position = "-10 6 -1";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/addon/pipe.dif";
      showTerrainInside = "0";
   };
   new Item() {
      position = "-5.00175 8.89632 -12.5485";
      rotation = "0 1 0 180.091";
      scale = "1 1 1";
      dataBlock = "GemItemGreen";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-28.1044 -17.9194 -10.556";
      rotation = "0 1 0 180.091";
      scale = "1 1 1";
      dataBlock = "GemItemGreen";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new StaticShape() {
      position = "-17.3626 -46.0238 -2.25735";
      rotation = "0 0 -1 25.78311";
      scale = "1 1 1";
      dataBlock = "SignFinish";
   };
   new Item() {
      position = "-8.21314 18.017 -7.33606";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "AntiGravityItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "2.00655 12.1478 -0.689674";
      rotation = "0 1 0 180";
      scale = "1 1 1";
      dataBlock = "AntiGravityItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "5.96423 -10.0291 4.54487";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItemYellow";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-20.0938 -2.09134 -0.457178";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItemYellow";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "-25.52964 35.27785 27.03251";
         rotation = "0.07986728 -0.3429527 0.9359513 155.4076";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath2";
            useRotation = "1";
            timeToNext = "5000";
      };
      new StaticShape(CameraPath2) {
         position = "-30.3347 22.71248 20.0351";
         rotation = "0.1236133 -0.3483712 0.9291702 143.5052";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath3";
            useRotation = "1";
            timeToNext = "4000";
      };
      new StaticShape(CameraPath3) {
         position = "-32.48411 11.68534 14.75417";
         rotation = "0.1756198 -0.3410076 0.9235105 129.1275";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath4";
            useRotation = "1";
            timeToNext = "0";
      };
      new StaticShape(CameraPath4) {
         position = "-17.91423 -18.46248 -22.20974";
         rotation = "-0.5583038 -0.3637095 -0.7456624 82.28477";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath5";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath5) {
         position = "-10.8893 -15.60885 -27.16503";
         rotation = "-0.7054398 -0.3027583 -0.6408526 67.62012";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath6";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath6) {
         position = "-2.478334 -14.99741 -32.56813";
         rotation = "-0.8868567 -0.2015228 -0.4157809 57.31497";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath7";
            useRotation = "1";
            timeToNext = "0";
      };
      new StaticShape(CameraPath7) {
         position = "-17.8559 -11.78828 -5.541593";
         rotation = "0.9346621 0.01954074 -0.355 6.740801";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath8";
            useRotation = "1";
            timeToNext = "2000";
      };
      new StaticShape(CameraPath8) {
         position = "-18.06651 -5.928496 -6.099928";
         rotation = "0.1847228 -0.02953989 0.9823467 18.49198";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            Spline = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath9";
            useRotation = "1";
            timeToNext = "1800";
      };
      new StaticShape(CameraPath9) {
         position = "-15.8921 -1.685512 -6.297979";
         rotation = "0.08432135 -0.02250119 0.9961845 29.99177";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            Spline = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath10";
            useRotation = "1";
            timeToNext = "2000";
      };
      new StaticShape(CameraPath10) {
         position = "-14.19623 3.180664 -6.475281";
         rotation = "0.1529734 -0.01246388 0.9881518 9.427195";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            Spline = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath11";
            useRotation = "1";
            timeToNext = "2100";
      };
      new StaticShape(CameraPath11) {
         position = "-13.85531 10.56334 -6.507748";
         rotation = "0.9583145 -0.001466999 0.2857118 0.6142098";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath1";
            useRotation = "1";
            timeToNext = "0";
      };
   };
   new Trigger() {
      position = "-14.5151 6.51218 -7.76896";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "HelpTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
         text = "Use the super-jump to hop back out of the drains!";
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Pianoforte (Guitar Remix).ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---
