diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index 7b9a4da..3b7e238 100644 Binary files a/1.3/Assemblies/RJW_Menstruation.dll and b/1.3/Assemblies/RJW_Menstruation.dll differ diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/DebugActions.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/DebugActions.cs new file mode 100644 index 0000000..49a23c7 --- /dev/null +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/DebugActions.cs @@ -0,0 +1,57 @@ +using System; +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 +namespace RJW_Menstruation +{ + public static class DebugToolsMenstruation + { + [DebugAction("RJW Menstruation", "Set pawn's state to follicular", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void SetFollicular(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Follicular; + } + + [DebugAction("RJW Menstruation", "Set pawn's state to ovulatory", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void SetOvulatory(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Ovulatory; + } + + [DebugAction("RJW Menstruation", "Set pawn's state to luteal", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void SetLuteal(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Ovulatory; + } + + [DebugAction("RJW Menstruation", "Set pawn's state to bleeding", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void SetBleeding(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Bleeding; + } + /* + [DebugAction("RJW Menstruation", "Set pawn's state to recovering", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void setRecover(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Recover; + } + + [DebugAction("RJW Menstruation", "Set pawn's state to young", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void setYoung(Pawn p) + { + p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Young; + } + */ + [DebugAction("RJW Menstruation", "Add egg to pawn's next ovulation", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)] + private static void AddEgg(Pawn p) + { + p.GetMenstruationComp().eggstack++; + } + } +} +#pragma warning restore IDE0051 // Remove unused private members \ No newline at end of file diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/RJW_Menstruation.csproj b/1.3/source/RJW_Menstruation/RJW_Menstruation/RJW_Menstruation.csproj index 66b3378..d2d3c4d 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/RJW_Menstruation.csproj +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/RJW_Menstruation.csproj @@ -60,6 +60,7 @@ +