mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
Hucow role and balancing
This commit is contained in:
parent
47291f333c
commit
e2d5daf97b
11 changed files with 143 additions and 12 deletions
|
@ -0,0 +1,30 @@
|
|||
using Milk;
|
||||
using RimWorld;
|
||||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
|
||||
namespace CRIALactation
|
||||
{
|
||||
public class RoleRequirement_Lactating : RoleRequirement
|
||||
{
|
||||
|
||||
public override string GetLabel(Precept_Role role)
|
||||
{
|
||||
return "must be lactating";
|
||||
}
|
||||
|
||||
public override bool Met(Pawn p, Precept_Role role)
|
||||
{
|
||||
if(LactationUtility.IsLactating(p))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue