mirror of
https://gitgud.io/Stardust3D/rjw-plasticsurgeries.git
synced 2024-08-14 23:57:25 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
eceed2dc61
5 changed files with 2 additions and 7 deletions
Binary file not shown.
Binary file not shown.
|
@ -10,13 +10,12 @@ namespace RJW_PlasticSurgeries
|
||||||
{
|
{
|
||||||
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
||||||
{
|
{
|
||||||
if (pawn.gender != Gender.Female) yield break;
|
|
||||||
|
|
||||||
var part = Genital_Helper.get_genitalsBPR(pawn);
|
var part = Genital_Helper.get_genitalsBPR(pawn);
|
||||||
if (part != null)
|
if (part != null)
|
||||||
{
|
{
|
||||||
var hediffs = Genital_Helper.get_PartsHediffList(pawn, part);
|
var hediffs = Genital_Helper.get_PartsHediffList(pawn, part);
|
||||||
if (Genital_Helper.has_breasts(pawn, hediffs)) yield return part;
|
if (Genital_Helper.has_breasts(pawn, hediffs) && pawn.GetBreastList().Any(hed => hed.Severity >= 0.02f))
|
||||||
|
yield return part;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,6 @@ namespace RJW_PlasticSurgeries
|
||||||
{
|
{
|
||||||
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
||||||
{
|
{
|
||||||
if (pawn.gender != Gender.Female) yield break;
|
|
||||||
|
|
||||||
var part = Genital_Helper.get_anusBPR(pawn);
|
var part = Genital_Helper.get_anusBPR(pawn);
|
||||||
if (part != null)
|
if (part != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,8 +12,6 @@ namespace RJW_PlasticSurgeries
|
||||||
{
|
{
|
||||||
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe)
|
||||||
{
|
{
|
||||||
if (pawn.gender != Gender.Female) yield break;
|
|
||||||
|
|
||||||
var part = Genital_Helper.get_genitalsBPR(pawn);
|
var part = Genital_Helper.get_genitalsBPR(pawn);
|
||||||
if (part != null)
|
if (part != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue