public float CurrentInstantBeauty()
 {
     if (!pawn.SpawnedOrAnyParentSpawned)
     {
         return(0.5f);
     }
     return(BeautyUtility.AverageBeautyPerceptible(pawn.PositionHeld, pawn.MapHeld));
 }
        public float CurrentInstantBeauty()
        {
            float result;

            if (!this.pawn.SpawnedOrAnyParentSpawned)
            {
                result = 0.5f;
            }
            else
            {
                result = BeautyUtility.AverageBeautyPerceptible(this.pawn.PositionHeld, this.pawn.MapHeld);
            }
            return(result);
        }