A script requested by @ckadioglu. Something like it already existed, but I thought I would make my own take on it.
What it does is display 0 lessons when you have too many items in your system already. By default this is set to a total of 100 apprentice items, but you can change it to be whatever you want, and not just dependent on apprentice items.
Below are the available settings for the script. You have the score, whether and how to display it on the dashboard, whether to display how many more lessons you can do before they lock, and what each type of item is worth. By setting these you can adjust the script to lock lessons whenever you feel is right.
If you set the scores to [2, 1, 1, 0.5, 0.143, 0.0714, 0.0333, 0.00833] the score will reflect the daily number of reviews you are expected to have, given your SRS distribution. (see [Userscript] Expected Daily Reviews)
For now the settings donât update the page dynamically, so you will have to refresh for them to take effect after change.
Thanks! That was really quick and I really appreciate that you took the time.
I donât really know JavaScript, but I was able to modify the script a bit for my purposes so that it shows exactly how many lessons are âunlockedâ out of my available lesson pool as well as display the max number to see how close my current score is to maxing out.
This script works really well with the âLesson Filterâ script. Now after a review session I can see immediately if I have âunlockedâ any lessons and use the Lesson Filter to manually set the lesson session item count to the displayed number.
If I had more time I would work on figuring out a way to have the two scripts communicate so that the âLesson Filterâ batch size is automatically set to the unlocked item count calculated by âLesson Lockâ, to have the fully automated kanji.garden self-pacing experience, but thatâs more of an extreme luxury at this point.
Thank you, Kumi! This will be good for people with no self-control when it comes to lessons (aka me).
Also, because it was you I was hesitant to click the link cause I didnât know if it was a rick roll. Then, I realized there were no other links besides that.
Ooh, maybe you can link this to your âExpected Daily Reviewsâ script as well! Since the amount of Apprentice items is merely an indication of how busy youâll get, but the expected daily reviews is much more accurate
Like for example if you have more than 3000 enlightened items like some people do , then the average amount of englightened items you get a day is an additional 25 items a day.
Added a setting for displaying how many more lessons you can do. However, I decided not to show the amount you actually have available, only the number you can do before lessons lock.
Added this as a setting, as well as a setting for it as a percentage.
Might not be the most graceful of solutions, but I would just have Lesson Lock write the number of lessons you can do to localStorage, then have Lesson Filter read that. Should be pretty simple, I imagine.
Fixed. Now says âEnlighthenedâ
I have updated the OP to include a Rick Roll
Could not settle on a good way to include this as a setting, but I put the values you would need to set the scores to in the OP.
Just one question: The script updates the number of lessons in the top bar, but not in the big pink box. Is it possible to get it to update the number of lessons in both places?