Make the debug luteal action actually set to luteal

This commit is contained in:
lutepickle 2022-04-06 08:45:18 -07:00
parent 477468f8e4
commit 1511c40001
2 changed files with 2 additions and 8 deletions

Binary file not shown.

View file

@ -1,10 +1,4 @@
using System; using Verse;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using RimWorld;
#pragma warning disable IDE0051 // Remove unused private members #pragma warning disable IDE0051 // Remove unused private members
namespace RJW_Menstruation namespace RJW_Menstruation
@ -26,7 +20,7 @@ namespace RJW_Menstruation
[DebugAction("RJW Menstruation", "Set pawn's state to luteal", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] [DebugAction("RJW Menstruation", "Set pawn's state to luteal", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)]
private static void SetLuteal(Pawn p) private static void SetLuteal(Pawn p)
{ {
p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Ovulatory; p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Luteal;
} }
[DebugAction("RJW Menstruation", "Set pawn's state to bleeding", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] [DebugAction("RJW Menstruation", "Set pawn's state to bleeding", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)]