mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
ui minor fix
This commit is contained in:
parent
c1dde0d447
commit
24a07fb0bf
5 changed files with 4 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -179,7 +179,7 @@ namespace RJW_Menstruation
|
|||
Rect genitalRect = new Rect(24, pawnRectHeight + 2*fontheight, genitalRectWidth, genitalRectHeight + fontheight*2);
|
||||
Rect genitalIconRect = new Rect(genitalRect.x,genitalRect.y + fontheight ,genitalRectWidth,genitalRectHeight);
|
||||
Rect genitalVaginaLabelRect = new Rect(genitalRect.x,genitalRect.y,genitalRectWidth,fontheight);
|
||||
Rect genitalAnusLabelRect = new Rect(genitalRect.x,genitalRect.y + fontheight +genitalRectHeight ,genitalRectWidth,fontheight);
|
||||
Rect genitalAnusLabelRect = new Rect(genitalRect.x,genitalRect.y +genitalRectHeight ,genitalRectWidth,fontheight);
|
||||
|
||||
vagina = Utility.GetGenitalIcon(pawn);
|
||||
anal = Utility.GetAnalIcon(pawn);
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
</Reference>
|
||||
<Reference Include="Unity.TextMeshPro">
|
||||
<HintPath>..\..\..\..\..\RimWorldWin64_Data\Managed\Unity.TextMeshPro.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
|
||||
|
|
|
@ -208,12 +208,12 @@ namespace RJW_Menstruation
|
|||
public static string GetVaginaLabel(Pawn pawn)
|
||||
{
|
||||
var hediff = Genital_Helper.get_PartsHediffList(pawn, Genital_Helper.get_genitalsBPR(pawn)).Find((Hediff h) => h.def.defName.ToLower().Contains("vagina"));
|
||||
return hediff.LabelBase + "\n" + hediff.LabelInBrackets;
|
||||
return hediff.LabelBase + "\n(" + hediff.LabelInBrackets + ")";
|
||||
}
|
||||
public static string GetAnusLabel(Pawn pawn)
|
||||
{
|
||||
var hediff = Genital_Helper.get_PartsHediffList(pawn, Genital_Helper.get_anusBPR(pawn)).Find((Hediff h) => h.def.defName.ToLower().Contains("anus"));
|
||||
return hediff.Label;
|
||||
return hediff.LabelBase + "\n(" + hediff.LabelInBrackets + ")";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue