mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Use virginity trait label instead of a separate string
This commit is contained in:
parent
b38a4b1ec3
commit
1b92640028
3 changed files with 2 additions and 4 deletions
|
@ -137,7 +137,6 @@
|
|||
<!-- Misc -->
|
||||
<Lust>lust</Lust>
|
||||
<Unknown>unknown</Unknown>
|
||||
<Virgin>virgin</Virgin>
|
||||
<Incest>incest</Incest>
|
||||
|
||||
<!-- Order mode -->
|
||||
|
|
|
@ -41,7 +41,6 @@ namespace RJWSexperience
|
|||
public static readonly string RS_BeenRaped = "RS_BeenRaped".Translate();
|
||||
public static readonly string RS_RapedSomeone = "RS_RapedSomeone".Translate();
|
||||
public static readonly string RS_PreferRace = "RS_PreferRace".Translate();
|
||||
public static readonly string Virgin = "Virgin".Translate();
|
||||
public static readonly string Lust = "Lust".Translate();
|
||||
public static readonly string Unknown = "Unknown".Translate();
|
||||
public static readonly string Incest = "Incest".Translate();
|
||||
|
|
|
@ -370,13 +370,13 @@ namespace RJWSexperience.SexHistory.UI
|
|||
listmain.Gap(20f);
|
||||
float p;
|
||||
|
||||
if (pawn.IsVirgin())
|
||||
if (pawn.story?.traits?.HasTrait(VariousDefOf.Virgin) == true)
|
||||
{
|
||||
tmp = listmain.GetRect(FONTHEIGHT);
|
||||
GUI.color = Color.red;
|
||||
GUI.Box(tmp, "", boxstyle);
|
||||
GUI.color = Color.white;
|
||||
GUI.Label(tmp, Keyed.Virgin, fontstylecenter);
|
||||
GUI.Label(tmp, pawn.story.traits.GetTrait(VariousDefOf.Virgin).Label, fontstylecenter);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue