Ejemplo n.º 1
0
 internal static string DescriptionWithoutType(IEpidermis epidermis, bool singularFormat)
 {
     if (epidermis.epidermisType == EpidermisType.EMPTY)
     {
         return("");
     }
     else if (epidermis.epidermisType.usesTone)
     {
         return(epidermis.skinTexture.AsString(singularFormat) + epidermis.tone.AsString());
     }
     else
     {
         return(epidermis.furTexture.AsString(singularFormat) + epidermis.furColor.AsString());
     }
 }
Ejemplo n.º 2
0
 internal static string JustColor(IEpidermis epidermis, bool singularFormat = false)
 {
     if (epidermis.epidermisType == EpidermisType.EMPTY)
     {
         return("");
     }
     else if (epidermis.epidermisType.usesTone)
     {
         return(epidermis.tone.AsString(singularFormat));
     }
     else
     {
         return(epidermis.furColor.AsString(singularFormat));
     }
 }
Ejemplo n.º 3
0
 internal static string JustTexture(IEpidermis epidermis, bool singularFormat = false)
 {
     if (epidermis.epidermisType == EpidermisType.EMPTY)
     {
         return("");
     }
     else if (epidermis.epidermisType.usesTone)
     {
         return(epidermis.skinTexture.AsString(singularFormat));
     }
     else
     {
         return(epidermis.furTexture.AsString(singularFormat));
     }
 }
Ejemplo n.º 4
0
        private static string ColoredStr(IEpidermis epidermis, bool singularFormat, bool adjectiveDesc, out bool isPlural)
        {
            string preDesc = adjectiveDesc ? ", " : " ";

            if (epidermis.epidermisType == EpidermisType.EMPTY)
            {
                isPlural = false;
                return("");
            }
            else if (epidermis.epidermisType.usesFurColor)
            {
                return(epidermis.furColor.AsString(singularFormat) + preDesc + epidermis.epidermisType.ShortDescription(out isPlural));
            }
            else
            {
                return(epidermis.tone.AsString(singularFormat) + preDesc + epidermis.epidermisType.ShortDescription(out isPlural));
            }
        }
Ejemplo n.º 5
0
        private static string TexturedStr(IEpidermis epidermis, bool singularFormat, bool adjectiveDesc, out bool isPlural)
        {
            string preDesc = adjectiveDesc ? ", " : " ";

            if (epidermis.epidermisType == EpidermisType.EMPTY)
            {
                isPlural = false;
                return("");
            }
            else if (epidermis.epidermisType.usesFurColor)
            {
                string adj = epidermis.furTexture.AsString(singularFormat);
                return(adj + (string.IsNullOrWhiteSpace(adj) ? "" : preDesc) + epidermis.epidermisType.ShortDescription(out isPlural));
            }
            else
            {
                string adj = epidermis.skinTexture.AsString(singularFormat);
                return(adj + (string.IsNullOrWhiteSpace(adj) ? "" : preDesc) + epidermis.epidermisType.ShortDescription(out isPlural));
            }
        }
Ejemplo n.º 6
0
 internal static string AdjectiveWith(IEpidermis epidermis, bool noTexture = false, bool noColor = false, bool singularFormat = false)
 {
     if (epidermis.epidermisType == EpidermisType.EMPTY)
     {
         return("");
     }
     else if (noTexture && noColor)
     {
         return(epidermis.epidermisType.AdjectiveDescription(singularFormat));
     }
     else if (noTexture)
     {
         return(AdjectiveWithColor(epidermis, singularFormat));
     }
     else if (noColor)
     {
         return(AdjectiveWithTexture(epidermis, singularFormat));
     }
     else
     {
         return(LongAdjectiveDescription(epidermis, singularFormat));
     }
 }
Ejemplo n.º 7
0
 internal static string DescriptionWith(IEpidermis epidermis, bool noTexture = false, bool noColor = false)
 {
     if (epidermis.epidermisType == EpidermisType.EMPTY)
     {
         return("");
     }
     else if (noTexture && noColor)
     {
         return(epidermis.epidermisType.ShortDescription());
     }
     else if (noTexture)
     {
         return(DescriptionWithColor(epidermis, out bool _));
     }
     else if (noColor)
     {
         return(DescriptionWithTexture(epidermis, out bool _));
     }
     else
     {
         return(LongDescription(epidermis, out bool _));
     }
 }
Ejemplo n.º 8
0
 internal static string LongAdjectiveDescription(IEpidermis epidermis, bool singularFormat)
 {
     return(fullStr(epidermis, singularFormat, true, out bool _));
 }
Ejemplo n.º 9
0
 internal static string AdjectiveDescriptionWithoutType(IEpidermis epidermis, bool singularFormat)
 {
     //identical, afaik.
     return(DescriptionWithoutType(epidermis, singularFormat));
 }
Ejemplo n.º 10
0
 internal static string AdjectiveWithTexture(IEpidermis epidermis, bool singularFormat)
 {
     return(TexturedStr(epidermis, singularFormat, true, out bool _));
 }
Ejemplo n.º 11
0
 internal static string LongDescription(IEpidermis epidermis, out bool isPlural)
 {
     return(fullStr(epidermis, false, false, out isPlural));
 }
Ejemplo n.º 12
0
 internal static string DescriptionWithTexture(IEpidermis epidermis, out bool isPlural)
 {
     return(TexturedStr(epidermis, false, false, out isPlural));
 }