mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Have pheromones apply in caravans
This commit is contained in:
parent
cca7676bc0
commit
9a6efaf37d
3 changed files with 4 additions and 0 deletions
Binary file not shown.
|
@ -1,6 +1,7 @@
|
|||
|
||||
|
||||
using RimWorld;
|
||||
using RimWorld.Planet;
|
||||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
@ -46,6 +47,8 @@ namespace RJW_Menstruation
|
|||
|
||||
protected IEnumerable<Pawn> AffectedPawns()
|
||||
{
|
||||
if(Pawn.GetCaravan() is Caravan caravan)
|
||||
foreach (Pawn p in caravan.PawnsListForReading.Where(p => p != Pawn)) yield return p;
|
||||
Map mapHeld = Pawn.MapHeld;
|
||||
if (mapHeld == null) yield break;
|
||||
foreach (Pawn pawn in mapHeld.mapPawns.AllPawnsSpawned)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Version 1.0.9.4
|
||||
- Added graphics for the menstruation genes with thanks to Alpenglow.
|
||||
- Pawns in estrus now give their pheromones to their caravan-mates.
|
||||
- Pawns with the egglaying genes from Erin's Corvyia and Outland - Genetics no longer have a menstrual cycle.
|
||||
|
||||
Version 1.0.9.3
|
||||
|
|
Loading…
Reference in a new issue