mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Add message feedback to the debug actions
This commit is contained in:
parent
41054f979e
commit
7461965174
3 changed files with 12 additions and 2 deletions
Binary file not shown.
|
@ -1,4 +1,5 @@
|
|||
using Verse;
|
||||
using RimWorld;
|
||||
using Verse;
|
||||
|
||||
#pragma warning disable IDE0051 // Remove unused private members
|
||||
namespace RJW_Menstruation
|
||||
|
@ -9,24 +10,28 @@ namespace RJW_Menstruation
|
|||
private static void SetFollicular(Pawn p)
|
||||
{
|
||||
p.GetMenstruationComp().curStage = HediffComp_Menstruation.Stage.Follicular;
|
||||
Messages.Message($"{p} is now follicular", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
|
||||
[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;
|
||||
Messages.Message($"{p} is now ovulatory", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
|
||||
[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.Luteal;
|
||||
Messages.Message($"{p} is now luteal", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
|
||||
[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;
|
||||
Messages.Message($"{p} is now bleeding", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
/*
|
||||
[DebugAction("RJW Menstruation", "Set pawn's state to recovering", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)]
|
||||
|
@ -45,17 +50,20 @@ namespace RJW_Menstruation
|
|||
private static void RemoveCums(Pawn p)
|
||||
{
|
||||
p.GetMenstruationComp().RemoveAllCums();
|
||||
Messages.Message($"All cum removed from {p}'s womb", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
[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++;
|
||||
Messages.Message($"1 egg added to {p}'s next ovulation ({p.GetMenstruationComp().eggstack})", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
|
||||
[DebugAction("RJW Menstruation", "Recalculate pawn's ovary power", false, false, actionType = DebugActionType.ToolMapForPawns, allowedGameStates = AllowedGameStates.Playing)]
|
||||
private static void RecalculateOvaryPower(Pawn p)
|
||||
{
|
||||
p.GetMenstruationComp().ovarypower = p.GetMenstruationComp().GetOvaryPowerByAge(p);
|
||||
Messages.Message($"{p}'s ovarypower recalculated ({p.GetMenstruationComp().ovarypower})", MessageTypeDefOf.NeutralEvent, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
Version 1.0.6.3
|
||||
- Fix pawn generation for races with a single lifestage.
|
||||
- Show womb gizmo for males with vaginas, too.
|
||||
- Show the status button in the health tab for pawns with more than one genital.
|
||||
- The hookup override will now apply for pawns in estrus being considered by others.
|
||||
- Message feedback added to debug actions.
|
||||
- Show the status button in the health tab for pawns with more than one genital.
|
||||
- Known issue: The status button will be next to the first genital instead of the vagina.
|
||||
|
||||
Version 1.0.6.2
|
||||
- Fix error/crash when a pawn in estrus (with hookup override enabled) looks for partners.
|
||||
|
|
Loading…
Reference in a new issue