mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
changes to lactation hediffs:
prisoners can be milked pawns spawn lactating by default with hucow precept
This commit is contained in:
parent
f715f352eb
commit
a5d5cc1d44
7 changed files with 38 additions and 54 deletions
|
@ -16,12 +16,12 @@ namespace CRIALactation
|
|||
{
|
||||
public override IEnumerable<Thing> PotentialWorkThingsGlobal(Pawn pawn)
|
||||
{
|
||||
return pawn.Map.mapPawns.SpawnedPawnsInFaction(pawn.Faction);
|
||||
return pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
}
|
||||
|
||||
public override bool ShouldSkip(Pawn pawn, bool forced = false)
|
||||
{
|
||||
List<Pawn> list = pawn.Map.mapPawns.SpawnedPawnsInFaction(pawn.Faction);
|
||||
List<Pawn> list = pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
for(int i = 0; i < list.Count; i++)
|
||||
{
|
||||
if(LactationUtility.isMassageable(list[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue