rjw-std/1.3/Source/STD/Thoughts/ThoughtWorker_WastingAway.cs

16 lines
316 B
C#

using RimWorld;
using Verse;
namespace STD
{
public class ThoughtWorker_WastingAway : ThoughtWorker
{
protected override ThoughtState CurrentStateInternal(Pawn p)
{
if (!std_Immunodeficiency.is_wasting_away(p))
return ThoughtState.Inactive;
else
return ThoughtState.ActiveAtStage(0);
}
}
}