16 lines
316 B
C#
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);
|
|
}
|
|
}
|
|
} |