Update README.md

This commit is contained in:
LewdLeah 2025-05-27 18:02:56 -04:00 committed by GitHub
parent 6bf533b3b5
commit e8661f4b4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,11 +25,9 @@ Auto-Cards is both free and open source for anyone to use within their own scena
```javascript ```javascript
// Your "Input" tab should look like this // Your "Input" tab should look like this
const modifier = (text) => { const modifier = (text) => {
// // Your other input modifier scripts go here (preferred)
// Ideally, your other input code goes above this line
text = AutoCards("input", text); text = AutoCards("input", text);
// Alternatively, you may also put it below this line // Your other input modifier scripts go here (alternative)
//
return {text}; return {text};
}; };
modifier(text); modifier(text);
@ -40,11 +38,9 @@ modifier(text);
```javascript ```javascript
// Your "Context" tab should look like this // Your "Context" tab should look like this
const modifier = (text) => { const modifier = (text) => {
// // Your other context modifier scripts go here (preferred)
// Ideally, your other context code goes above this line
[text, stop] = AutoCards("context", text, stop); [text, stop] = AutoCards("context", text, stop);
// Alternatively, you may also put it below this line // Your other context modifier scripts go here (alternative)
//
return {text, stop}; return {text, stop};
}; };
modifier(text); modifier(text);
@ -55,11 +51,9 @@ modifier(text);
```javascript ```javascript
// Your "Output" tab should look like this // Your "Output" tab should look like this
const modifier = (text) => { const modifier = (text) => {
// // Your other output modifier scripts go here (preferred)
// Ideally, your other output code goes above this line
text = AutoCards("output", text); text = AutoCards("output", text);
// Alternatively, you may also put it below this line // Your other output modifier scripts go here (alternative)
//
return {text}; return {text};
}; };
modifier(text); modifier(text);
@ -71,7 +65,7 @@ modifier(text);
17. Copy my *full* code from the page above and paste it into your scenario's Library script 17. Copy my *full* code from the page above and paste it into your scenario's Library script
18. Click the big yellow "SAVE" button in the top right corner 18. Click the big yellow "SAVE" button in the top right corner
19. And you're done! 19. And you're done!
20. Keep in mind that any adventures played from your scenario will include Auto-Cards (this even applies retroactively) 20. Keep in mind that any adventures played from your scenario will include Auto-Cards (this also applies retroactively)
## Useful Links ## Useful Links
### Simple demo scenario ### Simple demo scenario
- [Auto-Cards](https://play.aidungeon.com/scenario/Ddt0Akd-lVtj/auto-cards) - [Auto-Cards](https://play.aidungeon.com/scenario/Ddt0Akd-lVtj/auto-cards)