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()); } }
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)); } }
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)); } }
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)); } }
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)); } }
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)); } }
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 _)); } }
internal static string LongAdjectiveDescription(IEpidermis epidermis, bool singularFormat) { return(fullStr(epidermis, singularFormat, true, out bool _)); }
internal static string AdjectiveDescriptionWithoutType(IEpidermis epidermis, bool singularFormat) { //identical, afaik. return(DescriptionWithoutType(epidermis, singularFormat)); }
internal static string AdjectiveWithTexture(IEpidermis epidermis, bool singularFormat) { return(TexturedStr(epidermis, singularFormat, true, out bool _)); }
internal static string LongDescription(IEpidermis epidermis, out bool isPlural) { return(fullStr(epidermis, false, false, out isPlural)); }
internal static string DescriptionWithTexture(IEpidermis epidermis, out bool isPlural) { return(TexturedStr(epidermis, false, false, out isPlural)); }