Example #1
0
            public void FixedUpdate()
            {
                if (!HighLogic.LoadedSceneIsFlight)
                {
                    return;
                }

                MPLog.Writelog("[Maritime Pack] MPEngine submerged portion: " + part.submergedPortion);
                if (part.isActiveAndEnabled && part.submergedPortion < 80.0f)
                {
                    part.deactivate();
                }
            }
Example #2
0
 public override void OnStart(StartState state)
 {
     MPLog.Writelog("[Maritime Pack] MPEngine Found on " + vessel.name);
 }