Import Story Cards BLANK
i have realized that the new "add script to any game" feature has another potential use: importing pre-made story cards. to that end, i have made this to act as a base or "blank" card. with this, preset characters can easily by loaded into any game. got a favorite character? outfit this "blank" for them and suddenly - they are importable anywhere. every time context is being generated, it'll check to see if a story card called "Blank" exists. if it doesn't, it creates one. that means you can edit the imported card if you want, and then just rename it to re-generate the original if you need it back. just copy/paste this code and replace "Blank" with your card name. then, just outfit it will all the details you wish to. to showcase this concept, i have made a script to import Cali: https://play.aidungeon.com/script/dKyWYIvbBmqD/sc-cali --- THE CODE --- // --- LIBRARY --- // ── Import SC Blank ───────────────────────────────────────── function importSC_Blank() { const title = `Blank`; const type = `imported`; const contents = `blah blah blah`; const triggers = `blank, custom, new`; const notes = `Thank you for importing this SC!`; const exists = storyCards.some(card => card.title === title); if (!exists) { addStoryCard( triggers, contents, type, title, notes ); } } // ──────────────────────────────────────────────────────────── // --- CONTEXT --- const modifier = (text) => { importSC_Blank(); return { text }; }; modifier(text);
