mirror of
https://gitgud.io/Ed86/rjw-std.git
synced 2024-08-08 04:07:51 +00:00
16 lines
319 B
C#
16 lines
319 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace rjwstd
|
|
{
|
|
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);
|
|
}
|
|
}
|
|
} |