mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
further miscellaneous improvements
This commit is contained in:
parent
eb7fe3bfae
commit
c8b96b4b5c
8 changed files with 15 additions and 13 deletions
|
@ -50,15 +50,15 @@ namespace RJW_Events
|
|||
|
||||
public override float VoluntaryJoinPriorityFor(Pawn p)
|
||||
{
|
||||
if (!CasualSex_Helper.CanHaveSex(p) || p.Map.mapPawns.FreeColonists.Exists((Pawn p1) =>
|
||||
{
|
||||
|
||||
return p.relations.SecondaryRomanceChanceFactor(p1) > 0 || p1.relations.SecondaryRomanceChanceFactor(p) > 0;
|
||||
|
||||
})) return 0;
|
||||
if (!CasualSex_Helper.CanHaveSex(p)) return 0;
|
||||
|
||||
return base.VoluntaryJoinPriorityFor(p);
|
||||
}
|
||||
|
||||
public bool IsGatheringAboutToEnd()
|
||||
{
|
||||
return timeoutTrigger.TicksLeft < 300;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue