2023-04-17 09:17:07 +00:00
|
|
|
|
namespace RJWSexperience // Change in namespace will lead to save incompatibility
|
2022-04-18 14:51:59 +00:00
|
|
|
|
{
|
|
|
|
|
public class Thought_AteCum : Thought_Recordbased
|
|
|
|
|
{
|
2023-04-17 09:17:07 +00:00
|
|
|
|
protected override void UpdateCurStage()
|
2022-04-18 14:51:59 +00:00
|
|
|
|
{
|
2023-04-17 11:34:35 +00:00
|
|
|
|
if (pawn?.health?.hediffSet?.HasHediff(RsDefOf.Hediff.CumAddiction) ?? false)
|
2022-04-18 14:51:59 +00:00
|
|
|
|
{
|
2023-04-17 09:17:07 +00:00
|
|
|
|
SetForcedStage(def.stages.Count - 1);
|
2022-04-18 14:51:59 +00:00
|
|
|
|
}
|
2023-04-17 09:17:07 +00:00
|
|
|
|
else
|
2022-04-18 14:51:59 +00:00
|
|
|
|
{
|
2023-04-17 09:17:07 +00:00
|
|
|
|
base.UpdateCurStage();
|
2022-04-18 14:51:59 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|