mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
09157e923d
Fertilin and all subgenes are only active if pawn is old enough to have sex, 13 if rjw teensex is enabled else 18. Added a fertilindraingene which greatly increases fertilin burn, but gives a lot of metabolic efficiency Also moved a few files into subfolders.
14 lines
312 B
C#
14 lines
312 B
C#
using System;
|
|
using Verse;
|
|
using Verse.AI;
|
|
using rjw;
|
|
namespace RJW_Genes
|
|
{
|
|
public class LifeForceMentalStateWorker : MentalStateWorker
|
|
{
|
|
public override bool StateCanOccur(Pawn pawn)
|
|
{
|
|
return base.StateCanOccur(pawn) && (xxx.is_human(pawn) && JobGiver_LifeForce_RandomRape.can_rape(pawn));
|
|
}
|
|
}
|
|
}
|