public virtual int findEmptySeat(TurretShape turret, ShapeBase player)
 {
     for (int i = 0; i < this["numMountPoints"].AsInt(); i++)
     {
         int node = turret.getMountNodeObject(i);
         if (node == 0)
         {
             return(i);
         }
     }
     return(-1);
 }
 public virtual int switchSeats(TurretShape turret, ShapeBase player)
 {
     for (int i = 0; i < this["numMountPoints"].AsInt(); i++)
     {
         int node = turret.getMountNodeObject(i);
         if (node == player || node != 0)
         {
             continue;
         }
         if (node == 0)
         {
             return(i);
         }
     }
     return(-1);
 }
 public virtual int switchSeats(TurretShape turret, ShapeBase player)
 {
     for (int i = 0; i < this["numMountPoints"].AsInt(); i++)
         {
         int node = turret.getMountNodeObject(i);
         if (node == player || node != 0)
             continue;
         if (node == 0)
             return i;
         }
     return -1;
 }
 public virtual int findEmptySeat(TurretShape turret, ShapeBase player)
 {
     for (int i = 0; i < this["numMountPoints"].AsInt(); i++)
         {
         int node = turret.getMountNodeObject(i);
         if (node == 0)
             return i;
         }
     return -1;
 }