mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2026-06-18 11:26:06 +00:00
Compare commits
2 commits
21c48dfa60
...
47183d4006
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47183d4006 | ||
|
|
8ff3771a0e |
2 changed files with 4 additions and 4 deletions
|
|
@ -400,7 +400,7 @@ namespace RJW_Menstruation
|
||||||
GUI.DrawTexture(genitalIconRect, vagina, ScaleMode.ScaleToFit);
|
GUI.DrawTexture(genitalIconRect, vagina, ScaleMode.ScaleToFit);
|
||||||
|
|
||||||
GUI.color = Color.white;
|
GUI.color = Color.white;
|
||||||
GUI.Label(genitalVaginaLabelRect, pawn.GetVaginaLabel(), fontstylecenter);
|
GUI.Label(genitalVaginaLabelRect, comp.GetVaginaLabel(), fontstylecenter);
|
||||||
GUI.Label(genitalAnusLabelRect, pawn.GetAnusLabel(), fontstylecenter);
|
GUI.Label(genitalAnusLabelRect, pawn.GetAnusLabel(), fontstylecenter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -325,10 +325,10 @@ namespace RJW_Menstruation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static string GetVaginaLabel(this Pawn pawn)
|
public static string GetVaginaLabel(this HediffComp_Menstruation comp)
|
||||||
{
|
{
|
||||||
Hediff hediff = pawn.health.hediffSet.hediffs.Find(h => VariousDefOf.AllVaginas.Contains(h.def));
|
Hediff hediff = comp.parent;
|
||||||
return hediff.LabelBase.CapitalizeFirst() + "\n(" + hediff.LabelInBrackets + ")" + "\n" + xxx.CountOfSex.LabelCap.CapitalizeFirst() + ": " + pawn.records.GetAsInt(xxx.CountOfSex);
|
return hediff.LabelBase.CapitalizeFirst() + "\n(" + hediff.LabelInBrackets + ")" + "\n" + xxx.CountOfSex.LabelCap.CapitalizeFirst() + ": " + comp.parent.pawn.records.GetAsInt(xxx.CountOfSex);
|
||||||
}
|
}
|
||||||
public static string GetAnusLabel(this Pawn pawn)
|
public static string GetAnusLabel(this Pawn pawn)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue