Skip to content
Snippets Groups Projects

Small fixes and improvements to cycles

2 unresolved threads

Description and notes

Did some testing and everything seems to be good. There is some strangeness when u turn it on, as the slaves need to sort of sync up, but nothing too weird.

Couple of small fixes and refactors to the fertKnown stuff.

  • Fixes type on patch, this shouldn't cause any backwards comp issues, the change on the patch itself is just to resolve a typing issue.
  • Add a fertKnown helper since this is going to be used everywhere it seems and the logic can be kind of hard to read in the those huge boolean statements.
  • Replaced fertPeak === 2 with isMenstrating.
  • Fixed some issues with the preg bio metric that would still count late period even when they are menstruating.
  • Expanded comment for the experimental options.

This one could use some insight @Pregmodder :

  • Risky Week will now show up when their cycle is known (it was changed to show fertile instead).
  • Unknown will always show Fertile?, before this was Fertile for always unknown, which was kind of confusing?

Also I saw you left a comment on the manual impregnation stuff, I could take a stab at that if u want

Merge Checklist
  • I have read CONTRIBUTING.md
    • and
      • my code editor has
        • ESLint support enabled
        • TypeScript support enabled
        • some form of spell checker
          • We suggest using a spell checker compatible with cSpell if possible
      • my changes compile successfully and seem to work properly
      • I am using the simple compiler (simple-compiler.[bat or sh])
      • I am using the normal compiler (compile.[bat or sh])
      • this is my first merge request
      • the changes in this merge request comply with the coding style defined in CONTRIBUTING.md

Things left to do

  • code review (this is done by one or more people other than you)
  • final tests
  • let Pregmodder know that this is ready for merging
Edited by humungusluver

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
527 527 },
528 528
529 529 // Scenarios
530 scenario: {
530 scenarios: {
  • Here would need to be changed back as well.

  • Author Contributor

    That's correct, your patch had a mistake:

    App.Patch.register({
    	releaseID: 1280,
    	descriptionOfChanges: "Adds controllers for fertKnown and pregKnown as well as the showcase policy",
    	pre: (div) => {
    		V.menstruationKnown = 0;
    		V.pregnancyKnown = 0;
    		V.boughtItem.toys.chastity = 1;
    		V.policies.contraceptivesBan = 0;
    		V.scenarios = {}; <=== HERE
    		V.scenarios.contraceptivesBan = 0;
    	},
    });

    This fixes that error.

  • Author Contributor

    So either the variable needs to be updated or the patch does.

    Issues is scenario vs scenarios

    Edited by humungusluver
  • I do not actually know how to handle that. Yours is safer, but overall it probably needs a new patch to remove the old variable and make sure the correct one is in place.

  • Please register or sign in to reply
  • merged

  • Pregmodder mentioned in commit ccf60b94

    mentioned in commit ccf60b94

  • Alaco mentioned in merge request !12366 (merged)

    mentioned in merge request !12366 (merged)

  • Please register or sign in to reply
    Loading