About this mod
Each morning, and at intervals throughout the day, forces you to stop to do some Anki cards.
This mod is intended to interface with Anki via the add-on AnkiConnect. If you don't use Anki, this mod is probably completely irrelevant for you. If you want to learn more about Anki, this is a good intro to spaced repetition: https://ncase.me/r
- Permissions and credits
- Changelogs
This mod is intended to interface with Anki via the add-on AnkiConnect. If you don't use Anki, this mod is probably completely irrelevant for you. (And if you want to learn more about Anki, Nicky Case wrote a good introduction to spaced repetition flashcard systems here: https://ncase.me/remember/
Prerequisites
SMAPI https://smapi.io/
Anki (which I'm assuming you already have) https://apps.ankiweb.net/
AnkiConnect, which is an add-on for Anki written by someone else. Installation notes here: https://foosoft.net/projects/anki-connect/
How to use:
- Open up Anki, with AnkiConnect installed and running.
- Open up Stardew Valley, with this mod installed.
- Play as normal.
- At the beginning of each day (after saving), a dialogue box will pop up telling you how many cards you have to study before the mod will allow you to continue playing. Alt tab into Anki and do some reviews.
- When you've done enough, alt tab back into Stardew Valley and select the "Card Check" option.
- If you have studied enough Anki cards since the dialogue box first popped up (default 10), the box will go away and you can play as normal.
- Otherwise, the box will pop up again with an updated count. Reach the number of reviews.
- If you'd rather not do the reviews, the "Exit to main menu" option will allow you to end the game. There will be an additional confirmation dialogue box before actually exiting to main menu, because I kept misclicking.
- If you're out of reviews, but want to finish the day in order to save, close Anki - the game should send a request, never get any info back, and allow you to keep playing.
Config options:
Launch the game once with the mod in order to populate the config.json in this mod's folder.
Once populated, you can edit the following fields
"AnkiBreakOnDayStart": boolean, whether or not to pause when the day starts. Default: true
"NumAnkiCardsForDayStart": integer, how many cards to require when the day starts. Default: 15
"AnkiBreakAtIntervals": boolean, whether or not to pause at regular intervals throughout the day. Default: true
"NumAnkiCardsForIntervals": integer, how many cards to require at regular intervals throughout the day. Default: 10
"NumHoursForIntervals": integer, how many hours between the regular intervals throughout the day. For example, on a normal day with the default settings, interval reviews will happen at 9 AM, 12 AM, 3 PM, 6 PM, 9 PM, and 12 PM. Default: 3
"AnkiConnectURL": Advanced option. If you've changed the URL for AnkiConnect, update it here. Default: "http://127.0.0.1:8765"
Known Limitations:
I believe this only counts reviews that have a due date - if it's in a filtered deck that doesn't say "reschedule based on my responses", then AnkiConnect doesn't count it in the number of reviews that it will tell this mod, and will not make the counter go down.
Also, this has only been tested in singleplayer - I believe using this mod in multiplayer will run into issues since dialogue does not automatically pause the clock.
Other Issues and compatibility with other mods:
I don't know of any issues, but I don't really use other mods. If you run into an issue, leave a bug report and I'll try to fix it.
Source Code:
https://github.com/nymvaline/StardewValley-AnkiStudyBreak