From 8fe451aab8c004dd08c3094624adfef191a8d0a1 Mon Sep 17 00:00:00 2001 From: raeleus Date: Mon, 4 Aug 2025 22:24:32 -0700 Subject: [PATCH] Fixed configuration of Auto-Cards. --- Library.js | 4 ++-- story-cards.json | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Library.js b/Library.js index 8d9db4a..21f6d9f 100644 --- a/Library.js +++ b/Library.js @@ -4733,7 +4733,7 @@ function AutoCards(inHook, inText, inStop) { // Pending Auto-Cards message(s) pending: (function() { if (DEFAULT_DO_AC !== false) { - const startupMessage = "Auto-Cards is Disabled! You may now edit the \"Configure Auto-Cards\" story card to enable it"; + const startupMessage = "Enabled! You may now edit the \"Configure Auto-Cards\" story card"; logEvent(startupMessage); return [startupMessage]; } else { @@ -7522,7 +7522,7 @@ function AutoCards(inHook, inText, inStop) { function getConfigureCardEntry() { return prose( "> Auto-Cards automatically creates and updates plot-relevant story cards while you play. You may configure the following settings by replacing \"false\" with \"true\" (and vice versa) or by adjusting numbers for the appropriate settings.", - "> Disable Auto-Cards: true", + "> Disable Auto-Cards: false", "> Show detailed guide: false", "> Delete all automatic story cards: false", "> Reset all config settings and prompts: false", diff --git a/story-cards.json b/story-cards.json index ac73f18..9daedeb 100644 --- a/story-cards.json +++ b/story-cards.json @@ -7790,5 +7790,13 @@ "title": "Stragedy Witch Card", "description": "", "useForCharacterCreation": false + }, + { + "keys": "Edit the entry above to adjust your story card automation settings", + "value": "> Auto-Cards automatically creates and updates plot-relevant story cards while you play. You may configure the following settings by replacing \"false\" with \"true\" (and vice versa) or by adjusting numbers for the appropriate settings.\n> Disable Auto-Cards: true\n> Show detailed guide: false\n> Delete all automatic story cards: false\n> Reset all config settings and prompts: false\n> Pin this config card near the top: true\n> Minimum turns cooldown for new cards: 22\n> New cards use a bulleted list format: true\n> Maximum entry length for new cards: 750\n> New cards perform memory updates: true\n> Card memory bank preferred length: 2750\n> Memory summary compression ratio: 25\n> Exclude all-caps from title detection: true\n> Also detect titles from player inputs: false\n> Minimum turns age for title detection: 5\n> Use Live Script Interface v2: false\n> Log debug data in a separate card: false", + "type": "class", + "title": "Configure \nAuto-Cards", + "description": "> Please visit my AI Dungeon profile @LewdLeah and read my bio for simple instructions on adding Auto-Cards to your scenarios! ā¤ļø\n\nhttps://play.aidungeon.com/profile/LewdLeah\n\n> Auto-Cards v1.0.0 is an open-source script for AI Dungeon made by LewdLeah. You have my full permission to use Auto-Cards within your personal or published scenarios!\n> You're also welcome to edit the AI prompts and title exclusions provided below. I sincerely hope you enjoy your adventures! 🄰\n——————————————————————————\n> AI prompt to generate new cards:\n-----\n\n\n# Stop the story and ignore previous instructions. Write a brief and coherent informational entry for %{title} following these instructions:\n- Write only third-person pure prose information about %{title} using complete sentences with correct punctuation\n- Avoid short-term temporary details or appearances, instead focus on plot-significant information\n- Prioritize story-relevant details about %{title} first to ensure seamless integration with the previous plot\n- Create new information based on the context and story direction\n- Mention %{title} in every sentence\n- Use semicolons if needed\n- Add additional details about %{title} beneath incomplete entries\n- Be concise and grounded\n- Imitate the story's writing style and infer the reader's preferences\n\nContinue the entry for %{title} below while avoiding repetition:\n%{entry}\n——————————————————————————\n> AI prompt to summarize card memories:\n-----\n\n\n# Stop the story and ignore previous instructions. Summarize and condense the given paragraph into a narrow and focused memory passage while following these guidelines:\n- Ensure the passage retains the core meaning and most essential details\n- Use the third-person perspective\n- Prioritize information-density, accuracy, and completeness\n- Remain brief and concise\n- Write firmly in the past tense\n- The paragraph below pertains to old events from far earlier in the story\n- Integrate %{title} naturally within the memory; however, only write about the events as they occurred\n- Only reference information present inside the paragraph itself, be specific\n\nWrite a summarized old memory passage for %{title} based only on the following paragraph:\n\"\"\"\n%{memory}\n\"\"\"\nSummarize below:\n——————————————————————————\n> Titles banned from new card creation:\nNorth, East, South, West, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, January, February, March, April, May, June, July, August, September, October, November, December", + "useForCharacterCreation": false } ] \ No newline at end of file