19 lines
399 B
C#
19 lines
399 B
C#
|
using RimWorld;
|
|||
|
using Verse;
|
|||
|
|
|||
|
namespace rjwstd
|
|||
|
{
|
|||
|
public class ThoughtWorker_ItchyCrotch : ThoughtWorker
|
|||
|
{
|
|||
|
protected override ThoughtState CurrentStateInternal(Pawn p)
|
|||
|
{
|
|||
|
int sev = std_Rash.genital_rash_severity(p);
|
|||
|
if (sev <= 0)
|
|||
|
return ThoughtState.Inactive;
|
|||
|
else if (sev == 1)
|
|||
|
return ThoughtState.ActiveAtStage(0);
|
|||
|
else
|
|||
|
return ThoughtState.ActiveAtStage(1);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|